Lines Matching refs:common_attributes

47 	struct hid_sensor_common common_attributes;  member
165 hid_sensor_power_state(&magn_state->common_attributes, true); in magn_3d_read_raw()
171 magn_state->common_attributes.hsdev, in magn_3d_read_raw()
177 hid_sensor_power_state(&magn_state->common_attributes, in magn_3d_read_raw()
181 hid_sensor_power_state(&magn_state->common_attributes, false); in magn_3d_read_raw()
195 &magn_state->common_attributes, val, val2); in magn_3d_read_raw()
199 &magn_state->common_attributes, val, val2); in magn_3d_read_raw()
222 &magn_state->common_attributes, val, val2); in magn_3d_write_raw()
226 &magn_state->common_attributes, val, val2); in magn_3d_write_raw()
257 if (atomic_read(&magn_state->common_attributes.data_ready)) in magn_3d_proc_event()
398 if (st->common_attributes.sensitivity.index < 0) { in magn_3d_parse_report()
403 &st->common_attributes.sensitivity); in magn_3d_parse_report()
405 st->common_attributes.sensitivity.index, in magn_3d_parse_report()
406 st->common_attributes.sensitivity.report_id); in magn_3d_parse_report()
431 magn_state->common_attributes.hsdev = hsdev; in hid_magn_3d_probe()
432 magn_state->common_attributes.pdev = pdev; in hid_magn_3d_probe()
436 &magn_state->common_attributes); in hid_magn_3d_probe()
463 atomic_set(&magn_state->common_attributes.data_ready, 0); in hid_magn_3d_probe()
465 &magn_state->common_attributes); in hid_magn_3d_probe()
492 hid_sensor_remove_trigger(&magn_state->common_attributes); in hid_magn_3d_probe()
507 hid_sensor_remove_trigger(&magn_state->common_attributes); in hid_magn_3d_remove()