Searched refs:gyro_state (Results 1 – 1 of 1) sorted by relevance
102 struct gyro_3d_state *gyro_state = iio_priv(indio_dev); in gyro_3d_read_raw() local112 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->scale_precision; in gyro_3d_read_raw()[all …]