Searched refs:rot_state (Results 1 – 1 of 1) sorted by relevance
71 struct dev_rot_state *rot_state = iio_priv(indio_dev); in dev_rot_read_raw() local82 vals[i] = rot_state->scan.sampled_vals[i]; in dev_rot_read_raw()89 vals[0] = rot_state->scale_pre_decml; in dev_rot_read_raw()90 vals[1] = rot_state->scale_post_decml; in dev_rot_read_raw()91 return rot_state->scale_precision; in dev_rot_read_raw()94 *vals = rot_state->value_offset; in dev_rot_read_raw()99 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()103 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()120 struct dev_rot_state *rot_state = iio_priv(indio_dev); in dev_rot_write_raw() local126 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()[all …]