Searched refs:atmel_tcb_divisors (Results 1 – 2 of 2) sorted by relevance
62 static const u8 atmel_tcb_divisors[] = { 2, 8, 32, 128, 0, }; variable280 for (; i < ARRAY_SIZE(atmel_tcb_divisors); ++i) { in atmel_tcb_pwm_config()281 if (atmel_tcb_divisors[i] == 0) { in atmel_tcb_pwm_config()285 min = div_u64((u64)NSEC_PER_SEC * atmel_tcb_divisors[i], rate); in atmel_tcb_pwm_config()295 if (i == ARRAY_SIZE(atmel_tcb_divisors)) { in atmel_tcb_pwm_config()
51 static const u8 atmel_tcb_divisors[] = { 2, 8, 32, 128 }; variable273 clkevt.rate = clk_get_rate(t2_clk) / atmel_tcb_divisors[divisor_idx]; in setup_clkevents()439 for (; i < ARRAY_SIZE(atmel_tcb_divisors); i++) { in tcb_clksrc_init()440 unsigned divisor = atmel_tcb_divisors[i]; in tcb_clksrc_init()