Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/light/
Disl29028.c149 int prox_index, ret; in isl29028_enable_proximity() local
163 prox_index = isl29028_find_prox_sleep_index(chip->prox_sampling_int, in isl29028_enable_proximity()
165 if (prox_index < 0) in isl29028_enable_proximity()
166 return prox_index; in isl29028_enable_proximity()
168 msleep(isl29028_prox_data[prox_index].sleep_time); in isl29028_enable_proximity()