Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c177 st->poll.report_id, in hid_sensor_read_poll_value()
198 st->poll.report_id, in hid_sensor_read_samp_freq_value()
236 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
242 st->poll.report_id, in hid_sensor_write_samp_freq_value()
260 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value()
288 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
295 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
423 st->report_latency.index, st->report_latency.report_id); in hid_sensor_get_report_latency_info()
431 ret = sensor_hub_get_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_get_report_latency()
443 return sensor_hub_set_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_set_report_latency()
[all …]
Dhid-sensor-trigger.c120 st->power_state.report_id, in _hid_sensor_power_state()
124 st->report_state.report_id, in _hid_sensor_power_state()
138 st->power_state.report_id, in _hid_sensor_power_state()
142 st->report_state.report_id, in _hid_sensor_power_state()
149 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
156 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, in _hid_sensor_power_state()
165 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
213 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, in hid_sensor_set_power_work()
220 attrb->sensitivity.report_id, in hid_sensor_set_power_work()
/linux-4.19.296/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.c100 s32 index, s32 report_id, struct hid_field *field) in sensor_hub_fill_attr_info() argument
103 info->report_id = report_id; in sensor_hub_fill_attr_info()
204 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() argument
216 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature()
252 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() argument
266 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_get_feature()
306 u32 attr_usage_id, u32 report_id, in sensor_hub_input_attr_get_raw_value() argument
315 report = sensor_hub_report(report_id, hsdev->hdev, in sensor_hub_input_attr_get_raw_value()
367 u32 report_id, int field_index, u32 usage_id) in hid_sensor_get_usage_index() argument
373 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in hid_sensor_get_usage_index()
[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()
Dhid-logitech-hidpp.c110 u8 report_id; member
182 switch (hidpp_report->report_id) { in __hidpp_send_report()
205 ret = hid_hw_raw_request(hdev, hidpp_report->report_id, in __hidpp_send_report()
253 if (response->report_id == REPORT_ID_HIDPP_SHORT && in hidpp_send_message_sync()
260 if ((response->report_id == REPORT_ID_HIDPP_LONG || in hidpp_send_message_sync()
261 response->report_id == REPORT_ID_HIDPP_VERY_LONG) && in hidpp_send_message_sync()
289 message->report_id = REPORT_ID_HIDPP_VERY_LONG; in hidpp_send_fap_command_sync()
291 message->report_id = REPORT_ID_HIDPP_LONG; in hidpp_send_fap_command_sync()
302 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, in hidpp_send_rap_command_sync() argument
308 switch (report_id) { in hidpp_send_rap_command_sync()
[all …]
Duhid.c63 u32 report_id; member
187 __u32 *report_id) in __uhid_report_queue_and_wait() argument
193 *report_id = ++uhid->report_id; in __uhid_report_queue_and_wait()
222 if (uhid->report_type != ev->type || uhid->report_id != id) in uhid_report_wake_up()
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()
Dhid-picolcd.h309 int report_id, const u8 *raw_data, int size);
/linux-4.19.296/include/linux/
Dhid-sensor-hub.h42 s32 report_id; member
193 u32 attr_usage_id, u32 report_id,
209 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
224 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
274 u32 report_id, int field_index, u32 usage_id);
/linux-4.19.296/drivers/iio/pressure/
Dhid-sensor-press.c77 int report_id = -1; in press_read_raw() local
88 report_id = press_state->press_attr.report_id; in press_read_raw()
93 report_id = -1; in press_read_raw()
96 if (report_id >= 0) { in press_read_raw()
102 report_id, in press_read_raw()
235 st->press_attr.report_id); in press_parse_report()
251 st->common_attributes.sensitivity.report_id); in press_parse_report()
/linux-4.19.296/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c111 int report_id = -1; in gyro_3d_read_raw() local
121 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
124 if (report_id >= 0) in gyro_3d_read_raw()
128 report_id, in gyro_3d_read_raw()
272 st->gyro[0].report_id, in gyro_3d_parse_report()
273 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
274 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
290 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
/linux-4.19.296/drivers/iio/orientation/
Dhid-sensor-incl-3d.c111 int report_id = -1; in incl_3d_read_raw() local
121 report_id = incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw()
124 if (report_id >= 0) in incl_3d_read_raw()
128 report_id, in incl_3d_read_raw()
288 st->incl[0].report_id, in incl_3d_parse_report()
289 st->incl[1].index, st->incl[1].report_id, in incl_3d_parse_report()
290 st->incl[2].index, st->incl[2].report_id); in incl_3d_parse_report()
306 st->common_attributes.sensitivity.report_id); in incl_3d_parse_report()
Dhid-sensor-rotation.c211 st->quaternion.report_id); in dev_rot_parse_report()
230 st->common_attributes.sensitivity.report_id); in dev_rot_parse_report()
/linux-4.19.296/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, false); in hid_rtc_read_time()
/linux-4.19.296/drivers/iio/light/
Dhid-sensor-prox.c76 int report_id = -1; in prox_read_raw() local
87 report_id = prox_state->prox_attr.report_id; in prox_read_raw()
92 report_id = -1; in prox_read_raw()
95 if (report_id >= 0) { in prox_read_raw()
101 report_id, in prox_read_raw()
235 st->prox_attr.report_id); in prox_parse_report()
246 st->common_attributes.sensitivity.report_id); in prox_parse_report()
Dhid-sensor-als.c93 int report_id = -1; in als_read_raw() local
105 report_id = als_state->als_illum.report_id; in als_read_raw()
110 report_id = -1; in als_read_raw()
113 if (report_id >= 0) { in als_read_raw()
119 report_id, in als_read_raw()
256 st->als_illum.report_id); in als_parse_report()
272 st->common_attributes.sensitivity.report_id); in als_parse_report()
/linux-4.19.296/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c163 int report_id = -1; in magn_3d_read_raw() local
173 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
176 if (report_id >= 0) in magn_3d_read_raw()
180 report_id, in magn_3d_read_raw()
390 st->magn[0].report_id, in magn_3d_parse_report()
391 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
392 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
463 st->magn_flux_attributes.sensitivity.report_id); in magn_3d_parse_report()
473 st->magn_flux_attributes.sensitivity.report_id); in magn_3d_parse_report()
483 st->rot_attributes.sensitivity.report_id); in magn_3d_parse_report()
/linux-4.19.296/drivers/iio/accel/
Dhid-sensor-accel-3d.c152 int report_id = -1; in accel_3d_read_raw() local
164 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
167 if (report_id >= 0) in accel_3d_read_raw()
170 hsdev->usage, address, report_id, in accel_3d_read_raw()
328 st->accel[0].report_id, in accel_3d_parse_report()
329 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
330 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
346 st->common_attributes.sensitivity.report_id); in accel_3d_parse_report()
/linux-4.19.296/drivers/hid/usbhid/
Dhiddev.c71 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report()
72 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report()
94 rinfo->report_id = report->id; in hiddev_lookup_report()
107 rinfo->report_id = report->id; in hiddev_lookup_report()
114 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report()
141 uref->report_id = report->id; in hiddev_lookup_usage()
189 uref.report_id = field->report->id; in hiddev_hid_event()
209 uref.report_id = report->id; in hiddev_report_event()
466 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage()
494 if (uref->report_id == HID_REPORT_ID_UNKNOWN) { in hiddev_ioctl_usage()
[all …]
/linux-4.19.296/drivers/hid/intel-ish-hid/
Dishtp-hid.h51 uint8_t report_id; member
173 int report_id);
174 void hid_ishtp_get_report(struct hid_device *hid, int report_id,
Dishtp-hid-client.c365 int report_id) in hid_ishtp_set_feature() argument
410 void hid_ishtp_get_report(struct hid_device *hid, int report_id, in hid_ishtp_get_report() argument
440 msg.report_id = report_id; in hid_ishtp_get_report()
/linux-4.19.296/include/uapi/linux/
Dhiddev.h68 __u32 report_id; member
93 __u32 report_id; member
123 __u32 report_id; member

12