Lines Matching refs:arch
30 return gd->arch.main_clk_rate_hz; in at91_css_to_rate()
32 return gd->arch.plla_rate_hz; in at91_css_to_rate()
34 return gd->arch.pllb_rate_hz; in at91_css_to_rate()
125 gd->arch.main_clk_rate_hz = main_clock; in at91_clock_init()
128 gd->arch.plla_rate_hz = at91_pll_rate(main_clock, readl(&pmc->pllar)); in at91_clock_init()
137 gd->arch.at91_pllb_usb_init = at91_pll_calc(main_clock, 48000000 * 2) | in at91_clock_init()
139 gd->arch.pllb_rate_hz = at91_pll_rate(main_clock, in at91_clock_init()
140 gd->arch.at91_pllb_usb_init); in at91_clock_init()
148 gd->arch.mck_rate_hz = at91_css_to_rate(mckr & AT91_PMC_MCKR_CSS_MASK); in at91_clock_init()
149 freq = gd->arch.mck_rate_hz; in at91_clock_init()
153 gd->arch.mck_rate_hz = freq / in at91_clock_init()
155 gd->arch.cpu_clk_rate_hz = freq; in at91_clock_init()