Path: blob/master/arch/arm/mach-exynos4/include/mach/pm-core.h
10820 views
/* linux/arch/arm/mach-exynos4/include/mach/pm-core.h1*2* Copyright (c) 2011 Samsung Electronics Co., Ltd.3* http://www.samsung.com4*5* Based on arch/arm/mach-s3c2410/include/mach/pm-core.h,6* Copyright 2008 Simtec Electronics7* Ben Dooks <[email protected]>8* http://armlinux.simtec.co.uk/9*10* EXYNOS4210 - PM core support for arch/arm/plat-s5p/pm.c11*12* This program is free software; you can redistribute it and/or modify13* it under the terms of the GNU General Public License version 2 as14* published by the Free Software Foundation.15*/16#include <mach/regs-pmu.h>1718static inline void s3c_pm_debug_init_uart(void)19{20/* nothing here yet */21}2223static inline void s3c_pm_arch_prepare_irqs(void)24{25unsigned int tmp;26tmp = __raw_readl(S5P_WAKEUP_MASK);27tmp &= ~(1 << 31);28__raw_writel(tmp, S5P_WAKEUP_MASK);2930__raw_writel(s3c_irqwake_intmask, S5P_WAKEUP_MASK);31__raw_writel(s3c_irqwake_eintmask, S5P_EINT_WAKEUP_MASK);32}3334static inline void s3c_pm_arch_stop_clocks(void)35{36/* nothing here yet */37}3839static inline void s3c_pm_arch_show_resume_irqs(void)40{41/* nothing here yet */42}4344static inline void s3c_pm_arch_update_uart(void __iomem *regs,45struct pm_uart_save *save)46{47/* nothing here yet */48}495051