Lines Matching refs:common_attributes
25 struct hid_sensor_common common_attributes; member
81 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw()
84 prox_state->common_attributes.hsdev, in prox_read_raw()
89 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw()
108 &prox_state->common_attributes, val, val2); in prox_read_raw()
112 &prox_state->common_attributes, val, val2); in prox_read_raw()
135 &prox_state->common_attributes, val, val2); in prox_write_raw()
139 &prox_state->common_attributes, val, val2); in prox_write_raw()
170 if (atomic_read(&prox_state->common_attributes.data_ready)) in prox_proc_event()
222 if (st->common_attributes.sensitivity.index < 0) { in prox_parse_report()
227 &st->common_attributes.sensitivity); in prox_parse_report()
229 st->common_attributes.sensitivity.index, in prox_parse_report()
230 st->common_attributes.sensitivity.report_id); in prox_parse_report()
232 if (st->common_attributes.sensitivity.index < 0) in prox_parse_report()
237 &st->common_attributes.sensitivity); in prox_parse_report()
258 prox_state->common_attributes.hsdev = hsdev; in hid_prox_probe()
259 prox_state->common_attributes.pdev = pdev; in hid_prox_probe()
262 &prox_state->common_attributes); in hid_prox_probe()
295 atomic_set(&prox_state->common_attributes.data_ready, 0); in hid_prox_probe()
297 &prox_state->common_attributes); in hid_prox_probe()
324 hid_sensor_remove_trigger(&prox_state->common_attributes); in hid_prox_probe()
341 hid_sensor_remove_trigger(&prox_state->common_attributes); in hid_prox_remove()