Lines Matching refs:vco

74 	int temp, vco = 0, bootmod_ccr, pdr;  in setup_5441x_clocks()  local
106 vco = ((in_be32(&pll->pcr) & PLL_CR_FBKDIV_BITS) + 1) * in setup_5441x_clocks()
108 gd->arch.vco_clk = vco; in setup_5441x_clocks()
114 gd->cpu_clk = vco / temp; /* cpu clock */ in setup_5441x_clocks()
115 gd->arch.flb_clk = vco / temp; /* FlexBus clock */ in setup_5441x_clocks()
121 gd->bus_clk = vco / temp; /* bus clock */ in setup_5441x_clocks()
133 int vco = 0, temp, fbtemp, pcrvalue; in setup_5445x_clocks() local
195 vco = pPllmult[ccm->rcon & fbpll_mask] * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
197 if ((vco < CLOCK_PLL_FVCO_MIN) || (vco > CLOCK_PLL_FVCO_MAX)) { in setup_5445x_clocks()
204 vco = i * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
205 if (vco >= CLOCK_PLL_FVCO_MIN) { in setup_5445x_clocks()
206 bus = vco / temp; in setup_5445x_clocks()
219 gd->arch.vco_clk = vco; /* Vco clock */ in setup_5445x_clocks()
222 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
223 if ((vco < CLOCK_PLL_FVCO_MIN) || (vco > CLOCK_PLL_FVCO_MAX)) { in setup_5445x_clocks()
228 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
230 gd->arch.vco_clk = vco; /* Vco clock */ in setup_5445x_clocks()
233 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
234 gd->arch.vco_clk = vco; /* Vco clock */ in setup_5445x_clocks()
243 gd->cpu_clk = vco / temp; /* cpu clock */ in setup_5445x_clocks()
246 gd->bus_clk = vco / temp; /* bus clock */ in setup_5445x_clocks()
249 gd->arch.flb_clk = vco / temp; /* FlexBus clock */ in setup_5445x_clocks()
254 gd->pci_clk = vco / temp; /* PCI clock */ in setup_5445x_clocks()