Lines Matching refs:common_attributes

30 	struct hid_sensor_common common_attributes;  member
141 accel_state->common_attributes.hsdev; in accel_3d_read_raw()
147 hid_sensor_power_state(&accel_state->common_attributes, true); in accel_3d_read_raw()
153 accel_state->common_attributes.hsdev, in accel_3d_read_raw()
159 hid_sensor_power_state(&accel_state->common_attributes, in accel_3d_read_raw()
163 hid_sensor_power_state(&accel_state->common_attributes, false); in accel_3d_read_raw()
177 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
181 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
204 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
208 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
239 if (atomic_read(&accel_state->common_attributes.data_ready)) { in accel_3d_proc_event()
277 &accel_state->common_attributes, in accel_3d_capture_sample()
321 if (st->common_attributes.sensitivity.index < 0) { in accel_3d_parse_report()
326 &st->common_attributes.sensitivity); in accel_3d_parse_report()
328 st->common_attributes.sensitivity.index, in accel_3d_parse_report()
329 st->common_attributes.sensitivity.report_id); in accel_3d_parse_report()
355 accel_state->common_attributes.hsdev = hsdev; in hid_accel_3d_probe()
356 accel_state->common_attributes.pdev = pdev; in hid_accel_3d_probe()
370 &accel_state->common_attributes); in hid_accel_3d_probe()
400 atomic_set(&accel_state->common_attributes.data_ready, 0); in hid_accel_3d_probe()
402 &accel_state->common_attributes); in hid_accel_3d_probe()
429 hid_sensor_remove_trigger(&accel_state->common_attributes); in hid_accel_3d_probe()
446 hid_sensor_remove_trigger(&accel_state->common_attributes); in hid_accel_3d_remove()