Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
powerdomain-common.c File Reference
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/bug.h>
#include "pm.h"
#include "cm.h"
#include "cm-regbits-34xx.h"
#include "cm-regbits-44xx.h"
#include "prm-regbits-34xx.h"
#include "prm-regbits-44xx.h"

Go to the source code of this file.

Macros

#define OMAP_MEM0_ONSTATE_MASK   OMAP3430_SHAREDL1CACHEFLATONSTATE_MASK
 
#define OMAP_MEM1_ONSTATE_MASK   OMAP3430_L1FLATMEMONSTATE_MASK
 
#define OMAP_MEM2_ONSTATE_MASK   OMAP3430_SHAREDL2CACHEFLATONSTATE_MASK
 
#define OMAP_MEM3_ONSTATE_MASK   OMAP3430_L2FLATMEMONSTATE_MASK
 
#define OMAP_MEM4_ONSTATE_MASK   OMAP4430_OCP_NRET_BANK_ONSTATE_MASK
 
#define OMAP_MEM0_RETSTATE_MASK   OMAP3430_SHAREDL1CACHEFLATRETSTATE_MASK
 
#define OMAP_MEM1_RETSTATE_MASK   OMAP3430_L1FLATMEMRETSTATE_MASK
 
#define OMAP_MEM2_RETSTATE_MASK   OMAP3430_SHAREDL2CACHEFLATRETSTATE_MASK
 
#define OMAP_MEM3_RETSTATE_MASK   OMAP3430_L2FLATMEMRETSTATE_MASK
 
#define OMAP_MEM4_RETSTATE_MASK   OMAP4430_OCP_NRET_BANK_RETSTATE_MASK
 
#define OMAP_MEM0_STATEST_MASK   OMAP3430_SHAREDL1CACHEFLATSTATEST_MASK
 
#define OMAP_MEM1_STATEST_MASK   OMAP3430_L1FLATMEMSTATEST_MASK
 
#define OMAP_MEM2_STATEST_MASK   OMAP3430_SHAREDL2CACHEFLATSTATEST_MASK
 
#define OMAP_MEM3_STATEST_MASK   OMAP3430_L2FLATMEMSTATEST_MASK
 
#define OMAP_MEM4_STATEST_MASK   OMAP4430_OCP_NRET_BANK_STATEST_MASK
 

Functions

u32 omap2_pwrdm_get_mem_bank_onstate_mask (u8 bank)
 
u32 omap2_pwrdm_get_mem_bank_retst_mask (u8 bank)
 
u32 omap2_pwrdm_get_mem_bank_stst_mask (u8 bank)
 

Macro Definition Documentation

#define OMAP_MEM0_ONSTATE_MASK   OMAP3430_SHAREDL1CACHEFLATONSTATE_MASK

Definition at line 30 of file powerdomain-common.c.

#define OMAP_MEM0_RETSTATE_MASK   OMAP3430_SHAREDL1CACHEFLATRETSTATE_MASK

Definition at line 37 of file powerdomain-common.c.

#define OMAP_MEM0_STATEST_MASK   OMAP3430_SHAREDL1CACHEFLATSTATEST_MASK

Definition at line 44 of file powerdomain-common.c.

#define OMAP_MEM1_ONSTATE_MASK   OMAP3430_L1FLATMEMONSTATE_MASK

Definition at line 31 of file powerdomain-common.c.

#define OMAP_MEM1_RETSTATE_MASK   OMAP3430_L1FLATMEMRETSTATE_MASK

Definition at line 38 of file powerdomain-common.c.

#define OMAP_MEM1_STATEST_MASK   OMAP3430_L1FLATMEMSTATEST_MASK

Definition at line 45 of file powerdomain-common.c.

#define OMAP_MEM2_ONSTATE_MASK   OMAP3430_SHAREDL2CACHEFLATONSTATE_MASK

Definition at line 32 of file powerdomain-common.c.

#define OMAP_MEM2_RETSTATE_MASK   OMAP3430_SHAREDL2CACHEFLATRETSTATE_MASK

Definition at line 39 of file powerdomain-common.c.

#define OMAP_MEM2_STATEST_MASK   OMAP3430_SHAREDL2CACHEFLATSTATEST_MASK

Definition at line 46 of file powerdomain-common.c.

#define OMAP_MEM3_ONSTATE_MASK   OMAP3430_L2FLATMEMONSTATE_MASK

Definition at line 33 of file powerdomain-common.c.

#define OMAP_MEM3_RETSTATE_MASK   OMAP3430_L2FLATMEMRETSTATE_MASK

Definition at line 40 of file powerdomain-common.c.

#define OMAP_MEM3_STATEST_MASK   OMAP3430_L2FLATMEMSTATEST_MASK

Definition at line 47 of file powerdomain-common.c.

#define OMAP_MEM4_ONSTATE_MASK   OMAP4430_OCP_NRET_BANK_ONSTATE_MASK

Definition at line 34 of file powerdomain-common.c.

#define OMAP_MEM4_RETSTATE_MASK   OMAP4430_OCP_NRET_BANK_RETSTATE_MASK

Definition at line 41 of file powerdomain-common.c.

#define OMAP_MEM4_STATEST_MASK   OMAP4430_OCP_NRET_BANK_STATEST_MASK

Definition at line 48 of file powerdomain-common.c.

Function Documentation

u32 omap2_pwrdm_get_mem_bank_onstate_mask ( u8  bank)

Definition at line 51 of file powerdomain-common.c.

u32 omap2_pwrdm_get_mem_bank_retst_mask ( u8  bank)

Definition at line 71 of file powerdomain-common.c.

u32 omap2_pwrdm_get_mem_bank_stst_mask ( u8  bank)

Definition at line 91 of file powerdomain-common.c.