Searched refs:int_time (Results 1 – 6 of 6) sorted by relevance
51 int int_time; member91 *val = 1 << data->int_time; in tsl4531_read_raw()94 if (data->int_time == 0) in tsl4531_read_raw()96 else if (data->int_time == 1) in tsl4531_read_raw()98 else if (data->int_time == 2) in tsl4531_read_raw()114 int int_time, ret; in tsl4531_write_raw() local121 int_time = 0; in tsl4531_write_raw()123 int_time = 1; in tsl4531_write_raw()125 int_time = 2; in tsl4531_write_raw()130 TSL4531_CONFIG, int_time); in tsl4531_write_raw()[all …]
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 …]
395 int int_time, ret; in cm36651_write_int_time() local400 int_time = CM36651_CS_IT1; in cm36651_write_int_time()402 int_time = CM36651_CS_IT2; in cm36651_write_int_time()404 int_time = CM36651_CS_IT3; in cm36651_write_int_time()406 int_time = CM36651_CS_IT4; in cm36651_write_int_time()411 int_time >> 2 * (chan->address)); in cm36651_write_int_time()416 cm36651->cs_int_time[chan->address] = int_time; in cm36651_write_int_time()420 int_time = CM36651_PS_IT1; in cm36651_write_int_time()422 int_time = CM36651_PS_IT2; in cm36651_write_int_time()424 int_time = CM36651_PS_IT3; in cm36651_write_int_time()[all …]
43 u8 int_time; member168 regval |= lv0104cs_int_times[lv0104cs->int_time].regval; in lv0104cs_get_lux()174 switch (lv0104cs->int_time) { in lv0104cs_get_lux()259 *val = lv0104cs_int_times[lv0104cs->int_time].val; in lv0104cs_read_raw()260 *val2 = lv0104cs_int_times[lv0104cs->int_time].val2; in lv0104cs_read_raw()363 lv0104cs->int_time = i; in lv0104cs_set_int_time()497 lv0104cs->int_time = LV0104CS_INTEG_200MS; in lv0104cs_probe()
83 u32 int_time; member283 timeout = (opt->int_time == OPT3001_INT_TIME_SHORT) ? in opt3001_get_lux()350 *val2 = opt->int_time; in opt3001_get_int_time()372 opt->int_time = OPT3001_INT_TIME_SHORT; in opt3001_set_int_time()376 opt->int_time = OPT3001_INT_TIME_LONG; in opt3001_set_int_time()641 opt->int_time = OPT3001_INT_TIME_LONG; in opt3001_configure()643 opt->int_time = OPT3001_INT_TIME_SHORT; in opt3001_configure()
124 int ret, int_time, config; in max44009_write_int_time() local128 int_time = find_closest_descending( in max44009_write_int_time()138 config &= int_time; in max44009_write_int_time()