36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/* arch/arm/mach-msm/pm.h
 | 
						|
 *
 | 
						|
 * Copyright (C) 2009 Google, Inc.
 | 
						|
 *
 | 
						|
 * This software is licensed under the terms of the GNU General Public
 | 
						|
 * License version 2, as published by the Free Software Foundation, and
 | 
						|
 * may be copied, distributed, and modified under those terms.
 | 
						|
 *
 | 
						|
 * This program is distributed in the hope that it will be useful,
 | 
						|
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
 * GNU General Public License for more details.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _ARCH_ARM_MACH_MSM_SIRC_H
 | 
						|
#define _ARCH_ARM_MACH_MSM_SIRC_H
 | 
						|
 | 
						|
#ifdef CONFIG_ARCH_MSM_SCORPION
 | 
						|
void sirc_fiq_select(int irq, bool enable);
 | 
						|
#else
 | 
						|
static inline void sirc_fiq_select(int irq, bool enable) {}
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef CONFIG_ARCH_QSD8X50
 | 
						|
void __init msm_init_sirc(void);
 | 
						|
void msm_sirc_enter_sleep(void);
 | 
						|
void msm_sirc_exit_sleep(void);
 | 
						|
#else
 | 
						|
static inline void __init msm_init_sirc(void) {}
 | 
						|
static inline void msm_sirc_enter_sleep(void) { }
 | 
						|
static inline void msm_sirc_exit_sleep(void) { }
 | 
						|
#endif
 | 
						|
 | 
						|
#endif
 |