Lines Matching refs:common_attributes

43 	struct hid_sensor_common common_attributes;  member
119 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
124 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
130 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
134 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
148 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
152 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
175 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
179 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
210 if (atomic_read(&gyro_state->common_attributes.data_ready)) in gyro_3d_proc_event()
279 if (st->common_attributes.sensitivity.index < 0) { in gyro_3d_parse_report()
284 &st->common_attributes.sensitivity); in gyro_3d_parse_report()
286 st->common_attributes.sensitivity.index, in gyro_3d_parse_report()
287 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
307 gyro_state->common_attributes.hsdev = hsdev; in hid_gyro_3d_probe()
308 gyro_state->common_attributes.pdev = pdev; in hid_gyro_3d_probe()
312 &gyro_state->common_attributes); in hid_gyro_3d_probe()
345 atomic_set(&gyro_state->common_attributes.data_ready, 0); in hid_gyro_3d_probe()
347 &gyro_state->common_attributes); in hid_gyro_3d_probe()
374 hid_sensor_remove_trigger(&gyro_state->common_attributes); in hid_gyro_3d_probe()
391 hid_sensor_remove_trigger(&gyro_state->common_attributes); in hid_gyro_3d_remove()