1 /* 2 * Blackfin bf609 power management 3 * 4 * Copyright 2011 Analog Devices Inc. 5 * 6 * Licensed under the GPL-2 7 */ 8 9 #ifndef __MACH_BF609_PM_H__ 10 #define __MACH_BF609_PM_H__ 11 12 #include <linux/suspend.h> 13 #include <linux/platform_device.h> 14 15 extern int bfin609_pm_enter(suspend_state_t state); 16 extern int bf609_pm_prepare(void); 17 extern void bf609_pm_finish(void); 18 19 void bf609_hibernate(void); 20 void bfin_sec_raise_irq(unsigned int sid); 21 void coreb_enable(void); 22 23 int bf609_nor_flash_init(struct platform_device *pdev); 24 void bf609_nor_flash_exit(struct platform_device *pdev); 25 #endif 26