Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/iio/light/
Dtsl2583.c82 int als_time; member
144 chip->taos_settings.als_time = 100; in taos_defaults()
406 int als_time; in taos_chip_on() local
417 als_count = (chip->taos_settings.als_time * 100 + 135) / 270; in taos_chip_on()
422 als_time = (als_count * 27 + 5) / 10; in taos_chip_on()
430 chip->als_time_scale = (als_time + 25) / 50; in taos_chip_on()
578 return sprintf(buf, "%d\n", chip->taos_settings.als_time); in taos_als_time_show()
597 chip->taos_settings.als_time = value; in taos_als_time_store()
Dtsl2x7x.h65 int als_time; member
Dtsl2x7x_core.c235 .als_time = 219, /* 101 ms */
635 int als_time; in tsl2x7x_chip_on() local
680 als_count = (chip->tsl2x7x_settings.als_time * 100 + 135) / 270; in tsl2x7x_chip_on()
685 als_time = (als_count * 27 + 5) / 10; in tsl2x7x_chip_on()
696 chip->als_time_scale = (als_time + 25) / 50; in tsl2x7x_chip_on()
964 y = (TSL2X7X_MAX_TIMER_CNT - (u8)chip->tsl2x7x_settings.als_time) + 1; in tsl2x7x_als_time_show()
985 chip->tsl2x7x_settings.als_time = in tsl2x7x_als_time_store()
989 __func__, chip->tsl2x7x_settings.als_time); in tsl2x7x_als_time_store()
1034 y = (TSL2X7X_MAX_TIMER_CNT - (u8)chip->tsl2x7x_settings.als_time) + 1; in tsl2x7x_als_persistence_show()
1056 y = (TSL2X7X_MAX_TIMER_CNT - (u8)chip->tsl2x7x_settings.als_time) + 1; in tsl2x7x_als_persistence_store()