Lines Matching refs:common_attributes
26 struct hid_sensor_common common_attributes; member
112 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
118 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
125 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
129 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
143 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
147 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
170 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
174 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
197 if (atomic_read(&gyro_state->common_attributes.data_ready)) { in gyro_3d_proc_event()
232 hid_sensor_convert_timestamp(&gyro_state->common_attributes, in gyro_3d_capture_sample()
294 gyro_state->common_attributes.hsdev = hsdev; in hid_gyro_3d_probe()
295 gyro_state->common_attributes.pdev = pdev; in hid_gyro_3d_probe()
299 &gyro_state->common_attributes, in hid_gyro_3d_probe()
327 atomic_set(&gyro_state->common_attributes.data_ready, 0); in hid_gyro_3d_probe()
330 &gyro_state->common_attributes); in hid_gyro_3d_probe()
357 hid_sensor_remove_trigger(indio_dev, &gyro_state->common_attributes); in hid_gyro_3d_probe()
370 hid_sensor_remove_trigger(indio_dev, &gyro_state->common_attributes); in hid_gyro_3d_remove()