Lines Matching refs:message

182 	struct hidpp_report *message,  in hidpp_send_message_sync()  argument
196 *response = *message; in hidpp_send_message_sync()
198 ret = __hidpp_send_report(hidpp->hid_dev, message); in hidpp_send_message_sync()
237 struct hidpp_report *message; in hidpp_send_fap_command_sync() local
240 if (param_count > sizeof(message->fap.params)) in hidpp_send_fap_command_sync()
243 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL); in hidpp_send_fap_command_sync()
244 if (!message) in hidpp_send_fap_command_sync()
246 message->report_id = REPORT_ID_HIDPP_LONG; 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()
251 ret = hidpp_send_message_sync(hidpp, message, response); in hidpp_send_fap_command_sync()
252 kfree(message); in hidpp_send_fap_command_sync()
260 struct hidpp_report *message; in hidpp_send_rap_command_sync() local
267 if (param_count > sizeof(message->rap.params)) in hidpp_send_rap_command_sync()
270 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL); in hidpp_send_rap_command_sync()
271 if (!message) in hidpp_send_rap_command_sync()
273 message->report_id = report_id; in hidpp_send_rap_command_sync()
274 message->rap.sub_id = sub_id; in hidpp_send_rap_command_sync()
275 message->rap.reg_address = reg_address; in hidpp_send_rap_command_sync()
276 memcpy(&message->rap.params, params, param_count); in hidpp_send_rap_command_sync()
278 ret = hidpp_send_message_sync(hidpp_dev, message, response); in hidpp_send_rap_command_sync()
279 kfree(message); in hidpp_send_rap_command_sync()