Searched refs:postdiv (Results 1 – 3 of 3) sorted by relevance
/arch/mips/ath79/ |
D | clock.c | 238 u32 pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_clocks_init() local 309 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_CPU_POST_DIV_SHIFT) & in ar934x_clocks_init() 315 cpu_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init() 317 cpu_rate = ddr_pll / (postdiv + 1); in ar934x_clocks_init() 319 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_DDR_POST_DIV_SHIFT) & in ar934x_clocks_init() 325 ddr_rate = ddr_pll / (postdiv + 1); in ar934x_clocks_init() 327 ddr_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init() 329 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_AHB_POST_DIV_SHIFT) & in ar934x_clocks_init() 335 ahb_rate = ddr_pll / (postdiv + 1); in ar934x_clocks_init() 337 ahb_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init() [all …]
|
/arch/mips/ar7/ |
D | clock.c | 74 u32 postdiv; member 101 int *postdiv, int *mul) in approximate() argument 112 *postdiv = k; in approximate() 117 static void calculate(int base, int target, int *prediv, int *postdiv, in calculate() argument 126 *postdiv = tmp_base / tmp_gcd; in calculate() 129 if ((*postdiv > 0) & (*postdiv <= 32)) in calculate() 133 if (base / *prediv * *mul / *postdiv != target) { in calculate() 134 approximate(base, target, prediv, postdiv, mul); in calculate() 135 tmp_freq = base / *prediv * *mul / *postdiv; in calculate() 142 *prediv, *postdiv, *mul); in calculate() [all …]
|
/arch/arm/mach-davinci/ |
D | da850.c | 359 unsigned int postdiv; member 368 .postdiv = 1, 377 .postdiv = 1, 386 .postdiv = 1, 395 .postdiv = 2, 404 .postdiv = 3, 413 .postdiv = 5,
|