Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c110 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); in gyro_3d_read_raw() local
119 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
120 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
124 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
130 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
134 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
138 *val = gyro_state->scale_pre_decml; in gyro_3d_read_raw()
139 *val2 = gyro_state->scale_post_decml; in gyro_3d_read_raw()
140 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
143 *val = gyro_state->value_offset; in gyro_3d_read_raw()
[all …]