Home
last modified time | relevance | path

Searched refs:gyro_state (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c102 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); in gyro_3d_read_raw() local
112 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
113 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
114 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw()
118 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
125 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
129 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
133 *val = gyro_state->scale_pre_decml; in gyro_3d_read_raw()
134 *val2 = gyro_state->scale_post_decml; in gyro_3d_read_raw()
135 ret_type = gyro_state in gyro_3d_read_raw()
164 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); gyro_3d_write_raw() local
194 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); gyro_3d_proc_event() local
217 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); gyro_3d_capture_sample() local
285 struct gyro_3d_state *gyro_state; hid_gyro_3d_probe() local
366 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); hid_gyro_3d_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c95 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); in gyro_3d_read_raw() local
105 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
106 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
107 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw()
111 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
118 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
122 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
126 *val = gyro_state->scale_pre_decml; in gyro_3d_read_raw()
127 *val2 = gyro_state->scale_post_decml; in gyro_3d_read_raw()
128 ret_type = gyro_state in gyro_3d_read_raw()
157 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); gyro_3d_write_raw() local
195 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); gyro_3d_proc_event() local
213 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); gyro_3d_capture_sample() local
286 struct gyro_3d_state *gyro_state; hid_gyro_3d_probe() local
367 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); hid_gyro_3d_remove() local
[all...]

Completed in 2 milliseconds