Searched refs:gyro_state (Results 1 – 1 of 1) sorted by relevance
90 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); in gyro_3d_read_raw() local100 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()101 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()102 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw()106 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()113 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()116 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()120 *val = gyro_state->scale_pre_decml; in gyro_3d_read_raw()121 *val2 = gyro_state->scale_post_decml; in gyro_3d_read_raw()122 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()[all …]