linux/arch/blackfin/include/asm/pm.h
<<
>>
Prefs
   1/*
   2 * Blackfin bf609 power management
   3 *
   4 * Copyright 2011 Analog Devices Inc.
   5 *
   6 * Licensed under the GPL-2
   7 */
   8
   9#ifndef __PM_H__
  10#define __PM_H__
  11
  12#include <linux/suspend.h>
  13
  14struct bfin_cpu_pm_fns {
  15        void    (*save)(unsigned long *);
  16        void    (*restore)(unsigned long *);
  17        int     (*valid)(suspend_state_t state);
  18        void    (*enter)(suspend_state_t state);
  19        int     (*prepare)(void);
  20        void    (*finish)(void);
  21};
  22
  23extern struct bfin_cpu_pm_fns *bfin_cpu_pm;
  24
  25# ifdef CONFIG_BFIN_COREB
  26void bfin_coreb_start(void);
  27void bfin_coreb_stop(void);
  28void bfin_coreb_reset(void);
  29# endif
  30
  31#endif
  32