Searched refs:report_id (Results 1 - 35 of 35) sorted by relevance

/linux-4.4.14/drivers/hid/
H A Dhid-roccat-common.c19 static inline uint16_t roccat_common2_feature_report(uint8_t report_id) roccat_common2_feature_report() argument
21 return 0x300 | report_id; roccat_common2_feature_report()
24 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, roccat_common2_receive() argument
37 roccat_common2_feature_report(report_id), roccat_common2_receive()
46 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, roccat_common2_send() argument
59 roccat_common2_feature_report(report_id), roccat_common2_send()
H A Dhid-roccat-common.h28 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id,
30 int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
H A Dhid-sensor-custom.c34 int report_id; member in struct:hid_sensor_custom_field
194 sensor_inst->power_state->attribute.report_id, set_power_report_state()
199 sensor_inst->report_state->attribute.report_id, set_power_report_state()
207 sensor_inst->power_state->attribute.report_id, set_power_report_state()
222 sensor_inst->report_state->attribute.report_id, set_power_report_state()
307 u32 report_id; show_value() local
311 report_id = attribute->report_id; show_value()
319 report_id, show_value()
360 usage, report_id, show_value()
408 u32 report_id; store_value() local
414 report_id = sensor_inst->fields[field_index].attribute. store_value()
415 report_id; store_value()
416 ret = sensor_hub_set_feature(sensor_inst->hsdev, report_id, store_value()
506 sensor_field->attribute.report_id = report->id; hid_sensor_custom_add_field()
H A Dhid-sensor-hub.c99 s32 index, s32 report_id, struct hid_field *field) sensor_hub_fill_attr_info()
102 info->report_id = report_id; sensor_hub_fill_attr_info()
203 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, sensor_hub_set_feature() argument
215 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); sensor_hub_set_feature()
245 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, sensor_hub_get_feature() argument
254 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); sensor_hub_get_feature()
284 u32 attr_usage_id, u32 report_id, sensor_hub_input_attr_get_raw_value()
292 report = sensor_hub_report(report_id, hsdev->hdev, sensor_hub_input_attr_get_raw_value()
338 u32 report_id, int field_index, u32 usage_id) hid_sensor_get_usage_index()
344 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); hid_sensor_get_usage_index()
375 info->report_id = -1; sensor_hub_input_get_attribute_info()
97 sensor_hub_fill_attr_info( struct hid_sensor_hub_attribute_info *info, s32 index, s32 report_id, struct hid_field *field) sensor_hub_fill_attr_info() argument
282 sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, u32 usage_id, u32 attr_usage_id, u32 report_id, enum sensor_hub_read_flags flag) sensor_hub_input_attr_get_raw_value() argument
337 hid_sensor_get_usage_index(struct hid_sensor_hub_device *hsdev, u32 report_id, int field_index, u32 usage_id) hid_sensor_get_usage_index() argument
H A Dhid-logitech-hidpp.c94 u8 report_id; member in struct:hidpp_report
149 switch (hidpp_report->report_id) { __hidpp_send_report()
166 ret = hid_hw_raw_request(hdev, hidpp_report->report_id, __hidpp_send_report()
213 if (response->report_id == REPORT_ID_HIDPP_SHORT && hidpp_send_message_sync()
220 if (response->report_id == REPORT_ID_HIDPP_LONG && hidpp_send_message_sync()
246 message->report_id = REPORT_ID_HIDPP_LONG; hidpp_send_fap_command_sync()
257 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, hidpp_send_rap_command_sync()
263 if ((report_id != REPORT_ID_HIDPP_SHORT) && hidpp_send_rap_command_sync()
264 (report_id != REPORT_ID_HIDPP_LONG)) hidpp_send_rap_command_sync()
273 message->report_id = report_id; hidpp_send_rap_command_sync()
308 return (report->report_id == REPORT_ID_HIDPP_SHORT) && hidpp_report_is_connect_event()
511 if (response.report_id == REPORT_ID_HIDPP_LONG) hidpp_devicenametype_get_device_name()
256 hidpp_send_rap_command_sync(struct hidpp_device *hidpp_dev, u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, struct hidpp_report *response) hidpp_send_rap_command_sync() argument
H A Duhid.c51 u32 report_id; member in struct:uhid_device
150 __u32 *report_id) __uhid_report_queue_and_wait()
156 *report_id = ++uhid->report_id; __uhid_report_queue_and_wait()
185 if (uhid->report_type != ev->type || uhid->report_id != id) uhid_report_wake_up()
148 __uhid_report_queue_and_wait(struct uhid_device *uhid, struct uhid_event *ev, __u32 *report_id) __uhid_report_queue_and_wait() argument
H A Dhid-picolcd_debugfs.c189 static ssize_t _picolcd_flash_read(struct picolcd_data *data, int report_id, _picolcd_flash_read() argument
201 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off+1); _picolcd_flash_read()
244 static ssize_t _picolcd_flash_erase64(struct picolcd_data *data, int report_id, _picolcd_flash_erase64() argument
256 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off); _picolcd_flash_erase64()
271 static ssize_t _picolcd_flash_write(struct picolcd_data *data, int report_id, _picolcd_flash_write() argument
287 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, _picolcd_flash_write()
H A Dwacom_sys.c325 static int wacom_set_device_mode(struct hid_device *hdev, int report_id, wacom_set_device_mode() argument
336 rep_data[0] = report_id; wacom_set_device_mode()
591 unsigned char report_id = WAC_CMD_LED_CONTROL; wacom_led_control() local
595 report_id = WAC_CMD_WL_LED_CONTROL; wacom_led_control()
614 buf[0] = report_id; wacom_led_control()
618 buf[0] = report_id; wacom_led_control()
630 buf[0] = report_id; wacom_led_control()
H A Dhid-picolcd.h309 int report_id, const u8 *raw_data, int size);
H A Dhid-picolcd_core.c78 int report_id, const u8 *raw_data, int size) picolcd_send_and_wait()
82 struct hid_report *report = picolcd_out_report(report_id, hdev); picolcd_send_and_wait()
77 picolcd_send_and_wait(struct hid_device *hdev, int report_id, const u8 *raw_data, int size) picolcd_send_and_wait() argument
H A Dhid-prodikeys.c499 struct pcmidi_snd *pm, unsigned report_id, u8 *data, int size) pcmidi_handle_report()
503 switch (report_id) { pcmidi_handle_report()
498 pcmidi_handle_report( struct pcmidi_snd *pm, unsigned report_id, u8 *data, int size) pcmidi_handle_report() argument
H A Dhid-logitech-dj.c105 u8 report_id; member in struct:dj_report
621 dj_report->report_id = REPORT_ID_DJ_SHORT; logi_dj_recv_query_paired_devices()
641 dj_report->report_id = REPORT_ID_DJ_SHORT; logi_dj_recv_switch_to_dj_mode()
H A Dhid-core.c229 report = hid_register_report(parser->device, report_type, parser->global.report_id); hid_add_field()
407 parser->global.report_id = item_udata(item); hid_parser_global()
408 if (parser->global.report_id == 0 || hid_parser_global()
409 parser->global.report_id >= HID_MAX_IDS) { hid_parser_global()
410 hid_err(parser->device, "report_id %u is invalid\n", hid_parser_global()
411 parser->global.report_id); hid_parser_global()
1382 dbg_hid("undefined report_id %u received\n", n); hid_get_report()
H A Dhid-sony.c992 __u8 report_id; member in struct:sixaxis_output_report
1844 hid_hw_raw_request(sc->hdev, report->report_id, (__u8 *)report, sixaxis_state_worker()
2315 * the Sixaxis does not want the report_id as part of the data sony_probe()
/linux-4.4.14/include/uapi/linux/
H A Dhiddev.h67 __u32 report_id; member in struct:hiddev_report_info
72 * report_id. Set report_id to REPORT_ID_UNKNOWN if the rest of the fields
92 __u32 report_id; member in struct:hiddev_field_info
107 /* Fill in report_type, report_id and field_index to get the information on a
122 __u32 report_id; member in struct:hiddev_usage_ref
188 * rinfo.report_id = HID_REPORT_ID_FIRST;
194 * finfo.report_id = rinfo.report_id;
199 * uref.report_id = rinfo.report_id;
206 * rinfo.report_id |= HID_REPORT_ID_NEXT;
/linux-4.4.14/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c47 st->power_state.report_id, _hid_sensor_power_state()
51 st->report_state.report_id, _hid_sensor_power_state()
65 st->power_state.report_id, _hid_sensor_power_state()
69 st->report_state.report_id, _hid_sensor_power_state()
76 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, _hid_sensor_power_state()
83 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, _hid_sensor_power_state()
89 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, _hid_sensor_power_state()
H A Dhid-sensor-attributes.c156 st->poll.report_id, hid_sensor_read_poll_value()
177 st->poll.report_id, hid_sensor_read_samp_freq_value()
215 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, hid_sensor_write_samp_freq_value()
231 st->sensitivity.report_id, hid_sensor_read_raw_hyst_value()
256 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, hid_sensor_write_raw_hyst_value()
386 st->poll.index, st->poll.report_id, hid_sensor_parse_common_attributes()
387 st->report_state.index, st->report_state.report_id, hid_sensor_parse_common_attributes()
388 st->power_state.index, st->power_state.report_id, hid_sensor_parse_common_attributes()
389 st->sensitivity.index, st->sensitivity.report_id); hid_sensor_parse_common_attributes()
/linux-4.4.14/include/linux/
H A Dhid-sensor-hub.h31 * @report_id: Report id in which this information resides.
42 s32 report_id; member in struct:hid_sensor_hub_attribute_info
178 * @report_id: Report id to look for
192 u32 attr_usage_id, u32 report_id,
199 * @report_id: Report id to look for
207 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
213 * @report_id: Report id to look for
222 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
265 u32 report_id, int field_index, u32 usage_id);
H A Dhid.h361 unsigned report_id; member in struct:hid_global
/linux-4.4.14/drivers/iio/light/
H A Dhid-sensor-als.c80 int report_id = -1; als_read_raw() local
90 report_id = als_state->als_illum.report_id; als_read_raw()
95 report_id = -1; als_read_raw()
98 if (report_id >= 0) { als_read_raw()
104 report_id, als_read_raw()
237 st->als_illum.report_id); als_parse_report()
253 st->common_attributes.sensitivity.report_id); als_parse_report()
H A Dhid-sensor-prox.c73 int report_id = -1; prox_read_raw() local
83 report_id = prox_state->prox_attr.report_id; prox_read_raw()
88 report_id = -1; prox_read_raw()
91 if (report_id >= 0) { prox_read_raw()
97 report_id, prox_read_raw()
230 st->prox_attr.report_id); prox_parse_report()
241 st->common_attributes.sensitivity.report_id); prox_parse_report()
/linux-4.4.14/drivers/iio/pressure/
H A Dhid-sensor-press.c77 int report_id = -1; press_read_raw() local
87 report_id = press_state->press_attr.report_id; press_read_raw()
92 report_id = -1; press_read_raw()
95 if (report_id >= 0) { press_read_raw()
101 report_id, press_read_raw()
234 st->press_attr.report_id); press_parse_report()
250 st->common_attributes.sensitivity.report_id); press_parse_report()
/linux-4.4.14/drivers/hid/usbhid/
H A Dhiddev.c79 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; hiddev_lookup_report()
80 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; hiddev_lookup_report()
93 case 0: /* Nothing to do -- report_id is already set correctly */ hiddev_lookup_report()
102 rinfo->report_id = report->id; hiddev_lookup_report()
115 rinfo->report_id = report->id; hiddev_lookup_report()
122 return report_enum->report_id_hash[rinfo->report_id]; hiddev_lookup_report()
149 uref->report_id = report->id; hiddev_lookup_usage()
197 uref.report_id = field->report->id; hiddev_hid_event()
217 uref.report_id = report->id; hiddev_report_event()
475 rinfo.report_id = uref->report_id; hiddev_ioctl_usage()
499 if (uref->report_id == HID_REPORT_ID_UNKNOWN) { hiddev_ioctl_usage()
505 rinfo.report_id = uref->report_id; hiddev_ioctl_usage()
756 rinfo.report_id = finfo.report_id; hiddev_ioctl()
768 finfo.report_id = rinfo.report_id; hiddev_ioctl()
/linux-4.4.14/drivers/rtc/
H A Drtc-hid-sensor-time.c152 int report_id, i; hid_time_parse_report() local
161 report_id = time_state->info[0].report_id; hid_time_parse_report()
162 if (report_id < 0) { hid_time_parse_report()
167 if (time_state->info[i].report_id != report_id) { hid_time_parse_report()
216 time_state->info[0].report_id, SENSOR_HUB_SYNC); hid_rtc_read_time()
/linux-4.4.14/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c111 int report_id = -1; accel_3d_read_raw() local
120 report_id = accel_state->accel[chan->scan_index].report_id; accel_3d_read_raw()
122 if (report_id >= 0) accel_3d_read_raw()
126 report_id, accel_3d_read_raw()
270 st->accel[0].report_id, accel_3d_parse_report()
271 st->accel[1].index, st->accel[1].report_id, accel_3d_parse_report()
272 st->accel[2].index, st->accel[2].report_id); accel_3d_parse_report()
288 st->common_attributes.sensitivity.report_id); accel_3d_parse_report()
/linux-4.4.14/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c111 int report_id = -1; gyro_3d_read_raw() local
120 report_id = gyro_state->gyro[chan->scan_index].report_id; gyro_3d_read_raw()
122 if (report_id >= 0) gyro_3d_read_raw()
126 report_id, gyro_3d_read_raw()
270 st->gyro[0].report_id, gyro_3d_parse_report()
271 st->gyro[1].index, st->gyro[1].report_id, gyro_3d_parse_report()
272 st->gyro[2].index, st->gyro[2].report_id); gyro_3d_parse_report()
288 st->common_attributes.sensitivity.report_id); gyro_3d_parse_report()
/linux-4.4.14/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c157 int report_id = -1; magn_3d_read_raw() local
166 report_id = magn_3d_read_raw()
167 magn_state->magn[chan->address].report_id; magn_3d_read_raw()
169 if (report_id >= 0) magn_3d_read_raw()
173 report_id, magn_3d_read_raw()
340 st->magn[0].report_id, magn_3d_parse_report()
341 st->magn[1].index, st->magn[1].report_id, magn_3d_parse_report()
342 st->magn[2].index, st->magn[2].report_id); magn_3d_parse_report()
406 st->common_attributes.sensitivity.report_id); magn_3d_parse_report()
/linux-4.4.14/drivers/iio/orientation/
H A Dhid-sensor-incl-3d.c111 int report_id = -1; incl_3d_read_raw() local
120 report_id = incl_3d_read_raw()
121 incl_state->incl[chan->scan_index].report_id; incl_3d_read_raw()
123 if (report_id >= 0) incl_3d_read_raw()
127 report_id, incl_3d_read_raw()
287 st->incl[0].report_id, incl_3d_parse_report()
288 st->incl[1].index, st->incl[1].report_id, incl_3d_parse_report()
289 st->incl[2].index, st->incl[2].report_id); incl_3d_parse_report()
305 st->common_attributes.sensitivity.report_id); incl_3d_parse_report()
H A Dhid-sensor-rotation.c197 st->quaternion.report_id); dev_rot_parse_report()
211 st->common_attributes.sensitivity.report_id); dev_rot_parse_report()
/linux-4.4.14/drivers/input/mouse/
H A Dcyapa_gen5.c271 u8 report_id; /* Bootloader output report id, must be 40h */ member in struct:pip_bl_cmd_head
310 u8 report_id; /* Application output report id, must be 2Fh */ member in struct:pip_app_cmd_head
1027 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; cyapa_pip_bl_initiate()
1302 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; cyapa_pip_write_fw_block()
1423 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen5_set_interval_time()
1478 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen5_get_interval_time()
1511 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen5_disable_pip_report()
1754 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_pip_calibrate_pwcs()
1960 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen5_read_idac_data()
2139 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen5_execute_panel_scan()
2191 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen5_read_panel_scan_raw_data()
2718 u8 report_id; cyapa_pip_irq_handler() local
2755 report_id = report_data.report_head[PIP_RESP_REPORT_ID_OFFSET]; cyapa_pip_irq_handler()
2756 if (report_id == PIP_WAKEUP_EVENT_REPORT_ID && cyapa_pip_irq_handler()
2772 } else if (report_id != PIP_TOUCH_REPORT_ID && cyapa_pip_irq_handler()
2773 report_id != PIP_BTN_REPORT_ID && cyapa_pip_irq_handler()
2774 report_id != GEN5_OLD_PUSH_BTN_REPORT_ID && cyapa_pip_irq_handler()
2775 report_id != PIP_PUSH_BTN_REPORT_ID && cyapa_pip_irq_handler()
2776 report_id != PIP_PROXIMITY_REPORT_ID) { cyapa_pip_irq_handler()
2778 dev_err(dev, "invalid report_id=0x%02x\n", report_id); cyapa_pip_irq_handler()
2782 if (report_id == PIP_TOUCH_REPORT_ID && cyapa_pip_irq_handler()
2790 if ((report_id == PIP_BTN_REPORT_ID || cyapa_pip_irq_handler()
2791 report_id == GEN5_OLD_PUSH_BTN_REPORT_ID || cyapa_pip_irq_handler()
2792 report_id == PIP_PUSH_BTN_REPORT_ID) && cyapa_pip_irq_handler()
2800 if (report_id == PIP_PROXIMITY_REPORT_ID && cyapa_pip_irq_handler()
2807 if (report_id == PIP_TOUCH_REPORT_ID) cyapa_pip_irq_handler()
2809 else if (report_id == PIP_PROXIMITY_REPORT_ID) cyapa_pip_irq_handler()
H A Dcyapa_gen6.c46 u8 report_id; member in struct:pip_app_cmd_head
53 u8 report_id; member in struct:pip_app_resp_head
347 u8 report_id; cyapa_gen6_set_interval_setting() member in struct:gen6_set_interval_cmd
362 set_interval_cmd.report_id = PIP_APP_CMD_REPORT_ID; cyapa_gen6_set_interval_setting()
577 cmd.head.report_id = PIP_APP_CMD_REPORT_ID; cyapa_pip_retrieve_data_structure()
/linux-4.4.14/drivers/hid/i2c-hid/
H A Di2c-hid.c594 int report_id = buf[0]; i2c_hid_output_raw_report() local
600 if (report_id) { i2c_hid_output_raw_report()
607 report_id, buf, count, use_data); i2c_hid_output_raw_report()
609 if (report_id && ret >= 0) i2c_hid_output_raw_report()
610 ret++; /* add report_id to the number of transfered bytes */ i2c_hid_output_raw_report()
/linux-4.4.14/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c656 u8 report_id; member in struct:dib0700_rc_response
706 poll_reply->report_id, poll_reply->data_state, dib0700_rc_urb_completion()
747 toggle = poll_reply->report_id; dib0700_rc_urb_completion()
/linux-4.4.14/drivers/input/touchscreen/
H A Datmel_mxt_ts.c865 u8 report_id = message[0]; mxt_proc_message() local
867 if (report_id == MXT_RPTID_NOMSG) mxt_proc_message()
870 if (report_id == data->T6_reportid) { mxt_proc_message()
878 } else if (report_id >= data->T9_reportid_min && mxt_proc_message()
879 report_id <= data->T9_reportid_max) { mxt_proc_message()
881 } else if (report_id >= data->T100_reportid_min && mxt_proc_message()
882 report_id <= data->T100_reportid_max) { mxt_proc_message()
884 } else if (report_id == data->T19_reportid) { mxt_proc_message()
/linux-4.4.14/drivers/input/tablet/
H A Daiptek.c151 * Use report_id 2
874 unsigned char report_id, void *buffer, int size) aiptek_set_report()
880 USB_DIR_OUT, (report_type << 8) + report_id, aiptek_set_report()
887 unsigned char report_id, void *buffer, int size) aiptek_get_report()
893 USB_DIR_IN, (report_type << 8) + report_id, aiptek_get_report()
872 aiptek_set_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) aiptek_set_report() argument
885 aiptek_get_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) aiptek_get_report() argument

Completed in 1027 milliseconds