Searched refs:prox_state (Results 1 – 1 of 1) sorted by relevance
18 struct prox_state { struct63 struct prox_state *prox_state = iio_priv(indio_dev); in prox_read_raw() local76 report_id = prox_state->prox_attr.report_id; in prox_read_raw()77 min = prox_state->prox_attr.logical_minimum; in prox_read_raw()79 hsdev = prox_state->common_attributes.hsdev; in prox_read_raw()86 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw()91 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw()100 *val = prox_state->scale_pre_decml; in prox_read_raw()101 *val2 = prox_state->scale_post_decml; in prox_read_raw()102 ret_type = prox_state->scale_precision; in prox_read_raw()[all …]