Lines Matching defs:report
74 /* supported DJ HID && RF report types */
520 /* Maximum size of all defined hid reports in bytes (including report id) */
533 /* Number of possible hid report types that can be created by this driver.
535 * Right now, RF report types have the same report types (or report id's)
536 * than the hid report created from those RF reports. In the future
539 * For instance, RF report type 0x01 which has a size of 8 bytes, corresponds
540 * to hid report id 0x01, this is standard keyboard. Same thing applies to mice
541 * reports and consumer control, etc. If a new RF report is created, it doesn't
542 * has to have the same report id as its corresponding hid report, so an
543 * translation may have to take place for future report types.
859 * associated with the device_index or report-type to forward the report to.
1120 "report\n");
1136 dbg_hid("invalid report type:%x\n", dj_report->report_type);
1161 u8 report = data[0];
1164 if (report > REPORT_TYPE_RFREPORT_LAST) {
1165 hid_err(hdev, "Unexpected input report number %d\n", report);
1172 if (dj_dev && (dj_dev->reports_supported & BIT(report))) {
1182 dbg_hid("No dj-devs handling input report number %d\n", report);
1189 struct hid_report *report;
1195 report = output_report_enum->report_id_hash[REPORT_ID_DJ_SHORT];
1197 if (!report) {
1198 hid_err(hdev, "%s: unable to find dj report\n", __func__);
1203 report->field[0]->value[i] = data[i];
1205 hid_hw_request(hdev, report, HID_REQ_SET_REPORT);
1381 /* usbhid overrides the report ID and ignores the first byte */
1458 dbg_hid("%s: sending a multimedia report descriptor: %llx\n",
1464 dbg_hid("%s: sending a power keys report descriptor: %llx\n",
1470 dbg_hid("%s: sending a media center report descriptor: %llx\n",
1476 dbg_hid("%s: need to send kbd leds report descriptor: %llx\n",
1523 struct hid_report *report, u8 *data,
1539 * loss, then we must send a null report to the upper layer to discard
1593 struct hid_report *report, u8 *data,
1670 struct hid_report *report, u8 *data,
1683 * For the keyboard, we can reuse the same report by
1685 * HID report descriptor.
1704 /* Prepend report id */
1717 hid_err(hdev, "Short DJ report bad size (%d)", size);
1720 return logi_dj_dj_event(hdev, report, data, size);
1723 hid_err(hdev, "Long DJ report bad size (%d)", size);
1726 return logi_dj_dj_event(hdev, report, data, size);
1729 hid_err(hdev, "Short HID++ report bad size (%d)", size);
1732 return logi_dj_hidpp_event(hdev, report, data, size);
1735 hid_err(hdev, "Long HID++ report bad size (%d)", size);
1738 return logi_dj_hidpp_event(hdev, report, data, size);