Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/light/
Dtsl2583.c85 int als_time; member
131 chip->als_settings.als_time = 100; in tsl2583_defaults()
368 int als_count, als_time, ret; in tsl2583_set_als_time() local
372 als_count = DIV_ROUND_CLOSEST(chip->als_settings.als_time * 100, 270); in tsl2583_set_als_time()
377 als_time = DIV_ROUND_CLOSEST(als_count * 27, 10); in tsl2583_set_als_time()
391 chip->als_time_scale = DIV_ROUND_CLOSEST(als_time, 50); in tsl2583_set_als_time()
719 *val2 = chip->als_settings.als_time; in tsl2583_read_raw()
784 chip->als_settings.als_time = val2; in tsl2583_write_raw()
Dtsl2772.c245 .als_time = 255, /* 2.72 / 2.73 ms */
710 chip->tsl2772_config[TSL2772_ALS_TIME] = chip->settings.als_time; in tsl2772_chip_on()
754 als_count = 256 - chip->settings.als_time; in tsl2772_chip_on()
1138 time = chip->settings.als_time; in tsl2772_write_event_value()
1207 time = chip->settings.als_time; in tsl2772_read_event_value()
1275 *val2 = (256 - chip->settings.als_time) * in tsl2772_read_raw()
1341 chip->settings.als_time = 256 - in tsl2772_write_raw()
/linux-6.1.9/include/linux/platform_data/
Dtsl2772.h69 int als_time; member