Searched refs:int_time (Results 1 – 4 of 4) sorted by relevance
86 unsigned int int_time; member98 unsigned int int_time, new_int_time; in isl29018_set_integration_time() local117 int_time = chip->int_time; in isl29018_set_integration_time()118 for (i = 0; i < ARRAY_SIZE(isl29018_scales[int_time]); ++i) { in isl29018_set_integration_time()119 if (chip->scale.scale == isl29018_scales[int_time][i].scale && in isl29018_set_integration_time()120 chip->scale.uscale == isl29018_scales[int_time][i].uscale) { in isl29018_set_integration_time()125 chip->int_time = new_int_time; in isl29018_set_integration_time()136 for (i = 0; i < ARRAY_SIZE(isl29018_scales[chip->int_time]); ++i) { in isl29018_set_scale()137 if (scale == isl29018_scales[chip->int_time][i].scale && in isl29018_set_scale()138 uscale == isl29018_scales[chip->int_time][i].uscale) { in isl29018_set_scale()[all …]
722 int int_time; in tsl2591_write_raw() local730 int_time = tsl2591_als_time_to_fval(val); in tsl2591_write_raw()731 if (int_time < 0) { in tsl2591_write_raw()732 ret = int_time; in tsl2591_write_raw()735 ret = tsl2591_compatible_int_time(chip, int_time); in tsl2591_write_raw()739 chip->als_settings.als_int_time = int_time; in tsl2591_write_raw()796 int als_persist, int_time, period; in tsl2591_read_event_value() local823 int_time = TSL2591_FVAL_TO_MSEC(chip->als_settings.als_int_time); in tsl2591_read_event_value()824 period = als_persist * (int_time * MSEC_PER_SEC); in tsl2591_read_event_value()849 int period, int_time, als_persist; in tsl2591_write_event_value() local[all …]
118 u32 int_time; member412 if (opt->int_time == OPT3001_INT_TIME_SHORT) in opt3001_get_processed_noirq()466 *val2 = opt->int_time; in opt3001_get_int_time()490 opt->int_time = OPT3001_INT_TIME_SHORT; in opt3001_set_int_time()494 opt->int_time = OPT3001_INT_TIME_LONG; in opt3001_set_int_time()777 opt->int_time = OPT3001_INT_TIME_LONG; in opt3001_configure()779 opt->int_time = OPT3001_INT_TIME_SHORT; in opt3001_configure()
89 u32 int_time; member185 data->int_time = itime; in ltrf216a_set_int_time()194 *val2 = data->int_time; in ltrf216a_get_int_time()492 data->int_time = 100000; in ltrf216a_probe()