Searched refs:f_cpu (Results 1 - 1 of 1) sorted by relevance
/linux-master/drivers/clk/ |
H A D | clk-clps711x.c | 47 u32 tmp, f_cpu, f_pll, f_bus, f_tim, f_pwm, f_spi, fref = 0; local 72 f_cpu = CLPS711X_EXT_FREQ; 78 f_cpu = f_pll; 79 if (f_cpu > 36864000) 80 f_bus = DIV_ROUND_UP(f_cpu, 2); 83 f_spi = DIV_ROUND_CLOSEST(f_cpu, 576); 84 f_pwm = DIV_ROUND_CLOSEST(f_cpu, 768); 93 f_tim = DIV_ROUND_CLOSEST(f_cpu, 144); 111 clk_hw_register_fixed_rate(NULL, "cpu", NULL, 0, f_cpu);
|
Completed in 203 milliseconds