Searched refs:report_type (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/drivers/hid/amd-sfh-hid/
H A Damd_sfh_hid.h23 u8 report_type; member in struct:request_list
48 u8 report_type[MAX_HID_DEVICES]; member in struct:amdtp_cl_data
77 void hid_amdtp_get_report(struct hid_device *hid, int report_id, int report_type);
80 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type);
81 void amd_sfh_set_report(struct hid_device *hid, int report_id, int report_type);
H A Damd_sfh_client.c22 int report_type)
37 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type) argument
54 new->report_type = report_type;
83 node_type = req_node->report_type;
93 cli_data->report_type[current_index],
102 cli_data->report_type[current_index],
21 amd_sfh_set_report(struct hid_device *hid, int report_id, int report_type) argument
/linux-master/include/uapi/linux/
H A Dhiddev.h67 __u32 report_type; member in struct:hiddev_report_info
72 /* To do a GUSAGE/SUSAGE, fill in at least usage_code, report_type and
92 __u32 report_type; member in struct:hiddev_field_info
108 /* Fill in report_type, report_id and field_index to get the information on a
122 __u32 report_type; member in struct:hiddev_usage_ref
188 * rinfo.report_type = HID_REPORT_TYPE_INPUT;
194 * finfo.report_type = rinfo.report_type;
199 * uref.report_type = rinfo.report_type;
[all...]
/linux-master/drivers/staging/greybus/
H A Dhid.c74 static int gb_hid_get_report(struct gb_hid *ghid, u8 report_type, u8 report_id, argument
84 request.report_type = report_type;
95 static int gb_hid_set_report(struct gb_hid *ghid, u8 report_type, u8 report_id, argument
115 request->report_type = report_type;
225 unsigned char report_type)
230 if (report_type == HID_OUTPUT_REPORT)
233 ret = gb_hid_get_report(ghid, report_type, report_number, buf, count);
241 size_t len, unsigned char report_type)
223 __gb_hid_get_raw_report(struct hid_device *hid, unsigned char report_number, __u8 *buf, size_t count, unsigned char report_type) argument
240 __gb_hid_output_raw_report(struct hid_device *hid, __u8 *buf, size_t len, unsigned char report_type) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-led.c77 enum hidled_report_type report_type; member in struct:hidled_config
125 if (ldev->config->report_type == RAW_REQUEST)
130 else if (ldev->config->report_type == OUTPUT_REPORT)
149 if (ldev->config->report_type != RAW_REQUEST)
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
[all...]
H A Dhid-u2fzero.c73 u8 report_type; member in struct:u2f_hid_report
175 .report_type = 0,
203 .report_type = 0,
H A Dhid-logitech-dj.c128 u8 report_type; member in struct:dj_report
889 switch (dj_report->report_type) {
907 if (dj_report->report_type == REPORT_TYPE_NOTIF_DEVICE_UNPAIRED)
1132 if ((dj_report->report_type > ARRAY_SIZE(hid_reportid_size_map) - 1) ||
1133 (hid_reportid_size_map[dj_report->report_type] == 0)) {
1134 dbg_hid("invalid report type:%x\n", dj_report->report_type);
1139 HID_INPUT_REPORT, &dj_report->report_type,
1140 hid_reportid_size_map[dj_report->report_type], 1)) {
1250 dj_report->report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES;
1272 dj_report->report_type
1344 logi_dj_ll_raw_request(struct hid_device *hid, unsigned char reportnum, __u8 *buf, size_t count, unsigned char report_type, int reqtype) argument
[all...]
H A Dhidraw.c105 static ssize_t hidraw_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type) argument
141 if ((report_type == HID_OUTPUT_REPORT) &&
153 ret = hid_hw_raw_request(dev, buf[0], buf, count, report_type,
176 * use numbered reports. The report_type parameter can be HID_FEATURE_REPORT
179 static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type) argument
230 ret = hid_hw_raw_request(dev, report_number, buf, count, report_type,
H A Dhid-sensor-custom.c476 int index, int report_type,
506 if (report_type == HID_FEATURE_REPORT)
511 else if (report_type == HID_INPUT_REPORT) {
530 int report_type)
549 report_type,
475 hid_sensor_custom_add_field(struct hid_sensor_custom *sensor_inst, int index, int report_type, struct hid_report *report, struct hid_field *field) argument
528 hid_sensor_custom_add_fields(struct hid_sensor_custom *sensor_inst, struct hid_report_enum *report_enum, int report_type) argument
H A Duhid.c61 u32 report_type; member in struct:uhid_device
191 uhid->report_type = ev->type + 1;
219 if (uhid->report_type != ev->type || uhid->report_id != id)
347 unsigned char report_type)
354 switch (report_type) {
346 uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count, unsigned char report_type) argument
H A Dhid-google-hammer.c422 static bool hammer_has_usage(struct hid_device *hdev, unsigned int report_type, argument
425 struct hid_report_enum *re = &hdev->report_enum[report_type];
H A Dhid-cp2112.c324 u8 *data, size_t count, unsigned char report_type)
334 report_type, HID_REQ_GET_REPORT);
341 unsigned char report_type)
350 if (report_type == HID_OUTPUT_REPORT)
353 ret = hid_hw_raw_request(hdev, buf[0], buf, count, report_type,
323 cp2112_hid_get(struct hid_device *hdev, unsigned char report_number, u8 *data, size_t count, unsigned char report_type) argument
340 cp2112_hid_output(struct hid_device *hdev, u8 *data, size_t count, unsigned char report_type) argument
H A Dhid-core.c255 static int hid_add_field(struct hid_parser *parser, unsigned report_type, unsigned flags) argument
267 report = hid_register_report(parser->device, report_type,
328 field->report_type = report_type;
1478 * compare hid->driver->report_table->report_type to report->type
1487 for (; id->report_type != HID_TERMINATOR; id++)
1488 if (id->report_type == HID_ANY_ID ||
1489 id->report_type == report->type)
H A Dhid-input.c523 static int hidinput_setup_battery(struct hid_device *dev, unsigned report_type, argument
570 report_type = HID_FEATURE_REPORT;
574 dev->battery_report_type = report_type;
583 dev->battery_avoid_query = report_type == HID_INPUT_REPORT &&
658 static int hidinput_setup_battery(struct hid_device *dev, unsigned report_type, argument
709 if (field->report_type == HID_OUTPUT_REPORT &&
/linux-master/drivers/hid/usbhid/
H A Dhiddev.c64 if (rinfo->report_type < HID_REPORT_TYPE_MIN ||
65 rinfo->report_type > HID_REPORT_TYPE_MAX)
69 (rinfo->report_type - HID_REPORT_TYPE_MIN);
116 if (uref->report_type < HID_REPORT_TYPE_MIN ||
117 uref->report_type > HID_REPORT_TYPE_MAX)
121 (uref->report_type - HID_REPORT_TYPE_MIN);
169 unsigned type = field->report_type;
172 uref.report_type =
192 uref.report_type =
452 rinfo.report_type
[all...]
/linux-master/drivers/hid/intel-ish-hid/
H A Dishtp-hid-client.c74 int report_type; local
216 report_type = HID_FEATURE_REPORT;
220 report_type = HID_INPUT_REPORT;
242 (hid, report_type,
268 report_type = HID_INPUT_REPORT;
276 report_type, payload,
281 report_type = HID_INPUT_REPORT;
302 report_type,
410 * @report_type: Report type for the this request
416 int report_type)
415 hid_ishtp_get_report(struct hid_device *hid, int report_id, int report_type) argument
[all...]
H A Dishtp-hid.h171 int report_type);
/linux-master/drivers/hid/i2c-hid/
H A Di2c-hid-core.c211 int report_type, int report_id)
216 buf[length++] = report_type << 4 | report_id;
219 buf[length++] = report_type << 4 | 0x0F;
228 u8 report_type, u8 report_id,
243 report_type, report_id);
305 * @report_type: 0x03 for HID_FEATURE_REPORT ; 0x02 for HID_OUTPUT_REPORT
312 u8 report_type, u8 report_id,
334 report_type, report_id);
623 u8 report_type, u8 report_id,
630 if (report_type
210 i2c_hid_encode_command(u8 *buf, u8 opcode, int report_type, int report_id) argument
227 i2c_hid_get_report(struct i2c_hid *ihid, u8 report_type, u8 report_id, u8 *recv_buf, size_t recv_len) argument
311 i2c_hid_set_or_send_report(struct i2c_hid *ihid, u8 report_type, u8 report_id, const u8 *buf, size_t data_len, bool do_set) argument
622 i2c_hid_get_raw_report(struct hid_device *hid, u8 report_type, u8 report_id, u8 *buf, size_t count) argument
654 i2c_hid_output_raw_report(struct hid_device *hid, u8 report_type, const u8 *buf, size_t count, bool do_set) argument
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_f54.c105 enum rmi_f54_report_type report_type; member in struct:f54_data
131 * Basic checks on report_type to ensure we write a valid type
177 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) argument
184 if (f54->report_type != report_type) {
186 report_type);
189 f54->report_type = report_type;
546 f54->report_type);
/linux-master/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h63 enum hid_report_type report_type; member in struct:hid_bpf_ctx
/linux-master/include/linux/
H A Dhid_bpf.h31 * @report_type: used for ``hid_bpf_device_event()``
53 enum hid_report_type report_type; member in struct:hid_bpf_ctx
H A Dhid.h495 unsigned report_type; /* (input,output,feature) */ member in struct:hid_field
750 .report_type = (rep)
757 __u32 report_type; member in struct:hid_report_id
/linux-master/net/bluetooth/hidp/
H A Dcore.c236 unsigned char report_type)
241 int numbered_reports = hid->report_enum[report_type].numbered;
247 switch (report_type) {
249 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_FEATURE;
252 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_INPUT;
255 report_type = HIDP_TRANS_GET_REPORT | HIDP_DATA_RTYPE_OUPUT;
265 session->waiting_report_type = report_type & HIDP_DATA_RTYPE_MASK;
269 ret = hidp_send_ctrl_message(session, report_type, data, 1);
320 unsigned char report_type)
325 switch (report_type) {
233 hidp_get_raw_report(struct hid_device *hid, unsigned char report_number, unsigned char *data, size_t count, unsigned char report_type) argument
318 hidp_set_raw_report(struct hid_device *hid, unsigned char reportnum, unsigned char *data, size_t count, unsigned char report_type) argument
[all...]
/linux-master/drivers/input/tablet/
H A Daiptek.c130 * Use report_type CONTROL (3)
852 unsigned char report_type,
861 USB_DIR_OUT, (report_type << 8) + report_id,
867 unsigned char report_type,
876 USB_DIR_IN, (report_type << 8) + report_id,
851 aiptek_set_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) argument
866 aiptek_get_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) argument
/linux-master/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c55 .report_type = type,

Completed in 231 milliseconds

12