Lines Matching refs:fap
81 struct fap { struct
97 struct fap fap; member
99 u8 rawbytes[sizeof(struct fap)];
221 response->fap.feature_index == HIDPP20_ERROR) { in hidpp_send_message_sync()
222 ret = response->fap.params[1]; in hidpp_send_message_sync()
240 if (param_count > sizeof(message->fap.params)) in hidpp_send_fap_command_sync()
247 message->fap.feature_index = feat_index; in hidpp_send_fap_command_sync()
248 message->fap.funcindex_clientid = funcindex_clientid; in hidpp_send_fap_command_sync()
249 memcpy(&message->fap.params, params, param_count); in hidpp_send_fap_command_sync()
293 return (answer->fap.feature_index == question->fap.feature_index) && in hidpp_match_answer()
294 (answer->fap.funcindex_clientid == question->fap.funcindex_clientid); in hidpp_match_answer()
301 (answer->fap.feature_index == HIDPP20_ERROR)) && in hidpp_match_error()
302 (answer->fap.funcindex_clientid == question->fap.feature_index) && in hidpp_match_error()
303 (answer->fap.params[0] == question->fap.funcindex_clientid); in hidpp_match_error()
409 *feature_index = response.fap.params[0]; in hidpp_root_get_feature()
410 *feature_type = response.fap.params[1]; in hidpp_root_get_feature()
443 hidpp->protocol_major = response.fap.params[0]; in hidpp_root_get_protocol_version()
444 hidpp->protocol_minor = response.fap.params[1]; in hidpp_root_get_protocol_version()
487 *nameLength = response.fap.params[0]; in hidpp_devicenametype_get_count()
520 device_name[i] = response.fap.params[i]; in hidpp_devicenametype_get_device_name()
590 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_fw_items_set()
660 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_get_raw_info()
913 if ((report->fap.feature_index != wd->mt_feature_index) || in wtp_raw_event()
914 (report->fap.funcindex_clientid != EVENT_TOUCHPAD_RAW_XY)) in wtp_raw_event()