Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dtsl2583.c103 int als_time_scale; member
269 if (chip->als_time_scale == 0) in tsl2583_get_lux()
272 lux = (lux + (chip->als_time_scale >> 1)) / in tsl2583_get_lux()
273 chip->als_time_scale; in tsl2583_get_lux()
391 chip->als_time_scale = DIV_ROUND_CLOSEST(als_time, 50); in tsl2583_set_als_time()