Home
last modified time | relevance | path

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

/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 if (lux_val == 0) { in tsl2583_als_calibrate()
353 * chip->als_settings.als_gain_trim) / lux_val); in tsl2583_als_calibrate()
Dtsl2772.c654 int ret, lux_val; in tsl2772_als_calibrate() local
678 lux_val = tsl2772_get_lux(indio_dev); in tsl2772_als_calibrate()
679 if (lux_val < 0) { in tsl2772_als_calibrate()
682 return lux_val; in tsl2772_als_calibrate()
684 if (lux_val == 0) in tsl2772_als_calibrate()
688 lux_val; in tsl2772_als_calibrate()