Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c130 common->report_id = report_id; in get_common_features()
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()
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()
201 common->report_id = report_id; in get_common_inputs()
226 get_common_inputs(&acc_input.common_property, report_id); in get_input_report()
234 get_common_inputs(&gyro_input.common_property, report_id); in get_input_report()
242 get_common_inputs(&magno_input.common_property, report_id); in get_input_report()
252 get_common_inputs(&als_input.common_property, report_id); in get_input_report()
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c63 common->report_id = report_id; in get_common_features()
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()
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()
130 common->report_id = report_id; in get_common_inputs()
202 get_common_inputs(&acc_input.common_property, report_id); in get_input_rep()
213 get_common_inputs(&gyro_input.common_property, report_id); in get_input_rep()
224 get_common_inputs(&magno_input.common_property, report_id); in get_input_rep()
236 get_common_inputs(&als_input.common_property, report_id); in get_input_rep()
[all …]
/openbmc/linux/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()
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()
301 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
332 st->sensitivity_rel.report_id, in hid_sensor_write_raw_hyst_rel_value()
558 if (timestamp.index >= 0 && timestamp.report_id) { in hid_sensor_parse_common_attributes()
570 st->poll.index, st->poll.report_id, in hid_sensor_parse_common_attributes()
574 timestamp.index, timestamp.report_id); in hid_sensor_parse_common_attributes()
[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()
/openbmc/linux/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 …]
/openbmc/linux/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()
99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data); in amd_sfh_work()
124 cli_data->report_id[i], in_data); in amd_sfh_work_buffer()
/openbmc/linux/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()
H A Dhid-sensor-custom.c29 int report_id; member
189 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
194 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
202 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
300 u32 report_id; in show_value() local
304 report_id = attribute->report_id; in show_value()
312 report_id, in show_value()
353 usage, report_id, in show_value()
400 u32 report_id; in store_value() local
406 report_id; in store_value()
[all …]
H A Dhid-sensor-hub.c86 s32 index, s32 report_id, struct hid_field *field) in sensor_hub_fill_attr_info() argument
89 info->report_id = report_id; in sensor_hub_fill_attr_info()
190 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() argument
202 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature()
238 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() argument
252 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_get_feature()
292 u32 attr_usage_id, u32 report_id, in sensor_hub_input_attr_get_raw_value() argument
301 report = sensor_hub_report(report_id, hsdev->hdev, in sensor_hub_input_attr_get_raw_value()
353 u32 report_id, int field_index, u32 usage_id) in hid_sensor_get_usage_index() argument
359 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in hid_sensor_get_usage_index()
[all …]
/openbmc/linux/include/linux/
H A 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,
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);
/openbmc/linux/drivers/rtc/
H A 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()
/openbmc/linux/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()
/openbmc/linux/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 && ret >= 0) in __gb_hid_output_raw_report()
/openbmc/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c74 int report_id = -1; in press_read_raw() local
85 report_id = press_state->press_attr.report_id; in press_read_raw()
90 report_id = -1; in press_read_raw()
93 if (report_id >= 0) { in press_read_raw()
99 report_id, in press_read_raw()
231 st->press_attr.report_id); in press_parse_report()
/openbmc/linux/drivers/iio/light/
H A Dhid-sensor-prox.c65 int report_id = -1; in prox_read_raw() local
76 report_id = prox_state->prox_attr.report_id; in prox_read_raw()
82 report_id = -1; in prox_read_raw()
85 if (report_id >= 0) { in prox_read_raw()
89 hsdev, hsdev->usage, address, report_id, in prox_read_raw()
228 st->prox_attr.report_id); in prox_parse_report()
H A Dhid-sensor-als.c90 int report_id = -1; in als_read_raw() local
102 report_id = als_state->als_illum.report_id; in als_read_raw()
107 report_id = -1; in als_read_raw()
110 if (report_id >= 0) { in als_read_raw()
114 hsdev, hsdev->usage, address, report_id, in als_read_raw()
259 st->als_illum.report_id); in als_parse_report()
/openbmc/linux/drivers/hid/i2c-hid/
H A Di2c-hid-core.c215 if (report_id < 0x0F) { in i2c_hid_encode_command()
221 buf[length++] = report_id; in i2c_hid_encode_command()
243 report_type, report_id); in i2c_hid_get_report()
275 if (report_id && recv_len != 0 && recv_buf[0] != report_id) { in i2c_hid_get_report()
278 recv_buf[0], report_id); in i2c_hid_get_report()
290 if (report_id) in i2c_hid_format_report()
291 buf[length++] = report_id; in i2c_hid_format_report()
334 report_type, report_id); in i2c_hid_set_or_send_report()
648 if (!report_id) { in i2c_hid_get_raw_report()
656 report_id, buf, count); in i2c_hid_get_raw_report()
[all …]
/openbmc/linux/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()
/openbmc/linux/drivers/hid/usbhid/
H A Dhiddev.c81 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()
487 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage()
755 rinfo.report_id = finfo.report_id; in hiddev_ioctl()
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c140 int report_id = -1; in accel_3d_read_raw() local
152 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
155 if (report_id >= 0) in accel_3d_read_raw()
158 hsdev->usage, address, report_id, in accel_3d_read_raw()
316 st->accel[0].report_id, in accel_3d_parse_report()
317 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
318 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
/openbmc/linux/drivers/hid/intel-ish-hid/
H A Dishtp-hid.h38 uint8_t report_id; member
169 int report_id);
170 void hid_ishtp_get_report(struct hid_device *hid, int report_id,
/openbmc/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c153 int report_id = -1; in magn_3d_read_raw() local
163 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
166 if (report_id >= 0) in magn_3d_read_raw()
170 report_id, in magn_3d_read_raw()
385 st->magn[0].report_id, in magn_3d_parse_report()
386 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
387 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
460 st->rot_attributes.sensitivity.report_id); in magn_3d_parse_report()
/openbmc/linux/include/uapi/linux/
H A Dhiddev.h68 __u32 report_id; member
93 __u32 report_id; member
123 __u32 report_id; member
/openbmc/linux/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c115 int report_id; in hinge_read_raw() local
122 report_id = st->hinge[chan->scan_index].report_id; in hinge_read_raw()
124 if (report_id < 0) { in hinge_read_raw()
132 report_id, in hinge_read_raw()

123