Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pm-pxa910.h File Reference

Go to the source code of this file.

Macros

#define APMU_MOH_IDLE_CFG   APMU_REG(0x0018)
 
#define APMU_MOH_IDLE_CFG_MOH_IDLE   (1 << 1)
 
#define APMU_MOH_IDLE_CFG_MOH_PWRDWN   (1 << 5)
 
#define APMU_MOH_IDLE_CFG_MOH_SRAM_PWRDWN   (1 << 6)
 
#define APMU_MOH_IDLE_CFG_MOH_PWR_SW(x)   (((x) & 0x3) << 16)
 
#define APMU_MOH_IDLE_CFG_MOH_L2_PWR_SW(x)   (((x) & 0x3) << 18)
 
#define APMU_MOH_IDLE_CFG_MOH_DIS_MC_SW_REQ   (1 << 21)
 
#define APMU_MOH_IDLE_CFG_MOH_MC_WAKE_EN   (1 << 20)
 
#define APMU_SQU_CLK_GATE_CTRL   APMU_REG(0x001c)
 
#define APMU_MC_HW_SLP_TYPE   APMU_REG(0x00b0)
 
#define MPMU_FCCR   MPMU_REG(0x0008)
 
#define MPMU_APCR   MPMU_REG(0x1000)
 
#define MPMU_APCR_AXISD   (1 << 31)
 
#define MPMU_APCR_DSPSD   (1 << 30)
 
#define MPMU_APCR_SLPEN   (1 << 29)
 
#define MPMU_APCR_DTCMSD   (1 << 28)
 
#define MPMU_APCR_DDRCORSD   (1 << 27)
 
#define MPMU_APCR_APBSD   (1 << 26)
 
#define MPMU_APCR_BBSD   (1 << 25)
 
#define MPMU_APCR_SLPWP0   (1 << 23)
 
#define MPMU_APCR_SLPWP1   (1 << 22)
 
#define MPMU_APCR_SLPWP2   (1 << 21)
 
#define MPMU_APCR_SLPWP3   (1 << 20)
 
#define MPMU_APCR_VCTCXOSD   (1 << 19)
 
#define MPMU_APCR_SLPWP4   (1 << 18)
 
#define MPMU_APCR_SLPWP5   (1 << 17)
 
#define MPMU_APCR_SLPWP6   (1 << 16)
 
#define MPMU_APCR_SLPWP7   (1 << 15)
 
#define MPMU_APCR_MSASLPEN   (1 << 14)
 
#define MPMU_APCR_STBYEN   (1 << 13)
 
#define MPMU_AWUCRM   MPMU_REG(0x104c)
 
#define MPMU_AWUCRM_AP_ASYNC_INT   (1 << 25)
 
#define MPMU_AWUCRM_AP_FULL_IDLE   (1 << 24)
 
#define MPMU_AWUCRM_SDH1   (1 << 23)
 
#define MPMU_AWUCRM_SDH2   (1 << 22)
 
#define MPMU_AWUCRM_KEYPRESS   (1 << 21)
 
#define MPMU_AWUCRM_TRACKBALL   (1 << 20)
 
#define MPMU_AWUCRM_NEWROTARY   (1 << 19)
 
#define MPMU_AWUCRM_RTC_ALARM   (1 << 17)
 
#define MPMU_AWUCRM_AP2_TIMER_3   (1 << 13)
 
#define MPMU_AWUCRM_AP2_TIMER_2   (1 << 12)
 
#define MPMU_AWUCRM_AP2_TIMER_1   (1 << 11)
 
#define MPMU_AWUCRM_AP1_TIMER_3   (1 << 10)
 
#define MPMU_AWUCRM_AP1_TIMER_2   (1 << 9)
 
#define MPMU_AWUCRM_AP1_TIMER_1   (1 << 8)
 
#define MPMU_AWUCRM_WAKEUP(x)   (1 << ((x) & 0x7))
 

Enumerations

enum  {
  POWER_MODE_ACTIVE = 0, POWER_MODE_CORE_INTIDLE, POWER_MODE_CORE_EXTIDLE, POWER_MODE_APPS_IDLE,
  POWER_MODE_APPS_SLEEP, POWER_MODE_SYS_SLEEP, POWER_MODE_HIBERNATE, POWER_MODE_UDR
}
 

Functions

int pxa910_set_wake (struct irq_data *data, unsigned int on)
 

Macro Definition Documentation

#define APMU_MC_HW_SLP_TYPE   APMU_REG(0x00b0)

Definition at line 24 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG   APMU_REG(0x0018)

Definition at line 14 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_DIS_MC_SW_REQ   (1 << 21)

Definition at line 20 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_IDLE   (1 << 1)

