Searched refs:cpu_div (Results 1 – 3 of 3) sorted by relevance
34 uint mmcmdiv, mul, cpu_div, sys_div; in clk_boston_setup() local58 cpu_div = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_CLK1DIV); in clk_boston_setup()59 cpu_freq = mult_frac(in_freq, mul, cpu_div); in clk_boston_setup()
206 unsigned int pllc_ctrl, cpu_div; in ar2315_sys_clk() local234 cpu_div = ATH25_REG_MS(clock_ctl, AR2315_CPUCLK_CLK_DIV); in ar2315_sys_clk()235 cpu_div = cpu_div * 2 ?: 1; in ar2315_sys_clk()237 return pllc_out / (clk_div * cpu_div); in ar2315_sys_clk()
152 u32 cpu_div; in ar933x_clocks_init() local171 cpu_div = 1; in ar933x_clocks_init()194 cpu_div = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_CPU_DIV_SHIFT) & in ar933x_clocks_init()205 ref_div * out_div * cpu_div); in ar933x_clocks_init()