Lines Matching refs:common_attributes
31 struct hid_sensor_common common_attributes; member
85 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
89 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
112 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
116 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
149 if (atomic_read(&rot_state->common_attributes.data_ready)) in dev_rot_proc_event()
203 if (st->common_attributes.sensitivity.index < 0) { in dev_rot_parse_report()
208 &st->common_attributes.sensitivity); in dev_rot_parse_report()
210 st->common_attributes.sensitivity.index, in dev_rot_parse_report()
211 st->common_attributes.sensitivity.report_id); in dev_rot_parse_report()
235 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
236 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe()
240 &rot_state->common_attributes); in hid_dev_rot_probe()
273 atomic_set(&rot_state->common_attributes.data_ready, 0); in hid_dev_rot_probe()
275 &rot_state->common_attributes); in hid_dev_rot_probe()
303 hid_sensor_remove_trigger(&rot_state->common_attributes); in hid_dev_rot_probe()
318 hid_sensor_remove_trigger(&rot_state->common_attributes); in hid_dev_rot_remove()