Lines Matching refs:common_attributes
19 struct hid_sensor_common common_attributes; member
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()
126 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
130 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
153 if (atomic_read(&rot_state->common_attributes.data_ready)) { in dev_rot_proc_event()
189 rot_state->timestamp = hid_sensor_convert_timestamp(&rot_state->common_attributes, in dev_rot_capture_sample()
247 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
248 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe()
266 &rot_state->common_attributes, in hid_dev_rot_probe()
295 atomic_set(&rot_state->common_attributes.data_ready, 0); in hid_dev_rot_probe()
298 &rot_state->common_attributes); in hid_dev_rot_probe()
325 hid_sensor_remove_trigger(indio_dev, &rot_state->common_attributes); in hid_dev_rot_probe()
338 hid_sensor_remove_trigger(indio_dev, &rot_state->common_attributes); in hid_dev_rot_remove()