Lines Matching refs:report

263 	 * Device will send report data through data register. Because
272 * In addition to report data device will supply data length
279 "failed to set a report to device: %d\n", error);
286 /* Check for empty report response */
295 "device returned incorrect report (%d vs %d expected)\n",
321 * i2c_hid_set_or_send_report: forward an incoming report to the device
324 * @report_id: the report ID
325 * @buf: the actual data to transfer, without the report ID
327 * @do_set: true: use SET_REPORT HID command, false: send plain OUTPUT report
363 * With simple "send report" all data goes into the output
376 "failed to set a report to device: %d\n", error);
532 "%s: incomplete report (%d/%d)\n",
561 static int i2c_hid_get_report_length(struct hid_report *report)
563 return ((report->size - 1) >> 3) + 1 +
564 report->device->report_enum[report->type].numbered + 2;
573 struct hid_report *report;
578 list_for_each_entry(report, &hid->report_enum[type].report_list, list) {
579 size = i2c_hid_get_report_length(report);
600 * reportID > 15 and the maximum report length.
603 sizeof(u8) + /* encoded report type/ID */
605 sizeof(u8) + /* optional 3rd byte report ID */
607 sizeof(__le16) + /* report data size */
608 sizeof(u8) + /* report ID if numbered report */
638 * not have the report ID that the upper layers expect, so we need
672 * are supposed to have report ID stored in the 1st byte of the
725 dbg_hid("weird size of report descriptor (%u)\n", rsize);
747 i2c_hid_dbg(ihid, "Using a HID report descriptor override\n");
753 i2c_hid_dbg(ihid, "asking HID report descriptor\n");
759 hid_err(hid, "reading report descriptor failed\n");
768 dbg_hid("parsing report descriptor failed\n");