Lines Matching refs:fap

120 struct fap {  struct
136 struct fap fap; argument
138 u8 rawbytes[sizeof(struct fap)];
310 response->fap.feature_index == HIDPP20_ERROR) { in hidpp_send_message_sync()
311 ret = response->fap.params[1]; in hidpp_send_message_sync()
329 if (param_count > sizeof(message->fap.params)) in hidpp_send_fap_command_sync()
340 message->fap.feature_index = feat_index; in hidpp_send_fap_command_sync()
341 message->fap.funcindex_clientid = funcindex_clientid; in hidpp_send_fap_command_sync()
342 memcpy(&message->fap.params, params, param_count); in hidpp_send_fap_command_sync()
401 return (answer->fap.feature_index == question->fap.feature_index) && in hidpp_match_answer()
402 (answer->fap.funcindex_clientid == question->fap.funcindex_clientid); in hidpp_match_answer()
409 (answer->fap.feature_index == HIDPP20_ERROR)) && in hidpp_match_error()
410 (answer->fap.funcindex_clientid == question->fap.feature_index) && in hidpp_match_error()
411 (answer->fap.params[0] == question->fap.funcindex_clientid); in hidpp_match_error()
418 (report->fap.feature_index == hidpp->wireless_feature_index)) || in hidpp_report_is_connect_event()
870 if (response.fap.params[0] == 0) in hidpp_root_get_feature()
873 *feature_index = response.fap.params[0]; in hidpp_root_get_feature()
874 *feature_type = response.fap.params[1]; in hidpp_root_get_feature()
952 *nameLength = response.fap.params[0]; in hidpp_devicenametype_get_count()
994 device_name[i] = response.fap.params[i]; in hidpp_devicenametype_get_device_name()
1121 u8 *params = (u8 *)response.fap.params; in hidpp20_batterylevel_get_battery_capacity()
1149 u8 *params = (u8 *)response.fap.params; in hidpp20_batterylevel_get_battery_info()
1218 if (report->fap.feature_index != hidpp->battery.feature_index || in hidpp20_battery_event()
1219 report->fap.funcindex_clientid != EVENT_BATTERY_LEVEL_STATUS_BROADCAST) in hidpp20_battery_event()
1222 status = hidpp20_batterylevel_map_status_capacity(report->fap.params, in hidpp20_battery_event()
1306 u8 *params = (u8 *)response.fap.params; in hidpp20_battery_get_battery_voltage()
1364 if (report->fap.feature_index != hidpp->battery.voltage_feature_index || in hidpp20_battery_voltage_event()
1365 report->fap.funcindex_clientid != EVENT_BATTERY_VOLTAGE_STATUS_BROADCAST) in hidpp20_battery_voltage_event()
1368 status = hidpp20_battery_map_status_voltage(report->fap.params, &voltage, in hidpp20_battery_voltage_event()
1494 *multiplier = response.fap.params[1]; in hidpp_hrs_set_highres_scrolling_mode()
1526 *multiplier = response.fap.params[0]; in hidpp_hrw_get_wheel_capability()
1609 function = report->fap.funcindex_clientid; in hidpp_solar_battery_event()
1612 if (report->fap.feature_index != hidpp->battery.solar_feature_index || in hidpp_solar_battery_event()
1618 capacity = report->fap.params[0]; in hidpp_solar_battery_event()
1622 lux = (report->fap.params[1] << 8) | report->fap.params[2]; in hidpp_solar_battery_event()
1677 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_fw_items_set()
1747 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_get_raw_info()
1969 slot = response.fap.params[0]; in hidpp_ff_work_handler()
2538 if ((report->fap.feature_index != wd->mt_feature_index) || in wtp_raw_event()
2539 (report->fap.funcindex_clientid != EVENT_TOUCHPAD_RAW_XY)) in wtp_raw_event()
2886 data->slot_autocenter = response.fap.params[0]; in g920_ff_set_autocenter()
2919 data->num_effects = response.fap.params[0] - HIDPP_FF_RESERVED_SLOTS; in g920_get_config()
2938 900 : get_unaligned_be16(&response.fap.params[0]); in g920_get_config()
2949 0xffff : get_unaligned_be16(&response.fap.params[0]); in g920_get_config()