/linux/drivers/staging/greybus/ |
A D | hid.c | 74 static int gb_hid_get_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_get_report() argument 84 request.report_type = report_type; in gb_hid_get_report() 95 static int gb_hid_set_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_set_report() argument 115 request->report_type = report_type; in gb_hid_set_report() 225 unsigned char report_type) in __gb_hid_get_raw_report() argument 230 if (report_type == HID_OUTPUT_REPORT) in __gb_hid_get_raw_report() 233 ret = gb_hid_get_report(ghid, report_type, report_number, buf, count); in __gb_hid_get_raw_report() 241 size_t len, unsigned char report_type) in __gb_hid_output_raw_report() argument 247 if (report_type == HID_INPUT_REPORT) in __gb_hid_output_raw_report() 255 ret = gb_hid_set_report(ghid, report_type, report_id, buf, len); in __gb_hid_output_raw_report()
|
/linux/drivers/hid/usbhid/ |
A D | hiddev.c | 65 rinfo->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_report() 69 (rinfo->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_report() 117 uref->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_usage() 121 (uref->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_usage() 169 unsigned type = field->report_type; in hiddev_hid_event() 172 uref.report_type = in hiddev_hid_event() 192 uref.report_type = in hiddev_report_event() 452 rinfo.report_type = uref->report_type; in hiddev_ioctl_usage() 486 rinfo.report_type = uref->report_type; in hiddev_ioctl_usage() 754 rinfo.report_type = finfo.report_type; in hiddev_ioctl() [all …]
|
/linux/drivers/hid/amd-sfh-hid/ |
A D | amd_sfh_hid.h | 39 u8 report_type[MAX_HID_DEVICES]; member 67 void hid_amdtp_get_report(struct hid_device *hid, int report_id, int report_type); 70 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type); 71 void amd_sfh_set_report(struct hid_device *hid, int report_id, int report_type);
|
A D | amd_sfh_client.c | 27 u8 report_type; member 34 int report_type) in amd_sfh_set_report() argument 49 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type) in amd_sfh_get_report() argument 65 new->report_type = report_type; in amd_sfh_get_report() 91 node_type = req_node->report_type; in amd_sfh_work() 99 cli_data->report_type[current_index], in amd_sfh_work() 108 cli_data->report_type[current_index], in amd_sfh_work()
|
/linux/drivers/hid/ |
A D | hid-led.c | 77 enum hidled_report_type report_type; member 125 if (ldev->config->report_type == RAW_REQUEST) in hidled_send() 130 else if (ldev->config->report_type == OUTPUT_REPORT) in hidled_send() 149 if (ldev->config->report_type != RAW_REQUEST) in hidled_recv() 259 .report_type = RAW_REQUEST, 362 .report_type = OUTPUT_REPORT, 372 .report_type = RAW_REQUEST, 383 .report_type = RAW_REQUEST, 394 .report_type = RAW_REQUEST, 405 .report_type = OUTPUT_REPORT,
|
A D | hid-logitech-dj.c | 128 u8 report_type; member 889 switch (dj_report->report_type) { in logi_dj_recv_queue_notification() 1134 (hid_reportid_size_map[dj_report->report_type] == 0)) { in logi_dj_recv_forward_dj() 1140 HID_INPUT_REPORT, &dj_report->report_type, in logi_dj_recv_forward_dj() 1141 hid_reportid_size_map[dj_report->report_type], 1)) { in logi_dj_recv_forward_dj() 1273 dj_report->report_type = REPORT_TYPE_CMD_SWITCH; in logi_dj_recv_switch_to_dj_mode() 1344 size_t count, unsigned char report_type, in logi_dj_ll_raw_request() argument 1366 count, report_type, reqtype); in logi_dj_ll_raw_request() 1379 report_type, reqtype); in logi_dj_ll_raw_request() 1394 DJREPORT_SHORT_LENGTH, report_type, reqtype); in logi_dj_ll_raw_request() [all …]
|
A D | hidraw.c | 103 …_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type) in hidraw_send_report() argument 139 if ((report_type == HID_OUTPUT_REPORT) && in hidraw_send_report() 151 ret = hid_hw_raw_request(dev, buf[0], 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 228 ret = hid_hw_raw_request(dev, report_number, buf, count, report_type, in hidraw_get_report()
|
A D | hid-u2fzero.c | 73 u8 report_type; member 175 .report_type = 0, in u2fzero_blink() 203 .report_type = 0, in u2fzero_rng_read()
|
A D | hid-sensor-custom.c | 475 int index, int report_type, in hid_sensor_custom_add_field() argument 505 if (report_type == HID_FEATURE_REPORT) in hid_sensor_custom_add_field() 510 else if (report_type == HID_INPUT_REPORT) { in hid_sensor_custom_add_field() 529 int report_type) in hid_sensor_custom_add_fields() argument 548 report_type, in hid_sensor_custom_add_fields()
|
A D | uhid.c | 50 u32 report_type; member 171 uhid->report_type = ev->type + 1; in __uhid_report_queue_and_wait() 199 if (uhid->report_type != ev->type || uhid->report_id != id) in uhid_report_wake_up() 327 unsigned char report_type) in uhid_hid_output_raw() argument 334 switch (report_type) { in uhid_hid_output_raw()
|
A D | hid-cp2112.c | 324 u8 *data, size_t count, unsigned char report_type) in cp2112_hid_get() argument 334 report_type, HID_REQ_GET_REPORT); in cp2112_hid_get() 341 unsigned char report_type) in cp2112_hid_output() argument 350 if (report_type == HID_OUTPUT_REPORT) in cp2112_hid_output() 353 ret = hid_hw_raw_request(hdev, buf[0], buf, count, report_type, in cp2112_hid_output()
|
A D | hid-google-hammer.c | 439 static bool hammer_has_usage(struct hid_device *hdev, unsigned int report_type, in hammer_has_usage() argument 442 struct hid_report_enum *re = &hdev->report_enum[report_type]; in hammer_has_usage()
|
A D | hid-input.c | 443 static int hidinput_setup_battery(struct hid_device *dev, unsigned report_type, in hidinput_setup_battery() argument 490 report_type = HID_FEATURE_REPORT; in hidinput_setup_battery() 494 dev->battery_report_type = report_type; in hidinput_setup_battery() 502 dev->battery_avoid_query = report_type == HID_INPUT_REPORT && in hidinput_setup_battery() 560 static int hidinput_setup_battery(struct hid_device *dev, unsigned report_type, in hidinput_setup_battery() argument 603 if (field->report_type == HID_OUTPUT_REPORT && in hidinput_configure_usage()
|
A D | hid-core.c | 257 static int hid_add_field(struct hid_parser *parser, unsigned report_type, unsigned flags) in hid_add_field() argument 268 report = hid_register_report(parser->device, report_type, in hid_add_field() 326 field->report_type = report_type; in hid_add_field() 1468 for (; id->report_type != HID_TERMINATOR; id++) in hid_match_report() 1469 if (id->report_type == HID_ANY_ID || in hid_match_report() 1470 id->report_type == report->type) in hid_match_report()
|
A D | hid-steam.c | 658 size_t count, unsigned char report_type, in steam_client_ll_raw_request() argument 664 report_type, reqtype); in steam_client_ll_raw_request()
|
/linux/drivers/hid/intel-ish-hid/ |
A D | ishtp-hid-client.c | 74 int report_type; in process_recv() local 216 report_type = HID_FEATURE_REPORT; in process_recv() 220 report_type = HID_INPUT_REPORT; in process_recv() 242 (hid, report_type, in process_recv() 268 report_type = HID_INPUT_REPORT; in process_recv() 276 report_type, payload, in process_recv() 281 report_type = HID_INPUT_REPORT; in process_recv() 302 report_type, in process_recv() 416 int report_type) in hid_ishtp_get_report() argument 432 msg.hdr.command = (report_type == HID_FEATURE_REPORT) ? in hid_ishtp_get_report()
|
A D | ishtp-hid.h | 171 int report_type);
|
/linux/include/uapi/linux/ |
A D | hiddev.h | 67 __u32 report_type; member 92 __u32 report_type; member 122 __u32 report_type; member
|
/linux/drivers/input/rmi4/ |
A D | rmi_f54.c | 105 enum rmi_f54_report_type report_type; member 177 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report() argument 184 if (f54->report_type != report_type) { in rmi_f54_request_report() 186 report_type); in rmi_f54_request_report() 189 f54->report_type = report_type; in rmi_f54_request_report() 546 f54->report_type); in rmi_f54_work()
|
/linux/net/bluetooth/hidp/ |
A D | core.c | 236 unsigned char report_type) in hidp_get_raw_report() argument 241 int numbered_reports = hid->report_enum[report_type].numbered; in hidp_get_raw_report() 247 switch (report_type) { in hidp_get_raw_report() 249 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_FEATURE; in hidp_get_raw_report() 252 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_INPUT; in hidp_get_raw_report() 255 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_OUPUT; in hidp_get_raw_report() 269 ret = hidp_send_ctrl_message(session, report_type, data, 1); in hidp_get_raw_report() 320 unsigned char report_type) in hidp_set_raw_report() argument 325 switch (report_type) { in hidp_set_raw_report() 330 report_type = HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_INPUT; in hidp_set_raw_report() [all …]
|
/linux/drivers/hid/i2c-hid/ |
A D | i2c-hid-core.c | 608 unsigned char report_type) in i2c_hid_get_raw_report() argument 615 if (report_type == HID_OUTPUT_REPORT) in i2c_hid_get_raw_report() 622 report_type == HID_FEATURE_REPORT ? 0x03 : 0x01, in i2c_hid_get_raw_report() 643 size_t count, unsigned char report_type, bool use_data) in i2c_hid_output_raw_report() argument 650 if (report_type == HID_INPUT_REPORT) in i2c_hid_output_raw_report() 661 report_type == HID_FEATURE_REPORT ? 0x03 : 0x02, in i2c_hid_output_raw_report()
|
/linux/include/linux/ |
A D | hid.h | 465 unsigned report_type; /* (input,output,feature) */ member 689 .report_type = (rep) 696 __u32 report_type; member
|
/linux/Documentation/hid/ |
A D | hiddev.rst | 195 report_type in this structure, as above. The field_index should also 211 choose to fill in the report_type field and specify the report_id as 249 to read() filled in with the report_type and report_id, but
|
/linux/drivers/input/tablet/ |
A D | aiptek.c | 852 unsigned char report_type, in aiptek_set_report() argument 861 USB_DIR_OUT, (report_type << 8) + report_id, in aiptek_set_report() 867 unsigned char report_type, in aiptek_get_report() argument 876 USB_DIR_IN, (report_type << 8) + report_id, in aiptek_get_report()
|
/linux/include/linux/greybus/ |
A D | greybus_protocols.h | 637 __u8 report_type; member 643 __u8 report_type; member
|