Lines Matching defs:message
99 * bluetooth. The message lengths are defined by the hid vendor specific report
100 * descriptor for the HIDPP_SHORT report type (total message lenth 7 bytes) and
101 * the HIDPP_LONG report type (total message length 20 bytes)
109 * The paired device can be RAP or FAP, it will receive the message untouched
263 struct hidpp_report *message,
277 *response = *message;
279 ret = __hidpp_send_report(hidpp->hid_dev, message);
319 struct hidpp_report *message;
322 if (param_count > sizeof(message->fap.params))
325 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL);
326 if (!message)
330 message->report_id = REPORT_ID_HIDPP_VERY_LONG;
332 message->report_id = REPORT_ID_HIDPP_LONG;
333 message->fap.feature_index = feat_index;
334 message->fap.funcindex_clientid = funcindex_clientid;
335 memcpy(&message->fap.params, params, param_count);
337 ret = hidpp_send_message_sync(hidpp, message, response);
338 kfree(message);
346 struct hidpp_report *message;
371 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL);
372 if (!message)
374 message->report_id = report_id;
375 message->rap.sub_id = sub_id;
376 message->rap.reg_address = reg_address;
377 memcpy(&message->rap.params, params, param_count);
379 ret = hidpp_send_message_sync(hidpp_dev, message, response);
380 kfree(message);