Commit | Line | Data |
---|---|---|
c793c1b0 MD |
1 | #ifndef __ARCH_MACH_COMMON_H |
2 | #define __ARCH_MACH_COMMON_H | |
3 | ||
4 | extern struct sys_timer shmobile_timer; | |
4ae04acb | 5 | extern void shmobile_setup_console(void); |
1c51ed4f | 6 | extern void shmobile_secondary_vector(void); |
83ca5c87 | 7 | struct clk; |
e47bb515 | 8 | extern int clk_init(void); |
863b1719 | 9 | extern void shmobile_handle_irq_intc(struct pt_regs *); |
e74a9625 | 10 | extern void shmobile_handle_irq_gic(struct pt_regs *); |
c3dada18 | 11 | extern struct platform_suspend_ops shmobile_suspend_ops; |
b73b5c49 | 12 | struct cpuidle_driver; |
0af4817b | 13 | extern void (*shmobile_cpuidle_modes[])(void); |
b73b5c49 | 14 | extern void (*shmobile_cpuidle_setup)(struct cpuidle_driver *drv); |
e47bb515 | 15 | |
c793c1b0 MD |
16 | extern void sh7367_init_irq(void); |
17 | extern void sh7367_add_early_devices(void); | |
18 | extern void sh7367_add_standard_devices(void); | |
19 | extern void sh7367_clock_init(void); | |
7fdda678 | 20 | extern void sh7367_pinmux_init(void); |
4f0836b4 MD |
21 | extern struct clk sh7367_extalb1_clk; |
22 | extern struct clk sh7367_extal2_clk; | |
c793c1b0 | 23 | |
f2aaf66d MD |
24 | extern void sh7377_init_irq(void); |
25 | extern void sh7377_add_early_devices(void); | |
26 | extern void sh7377_add_standard_devices(void); | |
0163acf3 | 27 | extern void sh7377_clock_init(void); |
276b4f62 | 28 | extern void sh7377_pinmux_init(void); |
0163acf3 MD |
29 | extern struct clk sh7377_extalc1_clk; |
30 | extern struct clk sh7377_extal2_clk; | |
f2aaf66d | 31 | |
2b7eda63 MD |
32 | extern void sh7372_init_irq(void); |
33 | extern void sh7372_add_early_devices(void); | |
34 | extern void sh7372_add_standard_devices(void); | |
495b3cea | 35 | extern void sh7372_clock_init(void); |
b789b3fd | 36 | extern void sh7372_pinmux_init(void); |
97991657 | 37 | extern void sh7372_pm_init(void); |
cf33835c MD |
38 | extern void sh7372_resume_core_standby_a3sm(void); |
39 | extern int sh7372_do_idle_a3sm(unsigned long unused); | |
83ca5c87 MD |
40 | extern struct clk sh7372_extal1_clk; |
41 | extern struct clk sh7372_extal2_clk; | |
2b7eda63 | 42 | |
5f53a56a | 43 | extern void sh73a0_init_irq(void); |
6d9598e2 MD |
44 | extern void sh73a0_add_early_devices(void); |
45 | extern void sh73a0_add_standard_devices(void); | |
46 | extern void sh73a0_clock_init(void); | |
1cdf3702 | 47 | extern void sh73a0_pinmux_init(void); |
f6d84f4a MD |
48 | extern struct clk sh73a0_extal1_clk; |
49 | extern struct clk sh73a0_extal2_clk; | |
6d9598e2 | 50 | |
72f4d579 MD |
51 | extern unsigned int sh73a0_get_core_count(void); |
52 | extern void sh73a0_secondary_init(unsigned int cpu); | |
53 | extern int sh73a0_boot_secondary(unsigned int cpu); | |
54 | extern void sh73a0_smp_prepare_cpus(void); | |
55 | ||
c793c1b0 | 56 | #endif /* __ARCH_MACH_COMMON_H */ |