Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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->scale_precision; in gyro_3d_read_raw()
[all …]