/drivers/hid/usbhid/ |
D | hiddev.c | 85 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 …]
|
D | hid-pidff.c | 818 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()
|
D | hid-core.c | 844 unsigned char report_type) in usbhid_get_raw_report() argument 865 ((report_type + 1) << 8) | report_number, in usbhid_get_raw_report()
|
/drivers/hid/ |
D | hid-logitech-dj.c | 334 switch (dj_report.report_type) { in delayedwork_callback() 412 if ((dj_report->report_type > ARRAY_SIZE(hid_reportid_size_map) - 1) || in logi_dj_recv_forward_report() 413 (hid_reportid_size_map[dj_report->report_type] == 0)) { in logi_dj_recv_forward_report() 414 dbg_hid("invalid report type:%x\n", dj_report->report_type); in logi_dj_recv_forward_report() 419 HID_INPUT_REPORT, &dj_report->report_type, in logi_dj_recv_forward_report() 420 hid_reportid_size_map[dj_report->report_type], 1)) { in logi_dj_recv_forward_report() 465 dj_report->report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES; in logi_dj_recv_query_paired_devices() 483 dj_report->report_type = REPORT_TYPE_CMD_SWITCH; in logi_dj_recv_switch_to_dj_mode() 514 size_t count, unsigned char report_type, in logi_dj_ll_raw_request() argument 537 DJREPORT_SHORT_LENGTH, report_type, reqtype); in logi_dj_ll_raw_request() [all …]
|
D | hidraw.c | 112 …_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type) in hidraw_send_report() argument 152 if ((report_type == HID_OUTPUT_REPORT) && in hidraw_send_report() 164 ret = hid_hw_raw_request(dev, buf[0], buf, count, report_type, in hidraw_send_report() 192 … hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type) in hidraw_get_report() argument 236 ret = hid_hw_raw_request(dev, report_number, buf, count, report_type, in hidraw_get_report()
|
D | uhid.c | 54 u32 report_type; member 186 uhid->report_type = ev->type + 1; in __uhid_report_queue_and_wait() 214 if (uhid->report_type != ev->type || uhid->report_id != id) in uhid_report_wake_up() 342 unsigned char report_type) in uhid_hid_output_raw() argument 349 switch (report_type) { in uhid_hid_output_raw()
|
D | hid-logitech-dj.h | 94 u8 report_type; member
|
D | hid-cp2112.c | 271 u8 *data, size_t count, unsigned char report_type) in cp2112_hid_get() argument 281 report_type, HID_REQ_GET_REPORT); in cp2112_hid_get() 288 unsigned char report_type) in cp2112_hid_output() argument 297 if (report_type == HID_OUTPUT_REPORT) in cp2112_hid_output() 300 ret = hid_hw_raw_request(hdev, buf[0], buf, count, report_type, in cp2112_hid_output()
|
D | hid-input.c | 395 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *… in hidinput_setup_battery() argument 432 report_type = HID_FEATURE_REPORT; in hidinput_setup_battery() 436 dev->battery_report_type = report_type; in hidinput_setup_battery() 462 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, in hidinput_setup_battery() argument 491 if (field->report_type == HID_OUTPUT_REPORT && in hidinput_configure_usage()
|
D | hid-core.c | 221 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() 1126 for (; id->report_type != HID_TERMINATOR; id++) in hid_match_report() 1127 if (id->report_type == HID_ANY_ID || in hid_match_report() 1128 id->report_type == report->type) in hid_match_report()
|
/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 552 unsigned char report_type) in i2c_hid_get_raw_report() argument 559 if (report_type == HID_OUTPUT_REPORT) in i2c_hid_get_raw_report() 566 report_type == HID_FEATURE_REPORT ? 0x03 : 0x01, in i2c_hid_get_raw_report() 587 size_t count, unsigned char report_type, bool use_data) in i2c_hid_output_raw_report() argument 593 if (report_type == HID_INPUT_REPORT) in i2c_hid_output_raw_report() 602 report_type == HID_FEATURE_REPORT ? 0x03 : 0x02, in i2c_hid_output_raw_report()
|
/drivers/input/tablet/ |
D | aiptek.c | 873 unsigned char report_type, in aiptek_set_report() argument 880 USB_DIR_OUT, (report_type << 8) + report_id, in aiptek_set_report() 886 unsigned char report_type, in aiptek_get_report() argument 893 USB_DIR_IN, (report_type << 8) + report_id, in aiptek_get_report()
|