Home
last modified time | relevance | path

Searched refs:rot_state (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/orientation/
H A Dhid-sensor-rotation.c91 return rot_state->scale_precision; in dev_rot_read_raw()
94 *vals = rot_state->value_offset; in dev_rot_read_raw()
154 if (!rot_state->timestamp) in dev_rot_proc_event()
158 rot_state->timestamp); in dev_rot_proc_event()
160 rot_state->timestamp = 0; in dev_rot_proc_event()
189 rot_state->timestamp = hid_sensor_convert_timestamp(&rot_state->common_attributes, in dev_rot_capture_sample()
236 struct dev_rot_state *rot_state; in hid_dev_rot_probe() local
246 rot_state = iio_priv(indio_dev); in hid_dev_rot_probe()
284 hsdev->usage, rot_state); in hid_dev_rot_probe()
312 rot_state->callbacks.pdev = pdev; in hid_dev_rot_probe()
[all …]