root/arch/arm/mach-prima2/pm.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
   2 /*
   3  * arch/arm/mach-prima2/pm.h
   4  *
   5  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
   6  */
   7 
   8 #ifndef _MACH_PRIMA2_PM_H_
   9 #define _MACH_PRIMA2_PM_H_
  10 
  11 #define SIRFSOC_PWR_SLEEPFORCE          0x01
  12 
  13 #define SIRFSOC_SLEEP_MODE_MASK         0x3
  14 #define SIRFSOC_DEEP_SLEEP_MODE         0x1
  15 
  16 #define SIRFSOC_PWRC_PDN_CTRL           0x0
  17 #define SIRFSOC_PWRC_PON_OFF            0x4
  18 #define SIRFSOC_PWRC_TRIGGER_EN         0x8
  19 #define SIRFSOC_PWRC_PIN_STATUS         0x14
  20 #define SIRFSOC_PWRC_SCRATCH_PAD1       0x18
  21 #define SIRFSOC_PWRC_SCRATCH_PAD2       0x1C
  22 
  23 #ifndef __ASSEMBLY__
  24 extern int sirfsoc_finish_suspend(unsigned long);
  25 #endif
  26 
  27 #endif
  28 

/* [<][>][^][v][top][bottom][index][help] */