Lines Matching refs:common_attributes
26 struct hid_sensor_common common_attributes; member
145 accel_state->common_attributes.hsdev; in accel_3d_read_raw()
151 hid_sensor_power_state(&accel_state->common_attributes, true); in accel_3d_read_raw()
157 accel_state->common_attributes.hsdev, in accel_3d_read_raw()
163 hid_sensor_power_state(&accel_state->common_attributes, in accel_3d_read_raw()
167 hid_sensor_power_state(&accel_state->common_attributes, false); in accel_3d_read_raw()
181 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
185 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
208 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
212 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
243 if (atomic_read(&accel_state->common_attributes.data_ready)) { in accel_3d_proc_event()
281 &accel_state->common_attributes, in accel_3d_capture_sample()
348 accel_state->common_attributes.hsdev = hsdev; in hid_accel_3d_probe()
349 accel_state->common_attributes.pdev = pdev; in hid_accel_3d_probe()
364 &accel_state->common_attributes, in hid_accel_3d_probe()
390 atomic_set(&accel_state->common_attributes.data_ready, 0); in hid_accel_3d_probe()
393 &accel_state->common_attributes); in hid_accel_3d_probe()
420 hid_sensor_remove_trigger(indio_dev, &accel_state->common_attributes); in hid_accel_3d_probe()
433 hid_sensor_remove_trigger(indio_dev, &accel_state->common_attributes); in hid_accel_3d_remove()