Lines Matching refs: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()
315 int c1, c2; in set_times() local
318 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times()
323 c1, time_codes[c1], in set_times()
326 set_code(tca, TCA6507_FULL_ON, bank, c1); in set_times()
329 result = choose_times(tca->bank[bank].offtime, &c1, &c2); in set_times()
332 c1, time_codes[c1], in set_times()
335 set_code(tca, TCA6507_FIRST_OFF, bank, c1); in set_times()
336 set_code(tca, TCA6507_SECOND_OFF, bank, c1); in set_times()
384 int c1, c2; in led_prepare() local
445 if (choose_times(led->ontime, &c1, &c2) < 0) in led_prepare()
447 if (choose_times(led->offtime, &c1, &c2) < 0) in led_prepare()