Lines Matching full:c1
209 int c1, c2; in choose_times() local
217 for (c1 = 1; c1 < TIMECODES; c1++) { in choose_times()
218 int t = time_codes[c1]; in choose_times()
223 for (c2 = 0; c2 <= c1; c2++) { in choose_times()
235 *c1p = c1; in choose_times()
245 c1 = *c2p; in choose_times()
247 *c1p = c1; in choose_times()
317 int c1, c2; in set_times() local
320 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times()
325 c1, time_codes[c1], in set_times()
328 set_code(tca, TCA6507_FULL_ON, bank, c1); in set_times()
331 result = choose_times(tca->bank[bank].offtime, &c1, &c2); in set_times()
334 c1, time_codes[c1], in set_times()
337 set_code(tca, TCA6507_FIRST_OFF, bank, c1); in set_times()
338 set_code(tca, TCA6507_SECOND_OFF, bank, c1); in set_times()
386 int c1, c2; in led_prepare() local
447 if (choose_times(led->ontime, &c1, &c2) < 0) in led_prepare()
449 if (choose_times(led->offtime, &c1, &c2) < 0) in led_prepare()