Lines Matching refs:common_attributes
26 struct hid_sensor_common common_attributes; member
89 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw()
111 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
116 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
135 &als_state->common_attributes, val, val2); in als_read_raw()
139 &als_state->common_attributes, val, val2); in als_read_raw()
143 &als_state->common_attributes, val, val2); in als_read_raw()
166 &als_state->common_attributes, val, val2); in als_write_raw()
170 &als_state->common_attributes, val, val2); in als_write_raw()
174 &als_state->common_attributes, val, val2); in als_write_raw()
197 if (atomic_read(&als_state->common_attributes.data_ready)) { in als_proc_event()
227 als_state->timestamp = hid_sensor_convert_timestamp(&als_state->common_attributes, in als_capture_sample()
281 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
282 als_state->common_attributes.pdev = pdev; in hid_als_probe()
286 &als_state->common_attributes, in hid_als_probe()
316 atomic_set(&als_state->common_attributes.data_ready, 0); in hid_als_probe()
319 &als_state->common_attributes); in hid_als_probe()
345 hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes); in hid_als_probe()
358 hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes); in hid_als_remove()