Lines Matching refs:common_attributes
43 struct hid_sensor_common common_attributes; member
119 hid_sensor_power_state(&accel_state->common_attributes, true); in accel_3d_read_raw()
124 accel_state->common_attributes.hsdev, in accel_3d_read_raw()
130 hid_sensor_power_state(&accel_state->common_attributes, in accel_3d_read_raw()
134 hid_sensor_power_state(&accel_state->common_attributes, false); in accel_3d_read_raw()
148 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
152 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
175 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
179 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
211 if (atomic_read(&accel_state->common_attributes.data_ready)) in accel_3d_proc_event()
280 if (st->common_attributes.sensitivity.index < 0) { in accel_3d_parse_report()
285 &st->common_attributes.sensitivity); in accel_3d_parse_report()
287 st->common_attributes.sensitivity.index, in accel_3d_parse_report()
288 st->common_attributes.sensitivity.report_id); in accel_3d_parse_report()
312 accel_state->common_attributes.hsdev = hsdev; in hid_accel_3d_probe()
313 accel_state->common_attributes.pdev = pdev; in hid_accel_3d_probe()
317 &accel_state->common_attributes); in hid_accel_3d_probe()
350 atomic_set(&accel_state->common_attributes.data_ready, 0); in hid_accel_3d_probe()
352 &accel_state->common_attributes); in hid_accel_3d_probe()
379 hid_sensor_remove_trigger(&accel_state->common_attributes); in hid_accel_3d_probe()
396 hid_sensor_remove_trigger(&accel_state->common_attributes); in hid_accel_3d_remove()