Lines Matching refs:common_attributes

30 	struct hid_sensor_common common_attributes;  member
107 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
113 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
120 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
124 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
138 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
142 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
165 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
169 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
200 if (atomic_read(&gyro_state->common_attributes.data_ready)) in gyro_3d_proc_event()
269 if (st->common_attributes.sensitivity.index < 0) { in gyro_3d_parse_report()
274 &st->common_attributes.sensitivity); in gyro_3d_parse_report()
276 st->common_attributes.sensitivity.index, in gyro_3d_parse_report()
277 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
297 gyro_state->common_attributes.hsdev = hsdev; in hid_gyro_3d_probe()
298 gyro_state->common_attributes.pdev = pdev; in hid_gyro_3d_probe()
302 &gyro_state->common_attributes); in hid_gyro_3d_probe()
335 atomic_set(&gyro_state->common_attributes.data_ready, 0); in hid_gyro_3d_probe()
337 &gyro_state->common_attributes); in hid_gyro_3d_probe()
364 hid_sensor_remove_trigger(&gyro_state->common_attributes); in hid_gyro_3d_probe()
381 hid_sensor_remove_trigger(&gyro_state->common_attributes); in hid_gyro_3d_remove()