Home
last modified time | relevance | path

Searched refs:hid_sensor_common (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/include/linux/
Dhid-sensor-hub.h217 struct hid_sensor_common { struct
250 struct hid_sensor_common *st); argument
251 int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st,
253 int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st,
255 int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st,
257 int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st,
267 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st);
269 int64_t hid_sensor_convert_timestamp(struct hid_sensor_common *st,
271 bool hid_sensor_batch_mode_supported(struct hid_sensor_common *st);
272 int hid_sensor_set_report_latency(struct hid_sensor_common *st, int latency);
[all …]
/Linux-v5.4/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c25 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_set_report_latency()
48 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_report_latency()
63 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_fifo_state()
86 struct hid_sensor_common *st) in hid_sensor_setup_batch_mode()
94 static int _hid_sensor_power_state(struct hid_sensor_common *st, bool state) in _hid_sensor_power_state()
162 int hid_sensor_power_state(struct hid_sensor_common *st, bool state) in hid_sensor_power_state()
195 struct hid_sensor_common *attrb = container_of(work, in hid_sensor_set_power_work()
196 struct hid_sensor_common, in hid_sensor_set_power_work()
225 void hid_sensor_remove_trigger(struct hid_sensor_common *attrb) in hid_sensor_remove_trigger()
244 struct hid_sensor_common *attrb) in hid_sensor_setup_trigger()
[all …]
Dhid-sensor-trigger.h15 struct hid_sensor_common *attrb);
16 void hid_sensor_remove_trigger(struct hid_sensor_common *attrb);
17 int hid_sensor_power_state(struct hid_sensor_common *st, bool state);
Dhid-sensor-attributes.c159 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st) in hid_sensor_read_poll_value()
179 int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, in hid_sensor_read_samp_freq_value()
206 int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, in hid_sensor_write_samp_freq_value()
241 int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, in hid_sensor_read_raw_hyst_value()
264 int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, in hid_sensor_write_raw_hyst_value()
379 int64_t hid_sensor_convert_timestamp(struct hid_sensor_common *st, in hid_sensor_convert_timestamp()
389 struct hid_sensor_common *st) in hid_sensor_get_reporting_interval()
407 struct hid_sensor_common *st) in hid_sensor_get_report_latency_info()
418 int hid_sensor_get_report_latency(struct hid_sensor_common *st) in hid_sensor_get_report_latency()
433 int hid_sensor_set_report_latency(struct hid_sensor_common *st, int latency_ms) in hid_sensor_set_report_latency()
[all …]
/Linux-v5.4/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c41 struct hid_sensor_common magn_flux_attributes;
42 struct hid_sensor_common rot_attributes;
/Linux-v5.4/drivers/iio/humidity/
Dhid-sensor-humidity.c18 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/iio/temperature/
Dhid-sensor-temperature.c18 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/rtc/
Drtc-hid-sensor-time.c25 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/iio/orientation/
Dhid-sensor-rotation.c23 struct hid_sensor_common common_attributes;
Dhid-sensor-incl-3d.c31 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/iio/light/
Dhid-sensor-prox.c25 struct hid_sensor_common common_attributes;
Dhid-sensor-als.c29 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/iio/pressure/
Dhid-sensor-press.c25 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c30 struct hid_sensor_common common_attributes;
/Linux-v5.4/drivers/iio/accel/
Dhid-sensor-accel-3d.c30 struct hid_sensor_common common_attributes;