Lines Matching defs:report

74 /* supported DJ HID && RF report types */
476 /* Maximum size of all defined hid reports in bytes (including report id) */
488 /* Number of possible hid report types that can be created by this driver.
490 * Right now, RF report types have the same report types (or report id's)
491 * than the hid report created from those RF reports. In the future
494 * For instance, RF report type 0x01 which has a size of 8 bytes, corresponds
495 * to hid report id 0x01, this is standard keyboard. Same thing applies to mice
496 * reports and consumer control, etc. If a new RF report is created, it doesn't
497 * has to have the same report id as its corresponding hid report, so an
498 * translation may have to take place for future report types.
809 * associated with the device_index or report-type to forward the report to.
1052 "report\n");
1068 dbg_hid("invalid report type:%x\n", dj_report->report_type);
1093 u8 report = data[0];
1096 if (report > REPORT_TYPE_RFREPORT_LAST) {
1097 hid_err(hdev, "Unexpected input report number %d\n", report);
1104 if (dj_dev && (dj_dev->reports_supported & BIT(report))) {
1114 dbg_hid("No dj-devs handling input report number %d\n", report);
1121 struct hid_report *report;
1127 report = output_report_enum->report_id_hash[REPORT_ID_DJ_SHORT];
1129 if (!report) {
1130 hid_err(hdev, "%s: unable to find dj report\n", __func__);
1135 report->field[0]->value[i] = data[i];
1137 hid_hw_request(hdev, report, HID_REQ_SET_REPORT);
1315 /* usbhid overrides the report ID and ignores the first byte */
1385 dbg_hid("%s: sending a multimedia report descriptor: %llx\n",
1391 dbg_hid("%s: sending a power keys report descriptor: %llx\n",
1397 dbg_hid("%s: sending a media center report descriptor: %llx\n",
1403 dbg_hid("%s: need to send kbd leds report descriptor: %llx\n",
1442 struct hid_report *report, u8 *data,
1458 * loss, then we must send a null report to the upper layer to discard
1512 struct hid_report *report, u8 *data,
1589 struct hid_report *report, u8 *data,
1602 * For the keyboard, we can reuse the same report by
1604 * HID report descriptor.
1623 /* Prepend report id */
1636 hid_err(hdev, "Short DJ report bad size (%d)", size);
1639 return logi_dj_dj_event(hdev, report, data, size);
1642 hid_err(hdev, "Long DJ report bad size (%d)", size);
1645 return logi_dj_dj_event(hdev, report, data, size);
1648 hid_err(hdev, "Short HID++ report bad size (%d)", size);
1651 return logi_dj_hidpp_event(hdev, report, data, size);
1654 hid_err(hdev, "Long HID++ report bad size (%d)", size);
1657 return logi_dj_hidpp_event(hdev, report, data, size);