Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dbh1770glc.c173 static const s16 lux_rates_hz[] = {10, 5, 2, 1, 0}; variable
992 for (i = 0; i < ARRAY_SIZE(lux_rates_hz); i++) in bh1770_get_lux_rate_avail()
993 pos += sprintf(buf + pos, "%d ", lux_rates_hz[i]); in bh1770_get_lux_rate_avail()
1002 return sprintf(buf, "%d\n", lux_rates_hz[chip->lux_rate_index]); in bh1770_get_lux_rate()
1017 for (i = 0; i < ARRAY_SIZE(lux_rates_hz) - 1; i++) in bh1770_set_lux_rate()
1018 if (rate_hz >= lux_rates_hz[i]) in bh1770_set_lux_rate()