Searched refs:main_clock (Results 1 – 8 of 8) sorted by relevance
628 static void __init at91_pllb_usbfs_clock_init(unsigned long main_clock) in at91_pllb_usbfs_clock_init() argument638 at91_pllb_usb_init = at91_pll_calc(main_clock, 48000000 * 2) | AT91_PMC_USB96M; in at91_pllb_usbfs_clock_init()639 pllb.rate_hz = at91_pll_rate(&pllb, main_clock, at91_pllb_usb_init); in at91_pllb_usbfs_clock_init()657 static void __init at91_upll_usbfs_clock_init(unsigned long main_clock) in at91_upll_usbfs_clock_init() argument676 static int __init at91_pmc_init(unsigned long main_clock) in at91_pmc_init() argument688 if (!main_clock) { in at91_pmc_init()692 main_clock = (tmp & AT91_PMC_MAINF) * (AT91_SLOW_CLOCK / 16); in at91_pmc_init()694 main_clk.rate_hz = main_clock; in at91_pmc_init()697 plla.rate_hz = at91_pll_rate(&plla, main_clock, at91_pmc_read(AT91_CKGR_PLLAR)); in at91_pmc_init()743 at91_pllb_usbfs_clock_init(main_clock); in at91_pmc_init()[all …]
21 extern void __init at91_initialize(unsigned long main_clock);22 extern void __init at91x40_initialize(unsigned long main_clock);55 extern int __init at91_clock_init(unsigned long main_clock);58 static int inline at91_clock_init(unsigned long main_clock) { return 0; } in at91_clock_init() argument
52 void __init at91x40_initialize(unsigned long main_clock) in at91x40_initialize() argument
451 void __init at91_initialize(unsigned long main_clock) in at91_initialize() argument456 at91_clock_init(main_clock); in at91_initialize()
20 main_clock: clock@0 { label
28 main_clock: clock@0 { label
29 main_clock: clock@0 { label
330 static struct clk *main_clock; variable340 return main_clock->get_rate(main_clock) >> shift; in bus_clk_get_rate()2270 main_clock = &pll0; in setup_platform()2273 main_clock = &osc0; in setup_platform()