Searched refs:postdiv (Results 1 – 6 of 6) sorted by relevance
| /f-stack/freebsd/mips/atheros/ |
| H A D | qca955x_chip.c | 77 uint32_t pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca955x_chip_detect_sys_frequency() local 117 postdiv = (clk_ctrl >> QCA955X_PLL_CLK_CTRL_CPU_POST_DIV_SHIFT) & in qca955x_chip_detect_sys_frequency() 123 cpu_rate = ddr_pll / (postdiv + 1); in qca955x_chip_detect_sys_frequency() 125 cpu_rate = cpu_pll / (postdiv + 1); in qca955x_chip_detect_sys_frequency() 127 postdiv = (clk_ctrl >> QCA955X_PLL_CLK_CTRL_DDR_POST_DIV_SHIFT) & in qca955x_chip_detect_sys_frequency() 133 ddr_rate = cpu_pll / (postdiv + 1); in qca955x_chip_detect_sys_frequency() 135 ddr_rate = ddr_pll / (postdiv + 1); in qca955x_chip_detect_sys_frequency() 137 postdiv = (clk_ctrl >> QCA955X_PLL_CLK_CTRL_AHB_POST_DIV_SHIFT) & in qca955x_chip_detect_sys_frequency() 143 ahb_rate = ddr_pll / (postdiv + 1); in qca955x_chip_detect_sys_frequency() 145 ahb_rate = cpu_pll / (postdiv + 1); in qca955x_chip_detect_sys_frequency()
|
| H A D | qca953x_chip.c | 76 uint32_t pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca953x_chip_detect_sys_frequency() local 116 postdiv = (clk_ctrl >> QCA953X_PLL_CLK_CTRL_CPU_POST_DIV_SHIFT) & in qca953x_chip_detect_sys_frequency() 122 cpu_rate = cpu_pll / (postdiv + 1); in qca953x_chip_detect_sys_frequency() 124 cpu_rate = ddr_pll / (postdiv + 1); in qca953x_chip_detect_sys_frequency() 126 postdiv = (clk_ctrl >> QCA953X_PLL_CLK_CTRL_DDR_POST_DIV_SHIFT) & in qca953x_chip_detect_sys_frequency() 132 ddr_rate = ddr_pll / (postdiv + 1); in qca953x_chip_detect_sys_frequency() 134 ddr_rate = cpu_pll / (postdiv + 1); in qca953x_chip_detect_sys_frequency() 136 postdiv = (clk_ctrl >> QCA953X_PLL_CLK_CTRL_AHB_POST_DIV_SHIFT) & in qca953x_chip_detect_sys_frequency() 142 ahb_rate = ddr_pll / (postdiv + 1); in qca953x_chip_detect_sys_frequency() 144 ahb_rate = cpu_pll / (postdiv + 1); in qca953x_chip_detect_sys_frequency()
|
| H A D | ar934x_chip.c | 94 uint32_t pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_chip_detect_sys_frequency() local 161 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_CPU_POST_DIV_SHIFT) & in ar934x_chip_detect_sys_frequency() 167 u_ar71xx_cpu_freq = cpu_pll / (postdiv + 1); in ar934x_chip_detect_sys_frequency() 169 u_ar71xx_cpu_freq = ddr_pll / (postdiv + 1); in ar934x_chip_detect_sys_frequency() 171 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_DDR_POST_DIV_SHIFT) & in ar934x_chip_detect_sys_frequency() 177 u_ar71xx_ddr_freq = ddr_pll / (postdiv + 1); in ar934x_chip_detect_sys_frequency() 179 u_ar71xx_ddr_freq = cpu_pll / (postdiv + 1); in ar934x_chip_detect_sys_frequency() 181 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_AHB_POST_DIV_SHIFT) & in ar934x_chip_detect_sys_frequency() 187 u_ar71xx_ahb_freq = ddr_pll / (postdiv + 1); in ar934x_chip_detect_sys_frequency() 189 u_ar71xx_ahb_freq = cpu_pll / (postdiv + 1); in ar934x_chip_detect_sys_frequency()
|
| /f-stack/freebsd/arm64/freescale/imx/clk/ |
| H A D | imx_clk_composite.c | 164 uint32_t prediv, postdiv, best_prediv, best_postdiv; in imx_clk_composite_find_best() local 170 for (postdiv = 1; postdiv <= TARGET_ROOT_POST_PODF_MAX + 1; postdiv++) { in imx_clk_composite_find_best() 171 cur= fparent / prediv / postdiv; in imx_clk_composite_find_best() 177 best_postdiv = postdiv; in imx_clk_composite_find_best() 184 best_postdiv = postdiv; in imx_clk_composite_find_best() 191 best_postdiv = postdiv; in imx_clk_composite_find_best()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/clock/ |
| H A D | keystone-pll.txt | 20 - fixed-postdiv : fixed post divider value. If absent, use clkod register bits 21 for postdiv 30 fixed-postdiv = <2>;
|
| /f-stack/freebsd/arm64/rockchip/clk/ |
| H A D | rk_clk_pll.c | 165 uint32_t refdiv, fbdiv, postdiv; in rk3066_clk_pll_recalc() local 193 postdiv = (raw0 & RK3066_CLK_PLL_POSTDIV_MASK) >> in rk3066_clk_pll_recalc() 195 postdiv += 1; in rk3066_clk_pll_recalc() 202 *freq = rate / postdiv; in rk3066_clk_pll_recalc()
|