Lines Matching refs:pcr
80 out_be32(&pll->pcr, 0x00000013); in setup_5441x_clocks()
92 temp = in_be32(&pll->pcr); in setup_5441x_clocks()
95 out_be32(&pll->pcr, temp); in setup_5441x_clocks()
106 vco = ((in_be32(&pll->pcr) & PLL_CR_FBKDIV_BITS) + 1) * in setup_5441x_clocks()
171 pcrvalue = in_be32(&pll->pcr) & 0xFFFFF0FF; in setup_5445x_clocks()
175 out_be32(&pll->pcr, pcrvalue); in setup_5445x_clocks()
186 pcrvalue = (in_be32(&pll->pcr) & 0x00FFFFFF) | 0x14000000; in setup_5445x_clocks()
187 out_be32(&pll->pcr, pcrvalue); in setup_5445x_clocks()
199 int temp = ((in_be32(&pll->pcr) & PLL_PCR_OUTDIV2_MASK) >> 4) + 1; in setup_5445x_clocks()
202 j = (in_be32(&pll->pcr) & 0xFF000000) >> 24; in setup_5445x_clocks()
213 pcrvalue = in_be32(&pll->pcr) & 0x00FF00FF; in setup_5445x_clocks()
217 out_be32(&pll->pcr, pcrvalue); in setup_5445x_clocks()
222 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
225 pcrvalue = (in_be32(&pll->pcr) & 0x00FFFFFF); in setup_5445x_clocks()
227 out_be32(&pll->pcr, pcrvalue); in setup_5445x_clocks()
228 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
233 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in setup_5445x_clocks()
242 temp = (in_be32(&pll->pcr) & PLL_PCR_OUTDIV1_MASK) + 1; in setup_5445x_clocks()
245 temp = ((in_be32(&pll->pcr) & PLL_PCR_OUTDIV2_MASK) >> 4) + 1; in setup_5445x_clocks()
248 temp = ((in_be32(&pll->pcr) & PLL_PCR_OUTDIV3_MASK) >> 8) + 1; in setup_5445x_clocks()
253 temp = ((in_be32(&pll->pcr) & PLL_PCR_OUTDIV4_MASK) >> 12) + 1; in setup_5445x_clocks()