Lines Matching refs:fap

70 struct fap {  struct
86 struct fap fap; member
88 u8 rawbytes[sizeof(struct fap)];
210 response->fap.feature_index == HIDPP20_ERROR) { in hidpp_send_message_sync()
211 ret = response->fap.params[1]; in hidpp_send_message_sync()
229 if (param_count > sizeof(message->fap.params)) in hidpp_send_fap_command_sync()
236 message->fap.feature_index = feat_index; in hidpp_send_fap_command_sync()
237 message->fap.funcindex_clientid = funcindex_clientid; in hidpp_send_fap_command_sync()
238 memcpy(&message->fap.params, params, param_count); in hidpp_send_fap_command_sync()
282 return (answer->fap.feature_index == question->fap.feature_index) && in hidpp_match_answer()
283 (answer->fap.funcindex_clientid == question->fap.funcindex_clientid); in hidpp_match_answer()
290 (answer->fap.feature_index == HIDPP20_ERROR)) && in hidpp_match_error()
291 (answer->fap.funcindex_clientid == question->fap.feature_index) && in hidpp_match_error()
292 (answer->fap.params[0] == question->fap.funcindex_clientid); in hidpp_match_error()
398 *feature_index = response.fap.params[0]; in hidpp_root_get_feature()
399 *feature_type = response.fap.params[1]; in hidpp_root_get_feature()
432 hidpp->protocol_major = response.fap.params[0]; in hidpp_root_get_protocol_version()
433 hidpp->protocol_minor = response.fap.params[1]; in hidpp_root_get_protocol_version()
476 *nameLength = response.fap.params[0]; in hidpp_devicenametype_get_count()
509 device_name[i] = response.fap.params[i]; in hidpp_devicenametype_get_device_name()
603 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_get_raw_info()
856 if ((report->fap.feature_index != wd->mt_feature_index) || in wtp_raw_event()
857 (report->fap.funcindex_clientid != EVENT_TOUCHPAD_RAW_XY)) in wtp_raw_event()