Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c61 static void get_common_features(struct common_feature_property *common, int report_id) in get_common_features() argument
63 common->report_id = report_id; in get_common_features()
71 static u8 get_feature_rep(int sensor_idx, int report_id, u8 *feature_report) in get_feature_rep() argument
85 get_common_features(&acc_feature.common_property, report_id); in get_feature_rep()
93 get_common_features(&gyro_feature.common_property, report_id); in get_feature_rep()
101 get_common_features(&magno_feature.common_property, report_id); in get_feature_rep()
112 get_common_features(&als_feature.common_property, report_id); in get_feature_rep()
120 get_common_features(&hpd_feature.common_property, report_id); in get_feature_rep()
128 static void get_common_inputs(struct common_input_property *common, int report_id) in get_common_inputs() argument
176 get_input_rep(u8 current_index, int sensor_idx, int report_id, struct amd_input_data *in_data) get_input_rep() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c128 static void get_common_features(struct common_feature_property *common, int report_id) in get_common_features() argument
130 common->report_id = report_id; in get_common_features()
138 static u8 get_feature_report(int sensor_idx, int report_id, u8 *feature_report) in get_feature_report() argument
152 get_common_features(&acc_feature.common_property, report_id); in get_feature_report()
160 get_common_features(&gyro_feature.common_property, report_id); in get_feature_report()
168 get_common_features(&magno_feature.common_property, report_id); in get_feature_report()
180 get_common_features(&als_feature.common_property, report_id); in get_feature_report()
188 get_common_features(&hpd_feature.common_property, report_id); in get_feature_report()
199 static void get_common_inputs(struct common_input_property *common, int report_id) in get_common_inputs() argument
206 get_input_report(u8 current_index, int sensor_idx, int report_id, struct amd_input_data *in_data) get_input_report() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c160 st->poll.report_id, in hid_sensor_read_poll_value()
181 st->poll.report_id, in hid_sensor_read_samp_freq_value()
219 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
225 st->poll.report_id, in hid_sensor_write_samp_freq_value()
243 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value()
266 st->sensitivity_rel.report_id, in hid_sensor_read_raw_hyst_rel_value()
294 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
301 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
325 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity_rel.report_id, in hid_sensor_write_raw_hyst_rel_value()
332 st->sensitivity_rel.report_id, in hid_sensor_write_raw_hyst_rel_value()
[all...]
H A Dhid-sensor-trigger.c97 st->power_state.report_id, in _hid_sensor_power_state()
101 st->report_state.report_id, in _hid_sensor_power_state()
115 st->power_state.report_id, in _hid_sensor_power_state()
119 st->report_state.report_id, in _hid_sensor_power_state()
126 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
133 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, in _hid_sensor_power_state()
142 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state()
187 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, in hid_sensor_set_power_work()
194 attrb->sensitivity.report_id, in hid_sensor_set_power_work()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A 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...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A 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...]
/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/
H A Damd_sfh_hid.h21 u8 report_id; member
49 u8 report_id[MAX_HID_DEVICES]; member
76 void hid_amdtp_set_feature(struct hid_device *hid, char *buf, u32 len, int report_id);
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.c21 void amd_sfh_set_report(struct hid_device *hid, int report_id, in amd_sfh_set_report() argument
37 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type) in amd_sfh_get_report() argument
55 new->report_id = report_id; in amd_sfh_get_report()
56 cli_data->report_id[i] = report_id; in amd_sfh_get_report()
75 u8 report_id, node_type; in amd_sfh_work() local
82 report_id = req_node->report_id; in amd_sfh_work()
89 report_size = mp2_ops->get_feat_rep(sensor_index, report_id, in amd_sfh_work()
[all...]
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
H A 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...]
H A 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()
/kernel/linux/linux-5.10/drivers/hid/
H A 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()
/kernel/linux/linux-6.6/drivers/hid/
H A 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()
/kernel/linux/linux-5.10/drivers/iio/gyro/
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Dhid-sensor-hub.h18 * @report_id: Report id in which this information resides.
29 s32 report_id; member
165 * @report_id: Report id to look for
180 u32 attr_usage_id, u32 report_id,
188 * @report_id: Report id to look for
196 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
202 * @report_id: Report id to look for
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);
/kernel/linux/linux-5.10/drivers/iio/pressure/
H A 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()
/kernel/linux/linux-5.10/drivers/iio/light/
H A 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()
H A Dhid-sensor-prox.c62 int report_id = -1; in prox_read_raw() local
73 report_id = prox_state->prox_attr.report_id; in prox_read_raw()
78 report_id = -1; in prox_read_raw()
81 if (report_id >= 0) { in prox_read_raw()
87 report_id, in prox_read_raw()
221 st->prox_attr.report_id); in prox_parse_report()
232 st->common_attributes.sensitivity.report_id); in prox_parse_report()
/kernel/linux/linux-6.6/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c103 int report_id = -1; in gyro_3d_read_raw() local
113 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
116 if (report_id >= 0) in gyro_3d_read_raw()
120 report_id, in gyro_3d_read_raw()
267 st->gyro[0].report_id, in gyro_3d_parse_report()
268 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
269 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
/kernel/linux/linux-6.6/drivers/iio/orientation/
H A Dhid-sensor-incl-3d.c106 int report_id = -1; in incl_3d_read_raw() local
116 report_id = incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw()
119 if (report_id >= 0) in incl_3d_read_raw()
123 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()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
H A 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()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dhid-sensor-hub.h18 * @report_id: Report id in which this information resides.
29 s32 report_id; member
165 * @report_id: Report id to look for
180 u32 attr_usage_id, u32 report_id,
188 * @report_id: Report id to look for
196 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
202 * @report_id: Report id to look for
212 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
269 u32 report_id, int field_index, u32 usage_id);
/kernel/linux/linux-5.10/drivers/hid/usbhid/
H A 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()
72 case 0: /* Nothing to do -- report_id is already set correctly */ 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 in hiddev_ioctl_usage()
[all...]
/kernel/linux/linux-6.6/drivers/hid/usbhid/
H A 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()
72 case 0: /* Nothing to do -- report_id is already set correctly */ 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 in hiddev_ioctl_usage()
[all...]
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A 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 in __gb_hid_output_raw_report()
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A 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 in __gb_hid_output_raw_report()
[all...]

Completed in 14 milliseconds

12345