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