Definition at line 15 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_L2_PWR_SW (   x)    (((x) & 0x3) << 18)

Definition at line 19 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_MC_WAKE_EN   (1 << 20)

Definition at line 21 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_PWR_SW (   x)    (((x) & 0x3) << 16)

Definition at line 18 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_PWRDWN   (1 << 5)

Definition at line 16 of file pm-pxa910.h.

#define APMU_MOH_IDLE_CFG_MOH_SRAM_PWRDWN   (1 << 6)

Definition at line 17 of file pm-pxa910.h.

#define APMU_SQU_CLK_GATE_CTRL   APMU_REG(0x001c)

Definition at line 23 of file pm-pxa910.h.

#define MPMU_APCR   MPMU_REG(0x1000)

Definition at line 27 of file pm-pxa910.h.

#define MPMU_APCR_APBSD   (1 << 26)

Definition at line 33 of file pm-pxa910.h.

#define MPMU_APCR_AXISD   (1 << 31)

Definition at line 28 of file pm-pxa910.h.

#define MPMU_APCR_BBSD   (1 << 25)

Definition at line 34 of file pm-pxa910.h.

#define MPMU_APCR_DDRCORSD   (1 << 27)

Definition at line 32 of file pm-pxa910.h.

#define MPMU_APCR_DSPSD   (1 << 30)

Definition at line 29 of file pm-pxa910.h.

#define MPMU_APCR_DTCMSD   (1 << 28)

Definition at line 31 of file pm-pxa910.h.

#define MPMU_APCR_MSASLPEN   (1 << 14)

Definition at line 44 of file pm-pxa910.h.

#define MPMU_APCR_SLPEN   (1 << 29)

Definition at line 30 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP0   (1 << 23)

Definition at line 35 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP1   (1 << 22)

Definition at line 36 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP2   (1 << 21)

Definition at line 37 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP3   (1 << 20)

Definition at line 38 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP4   (1 << 18)

Definition at line 40 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP5   (1 << 17)

Definition at line 41 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP6   (1 << 16)

Definition at line 42 of file pm-pxa910.h.

#define MPMU_APCR_SLPWP7   (1 << 15)

Definition at line 43 of file pm-pxa910.h.

#define MPMU_APCR_STBYEN   (1 << 13)

Definition at line 45 of file pm-pxa910.h.

#define MPMU_APCR_VCTCXOSD   (1 << 19)

Definition at line 39 of file pm-pxa910.h.

#define MPMU_AWUCRM   MPMU_REG(0x104c)

Definition at line 47 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP1_TIMER_1   (1 << 8)

Definition at line 61 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP1_TIMER_2   (1 << 9)

Definition at line 60 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP1_TIMER_3   (1 << 10)

Definition at line 59 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP2_TIMER_1   (1 << 11)

Definition at line 58 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP2_TIMER_2   (1 << 12)

Definition at line 57 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP2_TIMER_3   (1 << 13)

Definition at line 56 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP_ASYNC_INT   (1 << 25)

Definition at line 48 of file pm-pxa910.h.

#define MPMU_AWUCRM_AP_FULL_IDLE   (1 << 24)

Definition at line 49 of file pm-pxa910.h.

#define MPMU_AWUCRM_KEYPRESS   (1 << 21)

Definition at line 52 of file pm-pxa910.h.

#define MPMU_AWUCRM_NEWROTARY   (1 << 19)

Definition at line 54 of file pm-pxa910.h.

#define MPMU_AWUCRM_RTC_ALARM   (1 << 17)

Definition at line 55 of file pm-pxa910.h.

#define MPMU_AWUCRM_SDH1   (1 << 23)

Definition at line 50 of file pm-pxa910.h.

#define MPMU_AWUCRM_SDH2   (1 << 22)

Definition at line 51 of file pm-pxa910.h.

#define MPMU_AWUCRM_TRACKBALL   (1 << 20)

Definition at line 53 of file pm-pxa910.h.

#define MPMU_AWUCRM_WAKEUP (   x)    (1 << ((x) & 0x7))

Definition at line 62 of file pm-pxa910.h.

#define MPMU_FCCR   MPMU_REG(0x0008)

Definition at line 26 of file pm-pxa910.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
POWER_MODE_ACTIVE 
POWER_MODE_CORE_INTIDLE 
POWER_MODE_CORE_EXTIDLE 
POWER_MODE_APPS_IDLE 
POWER_MODE_APPS_SLEEP 
POWER_MODE_SYS_SLEEP 
POWER_MODE_HIBERNATE 
POWER_MODE_UDR 

Definition at line 64 of file pm-pxa910.h.

Function Documentation

int pxa910_set_wake ( struct irq_data data,
unsigned int  on 
)

Definition at line 28 of file pm-pxa910.c.