Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/light/
Dtsl2583.c313 int lux_val; in tsl2583_als_calibrate() local
337 lux_val = tsl2583_get_lux(indio_dev); in tsl2583_als_calibrate()
338 if (lux_val < 0) { in tsl2583_als_calibrate()
341 return lux_val; in tsl2583_als_calibrate()
345 * chip->als_settings.als_gain_trim) / lux_val); in tsl2583_als_calibrate()
Dtsl2772.c658 int ret, lux_val; in tsl2772_als_calibrate() local
682 lux_val = tsl2772_get_lux(indio_dev); in tsl2772_als_calibrate()
683 if (lux_val < 0) { in tsl2772_als_calibrate()
686 return lux_val; in tsl2772_als_calibrate()
688 if (lux_val == 0) in tsl2772_als_calibrate()
692 lux_val; in tsl2772_als_calibrate()