Lines Matching refs:c2
207 int c1, c2; in choose_times() local
221 for (c2 = 0; c2 <= c1; c2++) { in choose_times()
222 int tt = t + time_codes[c2]; in choose_times()
234 *c2p = c2; in choose_times()
315 int c1, c2; in set_times() local
318 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times()
321 c2, time_codes[c2], tca->bank[bank].ontime); in set_times()
322 set_code(tca, TCA6507_FADE_ON, bank, c2); in set_times()
326 result = choose_times(tca->bank[bank].offtime, &c1, &c2); in set_times()
329 c2, time_codes[c2], tca->bank[bank].offtime); in set_times()
330 set_code(tca, TCA6507_FADE_OFF, bank, c2); in set_times()
379 int c1, c2; in led_prepare() local
440 if (choose_times(led->ontime, &c1, &c2) < 0) in led_prepare()
442 if (choose_times(led->offtime, &c1, &c2) < 0) in led_prepare()