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