rot_state 64 drivers/iio/orientation/hid-sensor-rotation.c struct dev_rot_state *rot_state = iio_priv(indio_dev); rot_state 75 drivers/iio/orientation/hid-sensor-rotation.c vals[i] = rot_state->sampled_vals[i]; rot_state 82 drivers/iio/orientation/hid-sensor-rotation.c vals[0] = rot_state->scale_pre_decml; rot_state 83 drivers/iio/orientation/hid-sensor-rotation.c vals[1] = rot_state->scale_post_decml; rot_state 84 drivers/iio/orientation/hid-sensor-rotation.c return rot_state->scale_precision; rot_state 87 drivers/iio/orientation/hid-sensor-rotation.c *vals = rot_state->value_offset; rot_state 92 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->common_attributes, &vals[0], &vals[1]); rot_state 96 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->common_attributes, &vals[0], &vals[1]); rot_state 113 drivers/iio/orientation/hid-sensor-rotation.c struct dev_rot_state *rot_state = iio_priv(indio_dev); rot_state 119 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->common_attributes, val, val2); rot_state 123 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->common_attributes, val, val2); rot_state 152 drivers/iio/orientation/hid-sensor-rotation.c struct dev_rot_state *rot_state = iio_priv(indio_dev); rot_state 155 drivers/iio/orientation/hid-sensor-rotation.c if (atomic_read(&rot_state->common_attributes.data_ready)) rot_state 157 drivers/iio/orientation/hid-sensor-rotation.c (u8 *)rot_state->sampled_vals, rot_state 158 drivers/iio/orientation/hid-sensor-rotation.c sizeof(rot_state->sampled_vals)); rot_state 170 drivers/iio/orientation/hid-sensor-rotation.c struct dev_rot_state *rot_state = iio_priv(indio_dev); rot_state 173 drivers/iio/orientation/hid-sensor-rotation.c memcpy(rot_state->sampled_vals, raw_data, rot_state 174 drivers/iio/orientation/hid-sensor-rotation.c sizeof(rot_state->sampled_vals)); rot_state 176 drivers/iio/orientation/hid-sensor-rotation.c sizeof(rot_state->sampled_vals)); rot_state 234 drivers/iio/orientation/hid-sensor-rotation.c struct dev_rot_state *rot_state; rot_state 244 drivers/iio/orientation/hid-sensor-rotation.c rot_state = iio_priv(indio_dev); rot_state 245 drivers/iio/orientation/hid-sensor-rotation.c rot_state->common_attributes.hsdev = hsdev; rot_state 246 drivers/iio/orientation/hid-sensor-rotation.c rot_state->common_attributes.pdev = pdev; rot_state 263 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->common_attributes); rot_state 279 drivers/iio/orientation/hid-sensor-rotation.c hsdev->usage, rot_state); rot_state 297 drivers/iio/orientation/hid-sensor-rotation.c atomic_set(&rot_state->common_attributes.data_ready, 0); rot_state 299 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->common_attributes); rot_state 311 drivers/iio/orientation/hid-sensor-rotation.c rot_state->callbacks.send_event = dev_rot_proc_event; rot_state 312 drivers/iio/orientation/hid-sensor-rotation.c rot_state->callbacks.capture_sample = dev_rot_capture_sample; rot_state 313 drivers/iio/orientation/hid-sensor-rotation.c rot_state->callbacks.pdev = pdev; rot_state 315 drivers/iio/orientation/hid-sensor-rotation.c &rot_state->callbacks); rot_state 326 drivers/iio/orientation/hid-sensor-rotation.c hid_sensor_remove_trigger(&rot_state->common_attributes); rot_state 337 drivers/iio/orientation/hid-sensor-rotation.c struct dev_rot_state *rot_state = iio_priv(indio_dev); rot_state 341 drivers/iio/orientation/hid-sensor-rotation.c hid_sensor_remove_trigger(&rot_state->common_attributes);