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

Go to the source code of this file.

Macros

#define OMAP4430_PRCM_MPU_BASE   0x48243000
 
#define OMAP44XX_PRCM_MPU_REGADDR(inst, reg)   OMAP2_L4_IO_ADDRESS(OMAP4430_PRCM_MPU_BASE + (inst) + (reg))
 
#define OMAP4430_PRCM_MPU_OCP_SOCKET_PRCM_INST   0x0000
 
#define OMAP4430_PRCM_MPU_DEVICE_PRM_INST   0x0200
 
#define OMAP4430_PRCM_MPU_CPU0_INST   0x0400
 
#define OMAP4430_PRCM_MPU_CPU1_INST   0x0800
 
#define OMAP4430_PRCM_MPU_CPU0_CPU0_CDOFFS   0x0018
 
#define OMAP4430_PRCM_MPU_CPU1_CPU1_CDOFFS   0x0018
 
#define OMAP4_REVISION_PRCM_OFFSET   0x0000
 
#define OMAP4430_REVISION_PRCM   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_OCP_SOCKET_PRCM_INST, 0x0000)
 
#define OMAP4_PRCM_MPU_PRM_RSTST_OFFSET   0x0000
 
#define OMAP4430_PRCM_MPU_PRM_RSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_DEVICE_PRM_INST, 0x0000)
 
#define OMAP4_PRCM_MPU_PRM_PSCON_COUNT_OFFSET   0x0004
 
#define OMAP4430_PRCM_MPU_PRM_PSCON_COUNT   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_DEVICE_PRM_INST, 0x0004)
 
#define OMAP4_PM_CPU0_PWRSTCTRL_OFFSET   0x0000
 
#define OMAP4430_PM_CPU0_PWRSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0000)
 
#define OMAP4_PM_CPU0_PWRSTST_OFFSET   0x0004
 
#define OMAP4430_PM_CPU0_PWRSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0004)
 
#define OMAP4_RM_CPU0_CPU0_CONTEXT_OFFSET   0x0008
 
#define OMAP4430_RM_CPU0_CPU0_CONTEXT   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0008)
 
#define OMAP4_RM_CPU0_CPU0_RSTCTRL_OFFSET   0x000c
 
#define OMAP4430_RM_CPU0_CPU0_RSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x000c)
 
#define OMAP4_RM_CPU0_CPU0_RSTST_OFFSET   0x0010
 
#define OMAP4430_RM_CPU0_CPU0_RSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0010)
 
#define OMAP4_CM_CPU0_CPU0_CLKCTRL_OFFSET   0x0014
 
#define OMAP4430_CM_CPU0_CPU0_CLKCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0014)
 
#define OMAP4_CM_CPU0_CLKSTCTRL_OFFSET   0x0018
 
#define OMAP4430_CM_CPU0_CLKSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0018)
 
#define OMAP4_PM_CPU1_PWRSTCTRL_OFFSET   0x0000
 
#define OMAP4430_PM_CPU1_PWRSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0000)
 
#define OMAP4_PM_CPU1_PWRSTST_OFFSET   0x0004
 
#define OMAP4430_PM_CPU1_PWRSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0004)
 
#define OMAP4_RM_CPU1_CPU1_CONTEXT_OFFSET   0x0008
 
#define OMAP4430_RM_CPU1_CPU1_CONTEXT   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0008)
 
#define OMAP4_RM_CPU1_CPU1_RSTCTRL_OFFSET   0x000c
 
#define OMAP4430_RM_CPU1_CPU1_RSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x000c)
 
#define OMAP4_RM_CPU1_CPU1_RSTST_OFFSET   0x0010
 
#define OMAP4430_RM_CPU1_CPU1_RSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0010)
 
#define OMAP4_CM_CPU1_CPU1_CLKCTRL_OFFSET   0x0014
 
#define OMAP4430_CM_CPU1_CPU1_CLKCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0014)
 
#define OMAP4_CM_CPU1_CLKSTCTRL_OFFSET   0x0018
 
#define OMAP4430_CM_CPU1_CLKSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0018)
 

Functions

u32 omap4_prcm_mpu_read_inst_reg (s16 inst, u16 idx)
 
void omap4_prcm_mpu_write_inst_reg (u32 val, s16 inst, u16 idx)
 
u32 omap4_prcm_mpu_rmw_inst_reg_bits (u32 mask, u32 bits, s16 inst, s16 idx)
 

Macro Definition Documentation

#define OMAP4430_CM_CPU0_CLKSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0018)

Definition at line 77 of file prcm_mpu44xx.h.

#define OMAP4430_CM_CPU0_CPU0_CLKCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0014)

Definition at line 75 of file prcm_mpu44xx.h.

#define OMAP4430_CM_CPU1_CLKSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0018)

Definition at line 93 of file prcm_mpu44xx.h.

#define OMAP4430_CM_CPU1_CPU1_CLKCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0014)

Definition at line 91 of file prcm_mpu44xx.h.

#define OMAP4430_PM_CPU0_PWRSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0000)

Definition at line 65 of file prcm_mpu44xx.h.

#define OMAP4430_PM_CPU0_PWRSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0004)

Definition at line 67 of file prcm_mpu44xx.h.

#define OMAP4430_PM_CPU1_PWRSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0000)

Definition at line 81 of file prcm_mpu44xx.h.

