Lines Matching refs:common_attributes
31 struct hid_sensor_common common_attributes; member
100 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
104 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
127 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
131 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
163 if (atomic_read(&rot_state->common_attributes.data_ready)) in dev_rot_proc_event()
222 if (st->common_attributes.sensitivity.index < 0) { in dev_rot_parse_report()
227 &st->common_attributes.sensitivity); in dev_rot_parse_report()
229 st->common_attributes.sensitivity.index, in dev_rot_parse_report()
230 st->common_attributes.sensitivity.report_id); in dev_rot_parse_report()
253 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
254 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe()
271 &rot_state->common_attributes); in hid_dev_rot_probe()
305 atomic_set(&rot_state->common_attributes.data_ready, 0); in hid_dev_rot_probe()
307 &rot_state->common_attributes); in hid_dev_rot_probe()
334 hid_sensor_remove_trigger(&rot_state->common_attributes); in hid_dev_rot_probe()
349 hid_sensor_remove_trigger(&rot_state->common_attributes); in hid_dev_rot_remove()