Lines Matching refs:int_time
786 int int_time; in tsl2591_write_raw() local
794 int_time = tsl2591_als_time_to_fval(val); in tsl2591_write_raw()
795 if (int_time < 0) { in tsl2591_write_raw()
796 ret = int_time; in tsl2591_write_raw()
799 ret = tsl2591_compatible_int_time(chip, int_time); in tsl2591_write_raw()
803 chip->als_settings.als_int_time = int_time; in tsl2591_write_raw()
860 int als_persist, int_time, period; in tsl2591_read_event_value() local
887 int_time = TSL2591_FVAL_TO_MSEC(chip->als_settings.als_int_time); in tsl2591_read_event_value()
888 period = als_persist * (int_time * MSEC_PER_SEC); in tsl2591_read_event_value()
913 int period, int_time, als_persist; in tsl2591_write_event_value() local
945 int_time = TSL2591_FVAL_TO_MSEC(chip->als_settings.als_int_time); in tsl2591_write_event_value()
948 (val2 / MSEC_PER_SEC)) / int_time; in tsl2591_write_event_value()