Lines Matching refs:common_attributes

28 	struct hid_sensor_common common_attributes;  member
105 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
111 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
118 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
122 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
136 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
140 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
163 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
167 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
198 if (atomic_read(&gyro_state->common_attributes.data_ready)) in gyro_3d_proc_event()
267 if (st->common_attributes.sensitivity.index < 0) { in gyro_3d_parse_report()
272 &st->common_attributes.sensitivity); in gyro_3d_parse_report()
274 st->common_attributes.sensitivity.index, in gyro_3d_parse_report()
275 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
295 gyro_state->common_attributes.hsdev = hsdev; in hid_gyro_3d_probe()
296 gyro_state->common_attributes.pdev = pdev; in hid_gyro_3d_probe()
300 &gyro_state->common_attributes); in hid_gyro_3d_probe()
326 atomic_set(&gyro_state->common_attributes.data_ready, 0); in hid_gyro_3d_probe()
329 &gyro_state->common_attributes); in hid_gyro_3d_probe()
356 hid_sensor_remove_trigger(indio_dev, &gyro_state->common_attributes); in hid_gyro_3d_probe()
371 hid_sensor_remove_trigger(indio_dev, &gyro_state->common_attributes); in hid_gyro_3d_remove()