Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/iio/light/
Dtsl2583.c93 int als_time_scale; member
298 if (chip->als_time_scale == 0) in taos_get_lux()
301 lux = (lux + (chip->als_time_scale >> 1)) / in taos_get_lux()
302 chip->als_time_scale; in taos_get_lux()
430 chip->als_time_scale = (als_time + 25) / 50; in taos_chip_on()
Dtsl2x7x_core.c183 int als_time_scale; member
436 if (chip->als_time_scale == 0) in tsl2x7x_get_lux()
439 lux = (lux + (chip->als_time_scale >> 1)) / in tsl2x7x_get_lux()
440 chip->als_time_scale; in tsl2x7x_get_lux()
696 chip->als_time_scale = (als_time + 25) / 50; in tsl2x7x_chip_on()