Home
last modified time | relevance | path

Searched refs:report_type (Results 1 – 12 of 12) sorted by relevance

/drivers/hid/usbhid/
Dhiddev.c85 if (rinfo->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_report()
86 rinfo->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_report()
90 (rinfo->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_report()
137 if (uref->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_usage()
138 uref->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_usage()
142 (uref->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_usage()
190 unsigned type = field->report_type; in hiddev_hid_event()
193 uref.report_type = in hiddev_hid_event()
213 uref.report_type = in hiddev_report_event()
474 rinfo.report_type = uref->report_type; in hiddev_ioctl_usage()
[all …]
Dhid-core.c908 unsigned char report_type) in usbhid_get_raw_report() argument
929 ((report_type + 1) << 8) | report_number, in usbhid_get_raw_report()
941 unsigned char report_type) in usbhid_output_raw_report() argument
949 if (usbhid->urbout && report_type != HID_FEATURE_REPORT) { in usbhid_output_raw_report()
981 ((report_type + 1) << 8) | report_id, in usbhid_output_raw_report()
Dhid-pidff.c818 static void pidff_find_reports(struct hid_device *hid, int report_type, in pidff_find_reports() argument
825 &hid->report_enum[report_type].report_list, list) { in pidff_find_reports()
/drivers/hid/
Dhid-logitech-dj.c194 unsigned char report_type);
332 switch (dj_report.report_type) { in delayedwork_callback()
403 if ((dj_report->report_type > ARRAY_SIZE(hid_reportid_size_map) - 1) || in logi_dj_recv_forward_report()
404 (hid_reportid_size_map[dj_report->report_type] == 0)) { in logi_dj_recv_forward_report()
405 dbg_hid("invalid report type:%x\n", dj_report->report_type); in logi_dj_recv_forward_report()
410 HID_INPUT_REPORT, &dj_report->report_type, in logi_dj_recv_forward_report()
411 hid_reportid_size_map[dj_report->report_type], 1)) { in logi_dj_recv_forward_report()
452 dj_report->report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES; in logi_dj_recv_query_paired_devices()
469 dj_report->report_type = REPORT_TYPE_CMD_SWITCH; in logi_dj_recv_switch_to_dj_mode()
492 unsigned char report_type) in logi_dj_output_hidraw_report() argument
[all …]
Dhid-sony.c131 size_t count, unsigned char report_type) in sixaxis_usb_output_raw_report() argument
139 if (report_type == HID_OUTPUT_REPORT) { in sixaxis_usb_output_raw_report()
148 ((report_type + 1) << 8) | report_id, in sixaxis_usb_output_raw_report()
153 if (ret > 0 && report_type == HID_OUTPUT_REPORT) in sixaxis_usb_output_raw_report()
Duhid.c143 __u8 report_type; in uhid_hid_get_raw() local
155 report_type = UHID_FEATURE_REPORT; in uhid_hid_get_raw()
158 report_type = UHID_OUTPUT_REPORT; in uhid_hid_get_raw()
161 report_type = UHID_INPUT_REPORT; in uhid_hid_get_raw()
181 ev->u.feature.rtype = report_type; in uhid_hid_get_raw()
223 unsigned char report_type) in uhid_hid_output_raw() argument
230 switch (report_type) { in uhid_hid_output_raw()
Dhidraw.c109 …_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type) in hidraw_send_report() argument
153 ret = dev->hid_output_raw_report(dev, buf, count, report_type); in hidraw_send_report()
177 … hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type) in hidraw_get_report() argument
219 ret = dev->hid_get_raw_report(dev, report_number, buf, count, report_type); in hidraw_get_report()
Dhid-logitech-dj.h93 u8 report_type; member
Dhid-input.c389 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *… in hidinput_setup_battery() argument
426 report_type = HID_FEATURE_REPORT; in hidinput_setup_battery()
430 dev->battery_report_type = report_type; in hidinput_setup_battery()
456 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, in hidinput_setup_battery() argument
485 if (field->report_type == HID_OUTPUT_REPORT && in hidinput_configure_usage()
Dhid-core.c221 static int hid_add_field(struct hid_parser *parser, unsigned report_type, unsigned flags) in hid_add_field() argument
229 report = hid_register_report(parser->device, report_type, parser->global.report_id); in hid_add_field()
279 field->report_type = report_type; in hid_add_field()
1051 for (; id->report_type != HID_TERMINATOR; id++) in hid_match_report()
1052 if (id->report_type == HID_ANY_ID || in hid_match_report()
1053 id->report_type == report->type) in hid_match_report()
/drivers/hid/i2c-hid/
Di2c-hid.c507 unsigned char report_type) in i2c_hid_get_raw_report() argument
514 if (report_type == HID_OUTPUT_REPORT) in i2c_hid_get_raw_report()
521 report_type == HID_FEATURE_REPORT ? 0x03 : 0x01, in i2c_hid_get_raw_report()
542 size_t count, unsigned char report_type) in i2c_hid_output_raw_report() argument
548 if (report_type == HID_INPUT_REPORT) in i2c_hid_output_raw_report()
557 report_type == HID_FEATURE_REPORT ? 0x03 : 0x02, in i2c_hid_output_raw_report()
/drivers/input/tablet/
Daiptek.c874 unsigned char report_type, in aiptek_set_report() argument
881 USB_DIR_OUT, (report_type << 8) + report_id, in aiptek_set_report()
887 unsigned char report_type, in aiptek_get_report() argument
894 USB_DIR_IN, (report_type << 8) + report_id, in aiptek_get_report()