Home
last modified time | relevance | path

Searched refs:prox_history (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/light/
H A Dtsl2772.c868 int prox_history[MAX_SAMPLES_CAL + 1]; in tsl2772_prox_cal() local
881 prox_history[i] = chip->prox_data; in tsl2772_prox_cal()
887 sample_sum += prox_history[i]; in tsl2772_prox_cal()
888 max = max(max, prox_history[i]); in tsl2772_prox_cal()