Home
last modified time | relevance | path

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

/linux-6.1.9/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.c653 int ret, lux_val; in tsl2772_als_calibrate() local
677 lux_val = tsl2772_get_lux(indio_dev); in tsl2772_als_calibrate()
678 if (lux_val < 0) { in tsl2772_als_calibrate()
681 return lux_val; in tsl2772_als_calibrate()
683 if (lux_val == 0) in tsl2772_als_calibrate()
687 lux_val; in tsl2772_als_calibrate()