Home
last modified time | relevance | path

Searched refs:report_id (Results 1 – 25 of 32) sorted by relevance

12

/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c45 st->power_state.report_id, in _hid_sensor_power_state()
49 st->report_state.report_id, in _hid_sensor_power_state()
61 st->power_state.report_id, in _hid_sensor_power_state()
65 st->report_state.report_id, in _hid_sensor_power_state()
72 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
79 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, in _hid_sensor_power_state()
88 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
Dhid-sensor-attributes.c156 st->poll.report_id, in hid_sensor_read_poll_value()
177 st->poll.report_id, in hid_sensor_read_samp_freq_value()
215 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
231 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value()
256 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
386 st->poll.index, st->poll.report_id, in hid_sensor_parse_common_attributes()
387 st->report_state.index, st->report_state.report_id, in hid_sensor_parse_common_attributes()
388 st->power_state.index, st->power_state.report_id, in hid_sensor_parse_common_attributes()
389 st->sensitivity.index, st->sensitivity.report_id); in hid_sensor_parse_common_attributes()
/drivers/hid/
Dhid-roccat-common.c19 static inline uint16_t roccat_common2_feature_report(uint8_t report_id) in roccat_common2_feature_report() argument
21 return 0x300 | report_id; in roccat_common2_feature_report()
24 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() argument
37 roccat_common2_feature_report(report_id), in roccat_common2_receive()
46 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() argument
59 roccat_common2_feature_report(report_id), in roccat_common2_send()
Dhid-sensor-custom.c34 int report_id; member
194 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
199 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
207 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
222 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
307 u32 report_id; in show_value() local
311 report_id = attribute->report_id; in show_value()
319 report_id, in show_value()
360 usage, report_id, in show_value()
408 u32 report_id; in store_value() local
[all …]
Dhid-sensor-hub.c99 s32 index, s32 report_id, struct hid_field *field) in sensor_hub_fill_attr_info() argument
102 info->report_id = report_id; in sensor_hub_fill_attr_info()
203 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() argument
215 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature()
251 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() argument
260 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_get_feature()
290 u32 attr_usage_id, u32 report_id, in sensor_hub_input_attr_get_raw_value() argument
298 report = sensor_hub_report(report_id, hsdev->hdev, in sensor_hub_input_attr_get_raw_value()
344 u32 report_id, int field_index, u32 usage_id) in hid_sensor_get_usage_index() argument
350 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in hid_sensor_get_usage_index()
[all …]
Dhid-logitech-hidpp.c94 u8 report_id; member
149 switch (hidpp_report->report_id) { in __hidpp_send_report()
166 ret = hid_hw_raw_request(hdev, hidpp_report->report_id, in __hidpp_send_report()
213 if (response->report_id == REPORT_ID_HIDPP_SHORT && in hidpp_send_message_sync()
220 if (response->report_id == REPORT_ID_HIDPP_LONG && in hidpp_send_message_sync()
246 message->report_id = REPORT_ID_HIDPP_LONG; in hidpp_send_fap_command_sync()
257 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, in hidpp_send_rap_command_sync() argument
263 if ((report_id != REPORT_ID_HIDPP_SHORT) && in hidpp_send_rap_command_sync()
264 (report_id != REPORT_ID_HIDPP_LONG)) in hidpp_send_rap_command_sync()
273 message->report_id = report_id; in hidpp_send_rap_command_sync()
[all …]
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,
Dhid-picolcd_debugfs.c189 static ssize_t _picolcd_flash_read(struct picolcd_data *data, int report_id, in _picolcd_flash_read() argument
201 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off+1); in _picolcd_flash_read()
244 static ssize_t _picolcd_flash_erase64(struct picolcd_data *data, int report_id, in _picolcd_flash_erase64() argument
256 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off); in _picolcd_flash_erase64()
271 static ssize_t _picolcd_flash_write(struct picolcd_data *data, int report_id, in _picolcd_flash_write() argument
287 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, in _picolcd_flash_write()
Duhid.c67 u32 report_id; member
202 __u32 *report_id) in __uhid_report_queue_and_wait() argument
208 *report_id = ++uhid->report_id; in __uhid_report_queue_and_wait()
237 if (uhid->report_type != ev->type || uhid->report_id != id) in uhid_report_wake_up()
Dwacom_sys.c325 static int wacom_set_device_mode(struct hid_device *hdev, int report_id, in wacom_set_device_mode() argument
336 rep_data[0] = report_id; in wacom_set_device_mode()
591 unsigned char report_id = WAC_CMD_LED_CONTROL; in wacom_led_control() local
595 report_id = WAC_CMD_WL_LED_CONTROL; in wacom_led_control()
614 buf[0] = report_id; in wacom_led_control()
618 buf[0] = report_id; in wacom_led_control()
630 buf[0] = report_id; in wacom_led_control()
Dhid-logitech-dj.c105 u8 report_id; member
621 dj_report->report_id = REPORT_ID_DJ_SHORT; in logi_dj_recv_query_paired_devices()
641 dj_report->report_id = REPORT_ID_DJ_SHORT; in logi_dj_recv_switch_to_dj_mode()
/drivers/iio/orientation/
Dhid-sensor-incl-3d.c111 int report_id = -1; in incl_3d_read_raw() local
120 report_id = in incl_3d_read_raw()
121 incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw()
123 if (report_id >= 0) in incl_3d_read_raw()
127 report_id, in incl_3d_read_raw()
287 st->incl[0].report_id, in incl_3d_parse_report()
288 st->incl[1].index, st->incl[1].report_id, in incl_3d_parse_report()
289 st->incl[2].index, st->incl[2].report_id); in incl_3d_parse_report()
305 st->common_attributes.sensitivity.report_id); in incl_3d_parse_report()
Dhid-sensor-rotation.c197 st->quaternion.report_id); in dev_rot_parse_report()
211 st->common_attributes.sensitivity.report_id); in dev_rot_parse_report()
/drivers/iio/accel/
Dhid-sensor-accel-3d.c111 int report_id = -1; in accel_3d_read_raw() local
120 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
122 if (report_id >= 0) in accel_3d_read_raw()
126 report_id, in accel_3d_read_raw()
270 st->accel[0].report_id, in accel_3d_parse_report()
271 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
272 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
288 st->common_attributes.sensitivity.report_id); in accel_3d_parse_report()
/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c111 int report_id = -1; in gyro_3d_read_raw() local
120 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
122 if (report_id >= 0) in gyro_3d_read_raw()
126 report_id, in gyro_3d_read_raw()
270 st->gyro[0].report_id, in gyro_3d_parse_report()
271 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
272 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
288 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
/drivers/iio/pressure/
Dhid-sensor-press.c77 int report_id = -1; in press_read_raw() local
87 report_id = press_state->press_attr.report_id; in press_read_raw()
92 report_id = -1; in press_read_raw()
95 if (report_id >= 0) { in press_read_raw()
101 report_id, in press_read_raw()
234 st->press_attr.report_id); in press_parse_report()
250 st->common_attributes.sensitivity.report_id); in press_parse_report()
/drivers/iio/light/
Dhid-sensor-prox.c76 int report_id = -1; in prox_read_raw() local
86 report_id = prox_state->prox_attr.report_id; in prox_read_raw()
91 report_id = -1; in prox_read_raw()
94 if (report_id >= 0) { in prox_read_raw()
100 report_id, in prox_read_raw()
234 st->prox_attr.report_id); in prox_parse_report()
245 st->common_attributes.sensitivity.report_id); in prox_parse_report()
Dhid-sensor-als.c80 int report_id = -1; in als_read_raw() local
90 report_id = als_state->als_illum.report_id; in als_read_raw()
95 report_id = -1; in als_read_raw()
98 if (report_id >= 0) { in als_read_raw()
104 report_id, in als_read_raw()
237 st->als_illum.report_id); in als_parse_report()
253 st->common_attributes.sensitivity.report_id); in als_parse_report()
/drivers/rtc/
Drtc-hid-sensor-time.c152 int report_id, i; in hid_time_parse_report() local
161 report_id = time_state->info[0].report_id; in hid_time_parse_report()
162 if (report_id < 0) { in hid_time_parse_report()
167 if (time_state->info[i].report_id != report_id) { in hid_time_parse_report()
216 time_state->info[0].report_id, SENSOR_HUB_SYNC); in hid_rtc_read_time()
/drivers/hid/usbhid/
Dhiddev.c80 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report()
81 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report()
103 rinfo->report_id = report->id; in hiddev_lookup_report()
116 rinfo->report_id = report->id; in hiddev_lookup_report()
123 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report()
150 uref->report_id = report->id; in hiddev_lookup_usage()
198 uref.report_id = field->report->id; in hiddev_hid_event()
218 uref.report_id = report->id; in hiddev_report_event()
488 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage()
516 if (uref->report_id == HID_REPORT_ID_UNKNOWN) { in hiddev_ioctl_usage()
[all …]
/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c157 int report_id = -1; in magn_3d_read_raw() local
166 report_id = in magn_3d_read_raw()
167 magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
169 if (report_id >= 0) in magn_3d_read_raw()
173 report_id, in magn_3d_read_raw()
340 st->magn[0].report_id, in magn_3d_parse_report()
341 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
342 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
406 st->common_attributes.sensitivity.report_id); in magn_3d_parse_report()
/drivers/input/mouse/
Dcyapa_gen5.c271 u8 report_id; /* Bootloader output report id, must be 40h */ member
310 u8 report_id; /* Application output report id, must be 2Fh */ member
1027 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_bl_initiate()
1302 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_write_fw_block()
1423 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_set_interval_time()
1478 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_get_interval_time()
1511 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_disable_pip_report()
1754 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_calibrate_pwcs()
1960 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data()
2139 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_execute_panel_scan()
[all …]
Dcyapa_gen6.c46 u8 report_id; member
53 u8 report_id; member
347 u8 report_id; in cyapa_gen6_set_interval_setting() member
362 set_interval_cmd.report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen6_set_interval_setting()
577 cmd.head.report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_retrieve_data_structure()
/drivers/input/touchscreen/
Datmel_mxt_ts.c865 u8 report_id = message[0]; in mxt_proc_message() local
867 if (report_id == MXT_RPTID_NOMSG) in mxt_proc_message()
870 if (report_id == data->T6_reportid) { in mxt_proc_message()
878 } else if (report_id >= data->T9_reportid_min && in mxt_proc_message()
879 report_id <= data->T9_reportid_max) { in mxt_proc_message()
881 } else if (report_id >= data->T100_reportid_min && in mxt_proc_message()
882 report_id <= data->T100_reportid_max) { in mxt_proc_message()
884 } else if (report_id == data->T19_reportid) { in mxt_proc_message()
/drivers/hid/i2c-hid/
Di2c-hid.c605 int report_id = buf[0]; in i2c_hid_output_raw_report() local
611 if (report_id) { in i2c_hid_output_raw_report()
618 report_id, buf, count, use_data); in i2c_hid_output_raw_report()
620 if (report_id && ret >= 0) in i2c_hid_output_raw_report()

12