15 #include <mach/regs-gpio.h>
17 static inline void s3c_pm_debug_init_uart(
void)
36 static inline void s3c_pm_arch_prepare_irqs(
void)
44 static inline void s3c_pm_arch_stop_clocks(
void) { }
45 static inline void s3c_pm_arch_show_resume_irqs(
void) { }
51 #define s3c_irqwake_eintallow ((1 << 16) - 1)
52 #define s3c_irqwake_intallow (~0)
54 static inline void s3c_pm_arch_update_uart(
void __iomem *
regs,
76 if (ucon_clk != save_clk) {
77 new_ucon = save->
ucon;
78 delta = ucon_clk ^ save_clk;
88 new_ucon &= ~S3C6400_UCON_UCLK0;
89 }
else if (delta == S3C6400_UCON_PCLK2) {
97 S3C_PMDBG(
"ucon change %04x => %04x (save=%04x)\n",
98 ucon, new_ucon, save->
ucon);
99 save->
ucon = new_ucon;
103 static inline void s3c_pm_restored_gpios(
void)
109 static inline void samsung_pm_saved_gpios(
void)