Searched refs:main_clock (Results 1 – 4 of 4) sorted by relevance
105 int at91_clock_init(unsigned long main_clock) in at91_clock_init() argument117 if (!main_clock) { in at91_clock_init()122 main_clock = tmp * (CONFIG_SYS_AT91_SLOW_CLOCK / 16); in at91_clock_init()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()
113 int at91_clock_init(unsigned long main_clock) in at91_clock_init() argument125 if (!main_clock) { in at91_clock_init()130 main_clock = tmp * (CONFIG_SYS_AT91_SLOW_CLOCK / 16); in at91_clock_init()133 gd->arch.main_clk_rate_hz = main_clock; in at91_clock_init()136 gd->arch.plla_rate_hz = at91_pll_rate(main_clock, readl(&pmc->pllar)); in at91_clock_init()145 gd->arch.at91_pllb_usb_init = at91_pll_calc(main_clock, 48000000 * 2) | in at91_clock_init()147 gd->arch.pllb_rate_hz = at91_pll_rate(main_clock, in at91_clock_init()
55 int at91_clock_init(unsigned long main_clock) in at91_clock_init() argument67 if (!main_clock) { in at91_clock_init()72 main_clock = tmp * (CONFIG_SYS_AT91_SLOW_CLOCK / 16); in at91_clock_init()75 gd->arch.main_clk_rate_hz = main_clock; in at91_clock_init()78 gd->arch.plla_rate_hz = at91_pll_rate(main_clock, readl(&pmc->pllar)); in at91_clock_init()
127 int at91_clock_init(unsigned long main_clock);