Searched refs:gyro_state (Results 1 – 1 of 1) sorted by relevance
97 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); in gyro_3d_read_raw() local107 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()108 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()109 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw()113 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()120 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()124 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()128 *val = gyro_state->scale_pre_decml; in gyro_3d_read_raw()129 *val2 = gyro_state->scale_post_decml; in gyro_3d_read_raw()130 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()[all …]