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()
211 if (atomic_read(&gyro_state->common_attributes.data_ready)) in gyro_3d_proc_event()
280 if (st->common_attributes.sensitivity.index < 0) { in gyro_3d_parse_report()
285 &st->common_attributes.sensitivity); in gyro_3d_parse_report()
287 st->common_attributes.sensitivity.index, in gyro_3d_parse_report()
288 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
308 gyro_state->common_attributes.hsdev = hsdev; in hid_gyro_3d_probe()
309 gyro_state->common_attributes.pdev = pdev; in hid_gyro_3d_probe()
313 &gyro_state->common_attributes); in hid_gyro_3d_probe()
346 atomic_set(&gyro_state->common_attributes.data_ready, 0); in hid_gyro_3d_probe()
348 &gyro_state->common_attributes); in hid_gyro_3d_probe()
375 hid_sensor_remove_trigger(&gyro_state->common_attributes); in hid_gyro_3d_probe()
392 hid_sensor_remove_trigger(&gyro_state->common_attributes); in hid_gyro_3d_remove()