15 #ifndef __MACH_S3C64XX_PM_CORE_H
16 #define __MACH_S3C64XX_PM_CORE_H __FILE__
18 #include <mach/regs-gpio.h>
20 static inline void s3c_pm_debug_init_uart(
void)
39 static inline void s3c_pm_arch_prepare_irqs(
void)
47 static inline void s3c_pm_arch_stop_clocks(
void)
51 static inline void s3c_pm_arch_show_resume_irqs(
void)
58 #define s3c_irqwake_eintallow ((1 << 28) - 1)
59 #define s3c_irqwake_intallow (~0)
61 static inline void s3c_pm_arch_update_uart(
void __iomem *
regs,
80 if (ucon_clk != save_clk) {
81 new_ucon = save->
ucon;
82 delta = ucon_clk ^ save_clk;
90 new_ucon &= ~S3C6400_UCON_UCLK0;
91 }
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)
110 static inline void samsung_pm_saved_gpios(
void)