Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dhid-sensor-hub.h228 struct hid_sensor_common { struct
261 struct hid_sensor_common *st); argument
262 int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st,
264 int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st,
266 int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st,
268 int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st,
278 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st);
280 int64_t hid_sensor_convert_timestamp(struct hid_sensor_common *st,
282 bool hid_sensor_batch_mode_supported(struct hid_sensor_common *st);
283 int hid_sensor_set_report_latency(struct hid_sensor_common *st, int latency);
[all …]
/Linux-v4.19/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c38 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_set_report_latency()
61 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_report_latency()
76 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_fifo_state()
99 struct hid_sensor_common *st) in hid_sensor_setup_batch_mode()
107 static int _hid_sensor_power_state(struct hid_sensor_common *st, bool state) in _hid_sensor_power_state()
175 int hid_sensor_power_state(struct hid_sensor_common *st, bool state) in hid_sensor_power_state()
208 struct hid_sensor_common *attrb = container_of(work, in hid_sensor_set_power_work()
209 struct hid_sensor_common, in hid_sensor_set_power_work()
238 void hid_sensor_remove_trigger(struct hid_sensor_common *attrb) in hid_sensor_remove_trigger()
257 struct hid_sensor_common *attrb) in hid_sensor_setup_trigger()
[all …]
Dhid-sensor-trigger.h28 struct hid_sensor_common *attrb);
29 void hid_sensor_remove_trigger(struct hid_sensor_common *attrb);
30 int hid_sensor_power_state(struct hid_sensor_common *st, bool state);
Dhid-sensor-attributes.c171 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st) in hid_sensor_read_poll_value()
191 int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, in hid_sensor_read_samp_freq_value()
218 int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, in hid_sensor_write_samp_freq_value()
253 int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, in hid_sensor_read_raw_hyst_value()
276 int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, in hid_sensor_write_raw_hyst_value()
387 int64_t hid_sensor_convert_timestamp(struct hid_sensor_common *st, in hid_sensor_convert_timestamp()
397 struct hid_sensor_common *st) in hid_sensor_get_reporting_interval()
415 struct hid_sensor_common *st) in hid_sensor_get_report_latency_info()
426 int hid_sensor_get_report_latency(struct hid_sensor_common *st) in hid_sensor_get_report_latency()
441 int hid_sensor_set_report_latency(struct hid_sensor_common *st, int latency_ms) in hid_sensor_set_report_latency()
[all …]
/Linux-v4.19/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c54 struct hid_sensor_common magn_flux_attributes;
55 struct hid_sensor_common rot_attributes;
/Linux-v4.19/drivers/iio/humidity/
Dhid-sensor-humidity.c29 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/iio/temperature/
Dhid-sensor-temperature.c29 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/rtc/
Drtc-hid-sensor-time.c38 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/iio/light/
Dhid-sensor-prox.c37 struct hid_sensor_common common_attributes;
Dhid-sensor-als.c42 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/iio/orientation/
Dhid-sensor-rotation.c31 struct hid_sensor_common common_attributes;
Dhid-sensor-incl-3d.c43 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/iio/pressure/
Dhid-sensor-press.c37 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c43 struct hid_sensor_common common_attributes;
/Linux-v4.19/drivers/iio/accel/
Dhid-sensor-accel-3d.c43 struct hid_sensor_common common_attributes;