| /linux/drivers/staging/greybus/ |
| H 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/amd-sfh-hid/ |
| H A D | amd_sfh_hid.h | 23 u8 report_type; member 48 u8 report_type[MAX_HID_DEVICES]; member 78 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type); 79 void amd_sfh_set_report(struct hid_device *hid, int report_id, int report_type);
|
| /linux/drivers/hid/usbhid/ |
| H A D | hiddev.c | 64 if (rinfo->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_report() 65 rinfo->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_report() 69 (rinfo->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_report() 116 if (uref->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_usage() 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() [all …]
|
| /linux/drivers/hid/ |
| H 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,
|
| H A D | hid-logitech-dj.c | 130 u8 report_type; member 975 switch (dj_report->report_type) { in logi_dj_recv_queue_notification() 993 if (dj_report->report_type == REPORT_TYPE_NOTIF_DEVICE_UNPAIRED) in logi_dj_recv_queue_notification() 1222 if ((dj_report->report_type > ARRAY_SIZE(hid_reportid_size_map) - 1) || in logi_dj_recv_forward_dj() 1223 (hid_reportid_size_map[dj_report->report_type] == 0)) { in logi_dj_recv_forward_dj() 1224 dbg_hid("invalid report type:%x\n", dj_report->report_type); in logi_dj_recv_forward_dj() 1229 HID_INPUT_REPORT, &dj_report->report_type, in logi_dj_recv_forward_dj() 1230 hid_reportid_size_map[dj_report->report_type], 1)) { in logi_dj_recv_forward_dj() 1345 dj_report->report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES; in logi_dj_recv_query_paired_devices() 1371 dj_report->report_type = REPORT_TYPE_CMD_SWITCH; in logi_dj_recv_switch_to_dj_mode() [all …]
|
| H A D | hidraw.c | 113 …_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type) in hidraw_send_report() argument 149 if ((report_type == HID_OUTPUT_REPORT) && in hidraw_send_report() 161 ret = __hid_hw_raw_request(dev, buf[0], buf, count, report_type, in hidraw_send_report() 191 … hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type) in hidraw_get_report() argument 242 ret = __hid_hw_raw_request(dev, report_number, buf, count, report_type, in hidraw_get_report()
|
| H 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()
|
| H A D | hid-core.c | 290 static int hid_add_field(struct hid_parser *parser, unsigned report_type, unsigned flags) in hid_add_field() argument 302 report = hid_register_report(parser->device, report_type, in hid_add_field() 363 field->report_type = report_type; in hid_add_field() 1528 for (; id->report_type != HID_TERMINATOR; id++) in hid_match_report() 1529 if (id->report_type == HID_ANY_ID || in hid_match_report() 1530 id->report_type == report->type) in hid_match_report() 1961 struct hid_field *hid_find_field(struct hid_device *hdev, unsigned int report_type, in hid_find_field() argument 1964 struct list_head *report_list = &hdev->report_enum[report_type].report_list; in hid_find_field()
|
| /linux/include/uapi/linux/ |
| H A D | hiddev.h | 67 __u32 report_type; member 92 __u32 report_type; member 122 __u32 report_type; member
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f54.c | 105 enum rmi_f54_report_type report_type; member 179 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report() argument 186 if (f54->report_type != report_type) { in rmi_f54_request_report() 188 report_type); in rmi_f54_request_report() 191 f54->report_type = report_type; in rmi_f54_request_report() 559 f54->report_type); in rmi_f54_work()
|
| /linux/net/bluetooth/hidp/ |
| H A D | core.c | 246 unsigned char report_type) in hidp_get_raw_report() argument 251 int numbered_reports = hid->report_enum[report_type].numbered; in hidp_get_raw_report() 257 switch (report_type) { in hidp_get_raw_report() 259 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_FEATURE; in hidp_get_raw_report() 262 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_INPUT; in hidp_get_raw_report() 265 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_OUPUT; in hidp_get_raw_report() 275 session->waiting_report_type = report_type & HIDP_DATA_RTYPE_MASK; in hidp_get_raw_report() 279 ret = hidp_send_ctrl_message(session, report_type, data, 1); in hidp_get_raw_report() 330 unsigned char report_type) in hidp_set_raw_report() argument 335 switch (report_type) { in hidp_set_raw_report() [all …]
|
| /linux/drivers/power/supply/ |
| H A D | rt9756.c | 679 int report_type, ret; in rt9756_get_usb_type() local 688 report_type = POWER_SUPPLY_USB_TYPE_SDP; in rt9756_get_usb_type() 691 report_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9756_get_usb_type() 694 report_type = POWER_SUPPLY_USB_TYPE_CDP; in rt9756_get_usb_type() 698 report_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in rt9756_get_usb_type() 702 atomic_set(&data->usb_type, report_type); in rt9756_get_usb_type()
|
| /linux/include/linux/ |
| H A D | hid.h | 533 unsigned report_type; /* (input,output,feature) */ member 659 __s32 report_type; member 826 .report_type = (rep) 833 __u32 report_type; member 1030 struct hid_field *hid_find_field(struct hid_device *hdev, unsigned int report_type,
|
| H A D | hid_bpf.h | 117 int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
|
| /linux/tools/testing/selftests/hid/progs/ |
| H A D | hid.c | 582 enum hid_report_type report_type, __u64 source) in BPF_PROG() argument 601 hid_bpf_try_input_report(hctx, report_type, buf, sizeof(buf)); in BPF_PROG()
|
| H A D | hid_bpf_helpers.h | 92 int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
|
| /linux/Documentation/hid/ |
| H 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/ |
| H A D | aiptek.c | 825 unsigned char report_type, in aiptek_set_report() argument 834 USB_DIR_OUT, (report_type << 8) + report_id, in aiptek_set_report() 840 unsigned char report_type, in aiptek_get_report() argument 849 USB_DIR_IN, (report_type << 8) + report_id, in aiptek_get_report()
|
| /linux/include/linux/greybus/ |
| H A D | greybus_protocols.h | 633 __u8 report_type; member 639 __u8 report_type; member
|