Home
last modified time | relevance | path

Searched refs:cpu_div (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/clk/imgtec/
Dclk-boston.c34 uint mmcmdiv, mul, cpu_div, sys_div; in clk_boston_setup() local
58 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()
/linux-5.19.10/arch/mips/ath25/
Dar2315.c206 unsigned int pllc_ctrl, cpu_div; in ar2315_sys_clk() local
234 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()
/linux-5.19.10/arch/mips/ath79/
Dclock.c152 u32 cpu_div; in ar933x_clocks_init() local
171 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()