Lines Matching defs:message
110 * bluetooth. The message lengths are defined by the hid vendor specific report
111 * descriptor for the HIDPP_SHORT report type (total message lenth 7 bytes) and
112 * the HIDPP_LONG report type (total message length 20 bytes)
120 * The paired device can be RAP or FAP, it will receive the message untouched
278 * Effectively send the message to the device, waiting for its answer.
288 struct hidpp_report *message,
302 *response = *message;
304 ret = __hidpp_send_report(hidpp->hid_dev, message);
344 struct hidpp_report *message,
353 ret = __do_hidpp_send_message_sync(hidpp, message, response);
376 struct hidpp_report *message;
379 if (param_count > sizeof(message->fap.params)) {
383 (unsigned long long) sizeof(message->fap.params));
387 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL);
388 if (!message)
392 message->report_id = REPORT_ID_HIDPP_VERY_LONG;
394 message->report_id = REPORT_ID_HIDPP_LONG;
395 message->fap.feature_index = feat_index;
396 message->fap.funcindex_clientid = funcindex_clientid | LINUX_KERNEL_SW_ID;
397 memcpy(&message->fap.params, params, param_count);
399 ret = hidpp_send_message_sync(hidpp, message, response);
400 kfree(message);
415 struct hidpp_report *message;
440 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL);
441 if (!message)
443 message->report_id = report_id;
444 message->rap.sub_id = sub_id;
445 message->rap.reg_address = reg_address;
446 memcpy(&message->rap.params, params, param_count);
448 ret = hidpp_send_message_sync(hidpp_dev, message, response);
449 kfree(message);