Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Disl29028.c60 struct isl29028_prox_data { struct
66 static const struct isl29028_prox_data isl29028_prox_data[] = { variable
100 for (i = 0; i < ARRAY_SIZE(isl29028_prox_data); ++i) { in isl29028_find_prox_sleep_index()
101 if (isl29028_prox_data[i].sampling_int == sampling_int && in isl29028_find_prox_sleep_index()
102 isl29028_prox_data[i].sampling_fract == sampling_fract) in isl29028_find_prox_sleep_index()
157 msleep(isl29028_prox_data[prox_index].sleep_time); in isl29028_enable_proximity()