Lines Matching refs:report

337 	struct hid_report *report;  in hid_submit_out()  local
342 report = usbhid->out[usbhid->outtail].report; in hid_submit_out()
345 usbhid->urbout->transfer_buffer_length = hid_report_len(report); in hid_submit_out()
367 struct hid_report *report; in hid_submit_ctrl() local
373 report = usbhid->ctrl[usbhid->ctrltail].report; in hid_submit_ctrl()
377 len = hid_report_len(report); in hid_submit_ctrl()
402 usbhid->cr->wValue = cpu_to_le16(((report->type + 1) << 8) | in hid_submit_ctrl()
403 report->id); in hid_submit_ctrl()
484 usbhid->ctrl[usbhid->ctrltail].report->type, in hid_ctrl()
521 static void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report, in __usbhid_submit_report() argument
531 if (usbhid->urbout && dir == USB_DIR_OUT && report->type == HID_OUTPUT_REPORT) { in __usbhid_submit_report()
537 usbhid->out[usbhid->outhead].raw_report = hid_alloc_report_buf(report, GFP_ATOMIC); in __usbhid_submit_report()
542 hid_output_report(report, usbhid->out[usbhid->outhead].raw_report); in __usbhid_submit_report()
543 usbhid->out[usbhid->outhead].report = report; in __usbhid_submit_report()
586 usbhid->ctrl[usbhid->ctrlhead].raw_report = hid_alloc_report_buf(report, GFP_ATOMIC); in __usbhid_submit_report()
591 hid_output_report(report, usbhid->ctrl[usbhid->ctrlhead].raw_report); in __usbhid_submit_report()
593 usbhid->ctrl[usbhid->ctrlhead].report = report; in __usbhid_submit_report()
630 static void usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char d… in usbhid_submit_report() argument
636 __usbhid_submit_report(hid, report, dir); in usbhid_submit_report()
655 static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) in hid_set_idle() argument
658 HID_REQ_SET_IDLE, USB_TYPE_CLASS | USB_RECIP_INTERFACE, (idle << 8) | report, in hid_set_idle()
769 struct hid_report *report; in usbhid_init_reports() local
775 list_for_each_entry(report, &report_enum->report_list, list) in usbhid_init_reports()
776 usbhid_submit_report(hid, report, USB_DIR_IN); in usbhid_init_reports()
779 list_for_each_entry(report, &report_enum->report_list, list) in usbhid_init_reports()
780 usbhid_submit_report(hid, report, USB_DIR_IN); in usbhid_init_reports()
803 struct hid_report *report; in hid_find_field_early() local
808 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hid_find_field_early()
809 for (i = 0; i < report->maxfield; i++) { in hid_find_field_early()
810 field = report->field[i]; in hid_find_field_early()
831 usbhid_submit_report(hid, field->report, USB_DIR_OUT); in usbhid_set_leds()
841 struct hid_report *report; in hid_find_max_report() local
844 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { in hid_find_max_report()
845 size = ((report->size - 1) >> 3) + 1 + hid->report_enum[type].numbered; in hid_find_max_report()
1300 static int usbhid_idle(struct hid_device *hid, int report, int idle, in usbhid_idle() argument
1311 return hid_set_idle(dev, ifnum, report, idle); in usbhid_idle()