Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c165 st->poll.report_id, in hid_sensor_read_poll_value()
186 st->poll.report_id, in hid_sensor_read_samp_freq_value()
224 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
230 st->poll.report_id, in hid_sensor_write_samp_freq_value()
248 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value()
276 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
283 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
415 st->report_latency.index, st->report_latency.report_id); in hid_sensor_get_report_latency_info()
423 ret = sensor_hub_get_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_get_report_latency()
435 return sensor_hub_set_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_set_report_latency()
[all …]
Dhid-sensor-trigger.c109 st->power_state.report_id, in _hid_sensor_power_state()
113 st->report_state.report_id, in _hid_sensor_power_state()
127 st->power_state.report_id, in _hid_sensor_power_state()
131 st->report_state.report_id, in _hid_sensor_power_state()
138 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
145 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, in _hid_sensor_power_state()
154 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
202 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, in hid_sensor_set_power_work()
209 attrb->sensitivity.report_id, in hid_sensor_set_power_work()
/Linux-v5.10/drivers/input/touchscreen/
Dsis_i2c.c112 u8 report_id; in sis_read_packet() local
129 report_id = buf[SIS_PKT_REPORT_OFFSET]; in sis_read_packet()
133 if (report_id != SIS_ALL_IN_ONE_PACKAGE) { in sis_read_packet()
134 if (SIS_PKT_IS_TOUCH(report_id)) { in sis_read_packet()
152 } else if (!SIS_PKT_IS_HIDI2C(report_id)) { in sis_read_packet()
155 __func__, report_id); in sis_read_packet()
159 if (SIS_PKT_HAS_SCANTIME(report_id)) in sis_read_packet()
162 if (SIS_PKT_HAS_AREA(report_id)) in sis_read_packet()
164 if (SIS_PKT_HAS_PRESSURE(report_id)) in sis_read_packet()
231 u8 report_id; in sis_ts_handle_packet() local
[all …]
/Linux-v5.10/drivers/hid/
Dhid-roccat-common.c16 static inline uint16_t roccat_common2_feature_report(uint8_t report_id) in roccat_common2_feature_report() argument
18 return 0x300 | report_id; in roccat_common2_feature_report()
21 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() argument
34 roccat_common2_feature_report(report_id), in roccat_common2_receive()
43 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() argument
56 roccat_common2_feature_report(report_id), in roccat_common2_send()
Dhid-sensor-custom.c26 int report_id; member
185 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
190 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
198 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
213 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
296 u32 report_id; in show_value() local
300 report_id = attribute->report_id; in show_value()
308 report_id, in show_value()
349 usage, report_id, in show_value()
396 u32 report_id; in store_value() local
[all …]
Dhid-sensor-hub.c87 s32 index, s32 report_id, struct hid_field *field) in sensor_hub_fill_attr_info() argument
90 info->report_id = report_id; in sensor_hub_fill_attr_info()
191 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() argument
203 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature()
234 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() argument
248 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_get_feature()
288 u32 attr_usage_id, u32 report_id, in sensor_hub_input_attr_get_raw_value() argument
297 report = sensor_hub_report(report_id, hsdev->hdev, in sensor_hub_input_attr_get_raw_value()
349 u32 report_id, int field_index, u32 usage_id) in hid_sensor_get_usage_index() argument
355 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in hid_sensor_get_usage_index()
[all …]
Dhid-roccat-common.h25 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id,
27 int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
Dhid-picolcd_debugfs.c179 static ssize_t _picolcd_flash_read(struct picolcd_data *data, int report_id, in _picolcd_flash_read() argument
191 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off+1); in _picolcd_flash_read()
234 static ssize_t _picolcd_flash_erase64(struct picolcd_data *data, int report_id, in _picolcd_flash_erase64() argument
246 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off); in _picolcd_flash_erase64()
261 static ssize_t _picolcd_flash_write(struct picolcd_data *data, int report_id, in _picolcd_flash_write() argument
277 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, in _picolcd_flash_write()
Duhid.c49 u32 report_id; member
164 __u32 *report_id) in __uhid_report_queue_and_wait() argument
170 *report_id = ++uhid->report_id; in __uhid_report_queue_and_wait()
199 if (uhid->report_type != ev->type || uhid->report_id != id) in uhid_report_wake_up()
/Linux-v5.10/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c96 int report_id = -1; in gyro_3d_read_raw() local
106 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
109 if (report_id >= 0) in gyro_3d_read_raw()
113 report_id, in gyro_3d_read_raw()
257 st->gyro[0].report_id, in gyro_3d_parse_report()
258 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
259 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
275 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
/Linux-v5.10/include/linux/
Dhid-sensor-hub.h29 s32 report_id; member
180 u32 attr_usage_id, u32 report_id,
196 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
211 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
261 u32 report_id, int field_index, u32 usage_id);
/Linux-v5.10/drivers/iio/light/
Dhid-sensor-prox.c59 int report_id = -1; in prox_read_raw() local
70 report_id = prox_state->prox_attr.report_id; in prox_read_raw()
75 report_id = -1; in prox_read_raw()
78 if (report_id >= 0) { in prox_read_raw()
84 report_id, in prox_read_raw()
217 st->prox_attr.report_id); in prox_parse_report()
228 st->common_attributes.sensitivity.report_id); in prox_parse_report()
Dhid-sensor-als.c78 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()
241 st->als_illum.report_id); in als_parse_report()
257 st->common_attributes.sensitivity.report_id); in als_parse_report()
/Linux-v5.10/drivers/iio/pressure/
Dhid-sensor-press.c63 int report_id = -1; in press_read_raw() local
74 report_id = press_state->press_attr.report_id; in press_read_raw()
79 report_id = -1; in press_read_raw()
82 if (report_id >= 0) { in press_read_raw()
88 report_id, in press_read_raw()
221 st->press_attr.report_id); in press_parse_report()
237 st->common_attributes.sensitivity.report_id); in press_parse_report()
/Linux-v5.10/drivers/iio/orientation/
Dhid-sensor-incl-3d.c97 int report_id = -1; in incl_3d_read_raw() local
107 report_id = incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw()
110 if (report_id >= 0) in incl_3d_read_raw()
114 report_id, in incl_3d_read_raw()
274 st->incl[0].report_id, in incl_3d_parse_report()
275 st->incl[1].index, st->incl[1].report_id, in incl_3d_parse_report()
276 st->incl[2].index, st->incl[2].report_id); in incl_3d_parse_report()
292 st->common_attributes.sensitivity.report_id); in incl_3d_parse_report()
/Linux-v5.10/drivers/rtc/
Drtc-hid-sensor-time.c139 int report_id, i; in hid_time_parse_report() local
148 report_id = time_state->info[0].report_id; in hid_time_parse_report()
149 if (report_id < 0) { in hid_time_parse_report()
154 if (time_state->info[i].report_id != report_id) { in hid_time_parse_report()
202 time_state->info[0].report_id, SENSOR_HUB_SYNC, false); in hid_rtc_read_time()
/Linux-v5.10/drivers/staging/greybus/
Dhid.c74 static int gb_hid_get_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_get_report() argument
85 request.report_id = report_id; 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
116 request->report_id = report_id; in gb_hid_set_report()
244 int report_id = buf[0]; in __gb_hid_output_raw_report() local
250 if (report_id) { 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()
256 if (report_id && ret >= 0) in __gb_hid_output_raw_report()
/Linux-v5.10/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c148 int report_id = -1; in magn_3d_read_raw() local
158 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
161 if (report_id >= 0) in magn_3d_read_raw()
165 report_id, in magn_3d_read_raw()
375 st->magn[0].report_id, in magn_3d_parse_report()
376 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
377 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
448 st->magn_flux_attributes.sensitivity.report_id); in magn_3d_parse_report()
458 st->magn_flux_attributes.sensitivity.report_id); in magn_3d_parse_report()
468 st->rot_attributes.sensitivity.report_id); in magn_3d_parse_report()
/Linux-v5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c134 int report_id = -1; in accel_3d_read_raw() local
146 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
149 if (report_id >= 0) in accel_3d_read_raw()
152 hsdev->usage, address, report_id, in accel_3d_read_raw()
309 st->accel[0].report_id, in accel_3d_parse_report()
310 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
311 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
327 st->common_attributes.sensitivity.report_id); in accel_3d_parse_report()
/Linux-v5.10/drivers/hid/usbhid/
Dhiddev.c58 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report()
59 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report()
81 rinfo->report_id = report->id; in hiddev_lookup_report()
94 rinfo->report_id = report->id; in hiddev_lookup_report()
101 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report()
128 uref->report_id = report->id; in hiddev_lookup_usage()
176 uref.report_id = field->report->id; in hiddev_hid_event()
196 uref.report_id = report->id; in hiddev_report_event()
453 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage()
481 if (uref->report_id == HID_REPORT_ID_UNKNOWN) { in hiddev_ioctl_usage()
[all …]
/Linux-v5.10/drivers/hid/intel-ish-hid/
Dishtp-hid.h43 uint8_t report_id; member
173 int report_id);
174 void hid_ishtp_get_report(struct hid_device *hid, int report_id,
/Linux-v5.10/include/uapi/linux/
Dhiddev.h68 __u32 report_id; member
93 __u32 report_id; member
123 __u32 report_id; member
/Linux-v5.10/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
1073 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_bl_initiate()
1348 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_write_fw_block()
1469 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_set_interval_time()
1524 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_get_interval_time()
1557 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_disable_pip_report()
1804 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_calibrate_pwcs()
2010 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data()
2189 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()
/Linux-v5.10/Documentation/hid/
Dhiddev.rst184 report_id) for the next report after report_id. Without a-priori
194 hiddev_field_info structure. The user must fill in report_id and
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

12