1 #ifndef __ARCH_MACH_COMMON_H
2 #define __ARCH_MACH_COMMON_H
4 extern struct sys_timer shmobile_timer
;
5 extern void shmobile_setup_console(void);
6 extern void shmobile_secondary_vector(void);
8 extern int clk_init(void);
9 extern void shmobile_handle_irq_intc(struct pt_regs
*);
10 extern void shmobile_handle_irq_gic(struct pt_regs
*);
11 extern struct platform_suspend_ops shmobile_suspend_ops
;
12 struct cpuidle_device
;
13 extern void (*shmobile_cpuidle_modes
[])(void);
14 extern void (*shmobile_cpuidle_setup
)(struct cpuidle_device
*dev
);
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);
20 extern void sh7367_pinmux_init(void);
21 extern struct clk sh7367_extalb1_clk
;
22 extern struct clk sh7367_extal2_clk
;
24 extern void sh7377_init_irq(void);
25 extern void sh7377_add_early_devices(void);
26 extern void sh7377_add_standard_devices(void);
27 extern void sh7377_clock_init(void);
28 extern void sh7377_pinmux_init(void);
29 extern struct clk sh7377_extalc1_clk
;
30 extern struct clk sh7377_extal2_clk
;
32 extern void sh7372_init_irq(void);
33 extern void sh7372_add_early_devices(void);
34 extern void sh7372_add_standard_devices(void);
35 extern void sh7372_clock_init(void);
36 extern void sh7372_pinmux_init(void);
37 extern void sh7372_pm_init(void);
38 extern void sh7372_cpu_suspend(void);
39 extern void sh7372_cpu_resume(void);
40 extern struct clk sh7372_extal1_clk
;
41 extern struct clk sh7372_extal2_clk
;
43 extern void sh73a0_init_irq(void);
44 extern void sh73a0_add_early_devices(void);
45 extern void sh73a0_add_standard_devices(void);
46 extern void sh73a0_clock_init(void);
47 extern void sh73a0_pinmux_init(void);
48 extern struct clk sh73a0_extal1_clk
;
49 extern struct clk sh73a0_extal2_clk
;
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);
56 #endif /* __ARCH_MACH_COMMON_H */