Lines Matching refs:common_attributes
38 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()
106 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
125 &als_state->common_attributes, val, val2); in als_read_raw()
129 &als_state->common_attributes, val, val2); in als_read_raw()
152 &als_state->common_attributes, val, val2); in als_write_raw()
156 &als_state->common_attributes, val, val2); in als_write_raw()
188 if (atomic_read(&als_state->common_attributes.data_ready)) in als_proc_event()
245 if (st->common_attributes.sensitivity.index < 0) { in als_parse_report()
250 &st->common_attributes.sensitivity); in als_parse_report()
252 st->common_attributes.sensitivity.index, in als_parse_report()
253 st->common_attributes.sensitivity.report_id); in als_parse_report()
273 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
274 als_state->common_attributes.pdev = pdev; in hid_als_probe()
277 &als_state->common_attributes); in hid_als_probe()
311 atomic_set(&als_state->common_attributes.data_ready, 0); in hid_als_probe()
313 &als_state->common_attributes); in hid_als_probe()
340 hid_sensor_remove_trigger(&als_state->common_attributes); in hid_als_probe()
357 hid_sensor_remove_trigger(&als_state->common_attributes); in hid_als_remove()