Searched refs:main_clock (Results 1 – 12 of 12) sorted by relevance
12 extern void __init at91rm9200_initialize(unsigned long main_clock, unsigned short banks);13 extern void __init at91sam9260_initialize(unsigned long main_clock);14 extern void __init at91sam9261_initialize(unsigned long main_clock);15 extern void __init at91sam9263_initialize(unsigned long main_clock);16 extern void __init at91sam9rl_initialize(unsigned long main_clock);17 extern void __init at91sam9g45_initialize(unsigned long main_clock);18 extern void __init at91x40_initialize(unsigned long main_clock);19 extern void __init at91cap9_initialize(unsigned long main_clock);20 extern void __init at572d940hf_initialize(unsigned long main_clock);41 extern int __init at91_clock_init(unsigned long main_clock);
615 static void __init at91_pllb_usbfs_clock_init(unsigned long main_clock) in at91_pllb_usbfs_clock_init() argument625 at91_pllb_usb_init = at91_pll_calc(main_clock, 48000000 * 2) | AT91_PMC_USB96M; in at91_pllb_usbfs_clock_init()626 pllb.rate_hz = at91_pll_rate(&pllb, main_clock, at91_pllb_usb_init); in at91_pllb_usbfs_clock_init()646 static void __init at91_upll_usbfs_clock_init(unsigned long main_clock) in at91_upll_usbfs_clock_init() argument665 int __init at91_clock_init(unsigned long main_clock) in at91_clock_init() argument677 if (!main_clock) { in at91_clock_init()681 main_clock = (tmp & AT91_PMC_MAINF) * (AT91_SLOW_CLOCK / 16); in at91_clock_init()683 main_clk.rate_hz = main_clock; in at91_clock_init()686 plla.rate_hz = at91_pll_rate(&plla, main_clock, at91_sys_read(AT91_CKGR_PLLAR)); in at91_clock_init()728 at91_pllb_usbfs_clock_init(main_clock); in at91_clock_init()[all …]
45 void __init at91x40_initialize(unsigned long main_clock) in at91x40_initialize() argument
273 void __init at91rm9200_initialize(unsigned long main_clock, unsigned short banks) in at91rm9200_initialize() argument285 at91_clock_init(main_clock); in at91rm9200_initialize()
270 void __init at91sam9261_initialize(unsigned long main_clock) in at91sam9261_initialize() argument287 at91_clock_init(main_clock); in at91sam9261_initialize()
255 void __init at91sam9rl_initialize(unsigned long main_clock) in at91sam9rl_initialize() argument284 at91_clock_init(main_clock); in at91sam9rl_initialize()
306 void __init at91cap9_initialize(unsigned long main_clock) in at91cap9_initialize() argument316 at91_clock_init(main_clock); in at91cap9_initialize()
282 void __init at91sam9263_initialize(unsigned long main_clock) in at91sam9263_initialize() argument292 at91_clock_init(main_clock); in at91sam9263_initialize()
305 void __init at572d940hf_initialize(unsigned long main_clock) in at572d940hf_initialize() argument315 at91_clock_init(main_clock); in at572d940hf_initialize()
309 void __init at91sam9g45_initialize(unsigned long main_clock) in at91sam9g45_initialize() argument319 at91_clock_init(main_clock); in at91sam9g45_initialize()
313 void __init at91sam9260_initialize(unsigned long main_clock) in at91sam9260_initialize() argument331 at91_clock_init(main_clock); in at91sam9260_initialize()
330 static struct clk *main_clock; variable340 return main_clock->get_rate(main_clock) >> shift; in bus_clk_get_rate()2282 main_clock = &pll0; in setup_platform()2285 main_clock = &osc0; in setup_platform()