Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Disl29028.c138 int prox_index, ret; in isl29028_enable_proximity() local
152 prox_index = isl29028_find_prox_sleep_index(chip->prox_sampling_int, in isl29028_enable_proximity()
154 if (prox_index < 0) in isl29028_enable_proximity()
155 return prox_index; in isl29028_enable_proximity()
157 msleep(isl29028_prox_data[prox_index].sleep_time); in isl29028_enable_proximity()