Lines Matching refs:common_attributes
29 struct hid_sensor_common common_attributes; member
101 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
104 als_state->common_attributes.hsdev, in als_read_raw()
109 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
128 &als_state->common_attributes, val, val2); in als_read_raw()
132 &als_state->common_attributes, val, val2); in als_read_raw()
155 &als_state->common_attributes, val, val2); in als_write_raw()
159 &als_state->common_attributes, val, val2); in als_write_raw()
190 if (atomic_read(&als_state->common_attributes.data_ready)) in als_proc_event()
251 if (st->common_attributes.sensitivity.index < 0) { in als_parse_report()
256 &st->common_attributes.sensitivity); in als_parse_report()
258 st->common_attributes.sensitivity.index, in als_parse_report()
259 st->common_attributes.sensitivity.report_id); in als_parse_report()
279 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
280 als_state->common_attributes.pdev = pdev; in hid_als_probe()
283 &als_state->common_attributes); in hid_als_probe()
317 atomic_set(&als_state->common_attributes.data_ready, 0); in hid_als_probe()
319 &als_state->common_attributes); in hid_als_probe()
346 hid_sensor_remove_trigger(&als_state->common_attributes); in hid_als_probe()
363 hid_sensor_remove_trigger(&als_state->common_attributes); in hid_als_remove()