/linux-4.1.27/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 | 824 static void pidff_find_reports(struct hid_device *hid, int report_type, in pidff_find_reports() argument 831 &hid->report_enum[report_type].report_list, list) { in pidff_find_reports()
|
D | hid-core.c | 855 unsigned char report_type) in usbhid_get_raw_report() argument 876 ((report_type + 1) << 8) | report_number, in usbhid_get_raw_report()
|
/linux-4.1.27/drivers/hid/ |
D | hid-logitech-dj.c | 107 u8 report_type; member 485 switch (dj_report.report_type) { in delayedwork_callback() 563 if ((dj_report->report_type > ARRAY_SIZE(hid_reportid_size_map) - 1) || in logi_dj_recv_forward_report() 564 (hid_reportid_size_map[dj_report->report_type] == 0)) { in logi_dj_recv_forward_report() 565 dbg_hid("invalid report type:%x\n", dj_report->report_type); in logi_dj_recv_forward_report() 570 HID_INPUT_REPORT, &dj_report->report_type, in logi_dj_recv_forward_report() 571 hid_reportid_size_map[dj_report->report_type], 1)) { in logi_dj_recv_forward_report() 623 dj_report->report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES; in logi_dj_recv_query_paired_devices() 643 dj_report->report_type = REPORT_TYPE_CMD_SWITCH; in logi_dj_recv_switch_to_dj_mode() 700 size_t count, unsigned char report_type, in logi_dj_ll_raw_request() argument [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 | hid-sensor-custom.c | 483 int index, int report_type, in hid_sensor_custom_add_field() argument 513 if (report_type == HID_FEATURE_REPORT) in hid_sensor_custom_add_field() 518 else if (report_type == HID_INPUT_REPORT) { in hid_sensor_custom_add_field() 537 int report_type) in hid_sensor_custom_add_fields() argument 556 report_type, in hid_sensor_custom_add_fields()
|
D | uhid.c | 52 u32 report_type; member 157 uhid->report_type = ev->type + 1; in __uhid_report_queue_and_wait() 185 if (uhid->report_type != ev->type || uhid->report_id != id) in uhid_report_wake_up() 313 unsigned char report_type) in uhid_hid_output_raw() argument 320 switch (report_type) { in uhid_hid_output_raw()
|
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 | 398 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *… in hidinput_setup_battery() argument 441 report_type = HID_FEATURE_REPORT; in hidinput_setup_battery() 445 dev->battery_report_type = report_type; in hidinput_setup_battery() 477 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, in hidinput_setup_battery() argument 506 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() 1141 for (; id->report_type != HID_TERMINATOR; id++) in hid_match_report() 1142 if (id->report_type == HID_ANY_ID || in hid_match_report() 1143 id->report_type == report->type) in hid_match_report()
|
/linux-4.1.27/include/uapi/linux/ |
D | hiddev.h | 66 __u32 report_type; member 91 __u32 report_type; member 121 __u32 report_type; member
|
/linux-4.1.27/net/bluetooth/hidp/ |
D | core.c | 230 unsigned char report_type) in hidp_get_raw_report() argument 235 int numbered_reports = hid->report_enum[report_type].numbered; in hidp_get_raw_report() 241 switch (report_type) { in hidp_get_raw_report() 243 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_FEATURE; in hidp_get_raw_report() 246 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_INPUT; in hidp_get_raw_report() 249 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_OUPUT; in hidp_get_raw_report() 259 session->waiting_report_type = report_type & HIDP_DATA_RTYPE_MASK; in hidp_get_raw_report() 263 ret = hidp_send_ctrl_message(session, report_type, data, 1); in hidp_get_raw_report() 314 unsigned char report_type) in hidp_set_raw_report() argument 319 switch (report_type) { in hidp_set_raw_report() [all …]
|
/linux-4.1.27/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 554 unsigned char report_type) in i2c_hid_get_raw_report() argument 561 if (report_type == HID_OUTPUT_REPORT) in i2c_hid_get_raw_report() 568 report_type == HID_FEATURE_REPORT ? 0x03 : 0x01, in i2c_hid_get_raw_report() 589 size_t count, unsigned char report_type, bool use_data) in i2c_hid_output_raw_report() argument 595 if (report_type == HID_INPUT_REPORT) in i2c_hid_output_raw_report() 604 report_type == HID_FEATURE_REPORT ? 0x03 : 0x02, in i2c_hid_output_raw_report()
|
/linux-4.1.27/include/linux/ |
D | hid.h | 417 unsigned report_type; /* (input,output,feature) */ member 619 .report_type = (rep) 626 __u32 report_type; member
|
/linux-4.1.27/Documentation/hid/ |
D | hiddev.txt | 162 report_type in this structure, as above. The field_index should also 174 choose to fill in the report_type field and specify the report_id as 203 to read() filled in with the report_type and report_id, but
|
/linux-4.1.27/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()
|