pm.h 575 B

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