Lines Matching refs:common_attributes
23 struct hid_sensor_common common_attributes; member
92 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
96 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
119 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
123 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
155 if (atomic_read(&rot_state->common_attributes.data_ready)) in dev_rot_proc_event()
214 if (st->common_attributes.sensitivity.index < 0) { in dev_rot_parse_report()
219 &st->common_attributes.sensitivity); in dev_rot_parse_report()
221 st->common_attributes.sensitivity.index, in dev_rot_parse_report()
222 st->common_attributes.sensitivity.report_id); in dev_rot_parse_report()
245 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
246 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe()
263 &rot_state->common_attributes); in hid_dev_rot_probe()
297 atomic_set(&rot_state->common_attributes.data_ready, 0); in hid_dev_rot_probe()
299 &rot_state->common_attributes); in hid_dev_rot_probe()
326 hid_sensor_remove_trigger(&rot_state->common_attributes); in hid_dev_rot_probe()
341 hid_sensor_remove_trigger(&rot_state->common_attributes); in hid_dev_rot_remove()