Searched refs:busdiv (Results 1 – 2 of 2) sorted by relevance
69 u32 busdiv = ((in_be32(&pll->pdr) & 0x00F0) >> 4) + 1; in get_sys_clock() local71 return (((FREF * pfdr) / refdiv) / busdiv); in get_sys_clock()153 u32 busdiv = ((in_be32(&pll->pdr) >> 4) & 0x0F) + 1; in clock_pll() local156 return (fref * mfd) / busdiv; in clock_pll()
262 u32 cpudiv, ddrdiv, busdiv; in ar934x_update_clock() local300 busdiv = (ctrl >> AR934X_PLL_CLK_CTRL_AHB_POST_DIV_SHIFT) & in ar934x_update_clock()305 gd->bus_clk = busclk / (busdiv + 1); in ar934x_update_clock()