Home
last modified time | relevance | path

Searched refs:main_clock (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/arch/arm/mach-at91/arm920t/
Dclock.c105 int at91_clock_init(unsigned long main_clock) in at91_clock_init() argument
117 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()
/external/u-boot/arch/arm/mach-at91/arm926ejs/
Dclock.c113 int at91_clock_init(unsigned long main_clock) in at91_clock_init() argument
125 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()
/external/u-boot/arch/arm/mach-at91/armv7/
Dclock.c55 int at91_clock_init(unsigned long main_clock) in at91_clock_init() argument
67 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()
/external/u-boot/arch/arm/mach-at91/include/mach/
Dclk.h127 int at91_clock_init(unsigned long main_clock);