Lines Matching refs:common_attributes
27 struct hid_sensor_common common_attributes; member
99 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
102 als_state->common_attributes.hsdev, in als_read_raw()
107 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
126 &als_state->common_attributes, val, val2); in als_read_raw()
130 &als_state->common_attributes, val, val2); in als_read_raw()
153 &als_state->common_attributes, val, val2); in als_write_raw()
157 &als_state->common_attributes, val, val2); in als_write_raw()
188 if (atomic_read(&als_state->common_attributes.data_ready)) in als_proc_event()
249 if (st->common_attributes.sensitivity.index < 0) { in als_parse_report()
254 &st->common_attributes.sensitivity); in als_parse_report()
256 st->common_attributes.sensitivity.index, in als_parse_report()
257 st->common_attributes.sensitivity.report_id); in als_parse_report()
277 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
278 als_state->common_attributes.pdev = pdev; in hid_als_probe()
281 &als_state->common_attributes); in hid_als_probe()
308 atomic_set(&als_state->common_attributes.data_ready, 0); in hid_als_probe()
311 &als_state->common_attributes); in hid_als_probe()
338 hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes); in hid_als_probe()
353 hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes); in hid_als_remove()