Lines Matching refs:common_attributes
29 struct hid_sensor_common common_attributes; member
138 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw()
175 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
180 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
199 &als_state->common_attributes, val, val2); in als_read_raw()
203 &als_state->common_attributes, val, val2); in als_read_raw()
207 &als_state->common_attributes, val, val2); in als_read_raw()
230 &als_state->common_attributes, val, val2); in als_write_raw()
234 &als_state->common_attributes, val, val2); in als_write_raw()
238 &als_state->common_attributes, val, val2); in als_write_raw()
261 if (atomic_read(&als_state->common_attributes.data_ready)) { in als_proc_event()
303 als_state->timestamp = hid_sensor_convert_timestamp(&als_state->common_attributes, in als_capture_sample()
371 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
372 als_state->common_attributes.pdev = pdev; in hid_als_probe()
376 &als_state->common_attributes, in hid_als_probe()
405 atomic_set(&als_state->common_attributes.data_ready, 0); in hid_als_probe()
408 &als_state->common_attributes); in hid_als_probe()
434 hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes); in hid_als_probe()
447 hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes); in hid_als_remove()