Lines Matching refs:response
172 struct hidpp_report *response) in hidpp_send_message_sync() argument
178 hidpp->send_receive_buf = response; in hidpp_send_message_sync()
185 *response = *message; in hidpp_send_message_sync()
191 memset(response, 0, sizeof(struct hidpp_report)); in hidpp_send_message_sync()
198 memset(response, 0, sizeof(struct hidpp_report)); in hidpp_send_message_sync()
202 if (response->report_id == REPORT_ID_HIDPP_SHORT && in hidpp_send_message_sync()
203 response->rap.sub_id == HIDPP_ERROR) { in hidpp_send_message_sync()
204 ret = response->rap.params[1]; in hidpp_send_message_sync()
209 if (response->report_id == REPORT_ID_HIDPP_LONG && in hidpp_send_message_sync()
210 response->fap.feature_index == HIDPP20_ERROR) { in hidpp_send_message_sync()
211 ret = response->fap.params[1]; in hidpp_send_message_sync()
224 struct hidpp_report *response) in hidpp_send_fap_command_sync() argument
240 ret = hidpp_send_message_sync(hidpp, message, response); in hidpp_send_fap_command_sync()
247 struct hidpp_report *response) in hidpp_send_rap_command_sync() argument
267 ret = hidpp_send_message_sync(hidpp_dev, message, response); in hidpp_send_rap_command_sync()
342 struct hidpp_report response; in hidpp_get_unifying_name() local
353 params, 1, &response); in hidpp_get_unifying_name()
357 len = response.rap.params[1]; in hidpp_get_unifying_name()
359 if (2 + len > sizeof(response.rap.params)) in hidpp_get_unifying_name()
366 memcpy(name, &response.rap.params[2], len); in hidpp_get_unifying_name()
387 struct hidpp_report response; in hidpp_root_get_feature() local
394 params, 2, &response); in hidpp_root_get_feature()
398 *feature_index = response.fap.params[0]; in hidpp_root_get_feature()
399 *feature_type = response.fap.params[1]; in hidpp_root_get_feature()
406 struct hidpp_report response; in hidpp_root_get_protocol_version() local
412 NULL, 0, &response); in hidpp_root_get_protocol_version()
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()
462 struct hidpp_report response; in hidpp_devicenametype_get_count() local
466 CMD_GET_DEVICE_NAME_TYPE_GET_COUNT, NULL, 0, &response); in hidpp_devicenametype_get_count()
476 *nameLength = response.fap.params[0]; in hidpp_devicenametype_get_count()
484 struct hidpp_report response; in hidpp_devicenametype_get_device_name() local
490 &response); in hidpp_devicenametype_get_device_name()
500 if (response.report_id == REPORT_ID_HIDPP_LONG) in hidpp_devicenametype_get_device_name()
509 device_name[i] = response.fap.params[i]; in hidpp_devicenametype_get_device_name()
601 struct hidpp_report response; in hidpp_touchpad_get_raw_info() local
603 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_get_raw_info()
606 CMD_TOUCHPAD_GET_RAW_INFO, NULL, 0, &response); in hidpp_touchpad_get_raw_info()
632 struct hidpp_report response; in hidpp_touchpad_set_raw_report_state() local
646 CMD_TOUCHPAD_SET_RAW_REPORT_STATE, ¶ms, 1, &response); in hidpp_touchpad_set_raw_report_state()