#define OMAP4430_PM_CPU1_PWRSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0004)

Definition at line 83 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_BASE   0x48243000

Definition at line 28 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_CPU0_CPU0_CDOFFS   0x0018

Definition at line 40 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_CPU0_INST   0x0400

Definition at line 36 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_CPU1_CPU1_CDOFFS   0x0018

Definition at line 41 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_CPU1_INST   0x0800

Definition at line 37 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_DEVICE_PRM_INST   0x0200

Definition at line 35 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_OCP_SOCKET_PRCM_INST   0x0000

Definition at line 34 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_PRM_PSCON_COUNT   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_DEVICE_PRM_INST, 0x0004)

Definition at line 61 of file prcm_mpu44xx.h.

#define OMAP4430_PRCM_MPU_PRM_RSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_DEVICE_PRM_INST, 0x0000)

Definition at line 59 of file prcm_mpu44xx.h.

#define OMAP4430_REVISION_PRCM   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_OCP_SOCKET_PRCM_INST, 0x0000)

Definition at line 55 of file prcm_mpu44xx.h.

#define OMAP4430_RM_CPU0_CPU0_CONTEXT   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0008)

Definition at line 69 of file prcm_mpu44xx.h.

#define OMAP4430_RM_CPU0_CPU0_RSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x000c)

Definition at line 71 of file prcm_mpu44xx.h.

#define OMAP4430_RM_CPU0_CPU0_RSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0010)

Definition at line 73 of file prcm_mpu44xx.h.

#define OMAP4430_RM_CPU1_CPU1_CONTEXT   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0008)

Definition at line 85 of file prcm_mpu44xx.h.

#define OMAP4430_RM_CPU1_CPU1_RSTCTRL   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x000c)

Definition at line 87 of file prcm_mpu44xx.h.

#define OMAP4430_RM_CPU1_CPU1_RSTST   OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0010)

Definition at line 89 of file prcm_mpu44xx.h.

#define OMAP44XX_PRCM_MPU_REGADDR (   inst,
  reg 
)    OMAP2_L4_IO_ADDRESS(OMAP4430_PRCM_MPU_BASE + (inst) + (reg))

Definition at line 30 of file prcm_mpu44xx.h.

#define OMAP4_CM_CPU0_CLKSTCTRL_OFFSET   0x0018

Definition at line 76 of file prcm_mpu44xx.h.

#define OMAP4_CM_CPU0_CPU0_CLKCTRL_OFFSET   0x0014

Definition at line 74 of file prcm_mpu44xx.h.

#define OMAP4_CM_CPU1_CLKSTCTRL_OFFSET   0x0018

Definition at line 92 of file prcm_mpu44xx.h.

#define OMAP4_CM_CPU1_CPU1_CLKCTRL_OFFSET   0x0014

Definition at line 90 of file prcm_mpu44xx.h.

#define OMAP4_PM_CPU0_PWRSTCTRL_OFFSET   0x0000

Definition at line 64 of file prcm_mpu44xx.h.

#define OMAP4_PM_CPU0_PWRSTST_OFFSET   0x0004

Definition at line 66 of file prcm_mpu44xx.h.

#define OMAP4_PM_CPU1_PWRSTCTRL_OFFSET   0x0000

Definition at line 80 of file prcm_mpu44xx.h.

#define OMAP4_PM_CPU1_PWRSTST_OFFSET   0x0004

Definition at line 82 of file prcm_mpu44xx.h.

#define OMAP4_PRCM_MPU_PRM_PSCON_COUNT_OFFSET   0x0004

Definition at line 60 of file prcm_mpu44xx.h.

#define OMAP4_PRCM_MPU_PRM_RSTST_OFFSET   0x0000

Definition at line 58 of file prcm_mpu44xx.h.

#define OMAP4_REVISION_PRCM_OFFSET   0x0000

Definition at line 54 of file prcm_mpu44xx.h.

#define OMAP4_RM_CPU0_CPU0_CONTEXT_OFFSET   0x0008

Definition at line 68 of file prcm_mpu44xx.h.

#define OMAP4_RM_CPU0_CPU0_RSTCTRL_OFFSET   0x000c

Definition at line 70 of file prcm_mpu44xx.h.

#define OMAP4_RM_CPU0_CPU0_RSTST_OFFSET   0x0010

Definition at line 72 of file prcm_mpu44xx.h.

#define OMAP4_RM_CPU1_CPU1_CONTEXT_OFFSET   0x0008

Definition at line 84 of file prcm_mpu44xx.h.

#define OMAP4_RM_CPU1_CPU1_RSTCTRL_OFFSET   0x000c

Definition at line 86 of file prcm_mpu44xx.h.

#define OMAP4_RM_CPU1_CPU1_RSTST_OFFSET   0x0010

Definition at line 88 of file prcm_mpu44xx.h.

Function Documentation

u32 omap4_prcm_mpu_read_inst_reg ( s16  inst,
u16  idx 
)

Definition at line 25 of file prcm_mpu44xx.c.

u32 omap4_prcm_mpu_rmw_inst_reg_bits ( u32  mask,
u32  bits,
s16  inst,
s16  idx 
)

Definition at line 35 of file prcm_mpu44xx.c.

void omap4_prcm_mpu_write_inst_reg ( u32  val,
s16  inst,
u16  idx 
)

Definition at line 30 of file prcm_mpu44xx.c.