Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
prm2xxx_3xxx.h File Reference
#include "prcm-common.h"
#include "prm.h"

Go to the source code of this file.

Macros

#define OMAP2420_PRM_REGADDR(module, reg)   OMAP2_L4_IO_ADDRESS(OMAP2420_PRM_BASE + (module) + (reg))
 
#define OMAP2430_PRM_REGADDR(module, reg)   OMAP2_L4_IO_ADDRESS(OMAP2430_PRM_BASE + (module) + (reg))
 
#define OMAP34XX_PRM_REGADDR(module, reg)   OMAP2_L4_IO_ADDRESS(OMAP3430_PRM_BASE + (module) + (reg))
 
#define OMAP2_PRCM_REVISION_OFFSET   0x0000
 
#define OMAP2420_PRCM_REVISION   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0000)
 
#define OMAP2_PRCM_SYSCONFIG_OFFSET   0x0010
 
#define OMAP2420_PRCM_SYSCONFIG   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0010)
 
#define OMAP2_PRCM_IRQSTATUS_MPU_OFFSET   0x0018
 
#define OMAP2420_PRCM_IRQSTATUS_MPU   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0018)
 
#define OMAP2_PRCM_IRQENABLE_MPU_OFFSET   0x001c
 
#define OMAP2420_PRCM_IRQENABLE_MPU   OMAP2420_PRM_REGADDR(OCP_MOD, 0x001c)
 
#define OMAP2_PRCM_VOLTCTRL_OFFSET   0x0050
 
#define OMAP2420_PRCM_VOLTCTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0050)
 
#define OMAP2_PRCM_VOLTST_OFFSET   0x0054
 
#define OMAP2420_PRCM_VOLTST   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0054)
 
#define OMAP2_PRCM_CLKSRC_CTRL_OFFSET   0x0060
 
#define OMAP2420_PRCM_CLKSRC_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0060)
 
#define OMAP2_PRCM_CLKOUT_CTRL_OFFSET   0x0070
 
#define OMAP2420_PRCM_CLKOUT_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0070)
 
#define OMAP2_PRCM_CLKEMUL_CTRL_OFFSET   0x0078
 
#define OMAP2420_PRCM_CLKEMUL_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0078)
 
#define OMAP2_PRCM_CLKCFG_CTRL_OFFSET   0x0080
 
#define OMAP2420_PRCM_CLKCFG_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0080)
 
#define OMAP2_PRCM_CLKCFG_STATUS_OFFSET   0x0084
 
#define OMAP2420_PRCM_CLKCFG_STATUS   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0084)
 
#define OMAP2_PRCM_VOLTSETUP_OFFSET   0x0090
 
#define OMAP2420_PRCM_VOLTSETUP   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0090)
 
#define OMAP2_PRCM_CLKSSETUP_OFFSET   0x0094
 
#define OMAP2420_PRCM_CLKSSETUP   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0094)
 
#define OMAP2_PRCM_POLCTRL_OFFSET   0x0098
 
#define OMAP2420_PRCM_POLCTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0098)
 
#define OMAP2430_PRCM_REVISION   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0000)
 
#define OMAP2430_PRCM_SYSCONFIG   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0010)
 
#define OMAP2430_PRCM_IRQSTATUS_MPU   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0018)
 
#define OMAP2430_PRCM_IRQENABLE_MPU   OMAP2430_PRM_REGADDR(OCP_MOD, 0x001c)
 
#define OMAP2430_PRCM_VOLTCTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0050)
 
#define OMAP2430_PRCM_VOLTST   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0054)
 
#define OMAP2430_PRCM_CLKSRC_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0060)
 
#define OMAP2430_PRCM_CLKOUT_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0070)
 
#define OMAP2430_PRCM_CLKEMUL_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0078)
 
#define OMAP2430_PRCM_CLKCFG_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0080)
 
#define OMAP2430_PRCM_CLKCFG_STATUS   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0084)
 
#define OMAP2430_PRCM_VOLTSETUP   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0090)
 
#define OMAP2430_PRCM_CLKSSETUP   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0094)
 
#define OMAP2430_PRCM_POLCTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0098)
 
#define OMAP3_PRM_REVISION_OFFSET   0x0004
 
#define OMAP3430_PRM_REVISION   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x0004)
 
#define OMAP3_PRM_SYSCONFIG_OFFSET   0x0014
 
#define OMAP3430_PRM_SYSCONFIG   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x0014)
 
#define OMAP3_PRM_IRQSTATUS_MPU_OFFSET   0x0018
 
#define OMAP3430_PRM_IRQSTATUS_MPU   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x0018)
 
#define OMAP3_PRM_IRQENABLE_MPU_OFFSET   0x001c
 
#define OMAP3430_PRM_IRQENABLE_MPU   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x001c)
 
#define OMAP3_PRM_VC_SMPS_SA_OFFSET   0x0020
 
#define OMAP3430_PRM_VC_SMPS_SA   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0020)
 
#define OMAP3_PRM_VC_SMPS_VOL_RA_OFFSET   0x0024
 
#define OMAP3430_PRM_VC_SMPS_VOL_RA   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0024)
 
#define OMAP3_PRM_VC_SMPS_CMD_RA_OFFSET   0x0028
 
#define OMAP3430_PRM_VC_SMPS_CMD_RA   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0028)
 
#define OMAP3_PRM_VC_CMD_VAL_0_OFFSET   0x002c
 
#define OMAP3430_PRM_VC_CMD_VAL_0   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x002c)
 
#define OMAP3_PRM_VC_CMD_VAL_1_OFFSET   0x0030
 
#define OMAP3430_PRM_VC_CMD_VAL_1   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0030)
 
#define OMAP3_PRM_VC_CH_CONF_OFFSET   0x0034
 
#define OMAP3430_PRM_VC_CH_CONF   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0034)
 
#define OMAP3_PRM_VC_I2C_CFG_OFFSET   0x0038
 
#define OMAP3430_PRM_VC_I2C_CFG   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0038)
 
#define OMAP3_PRM_VC_BYPASS_VAL_OFFSET   0x003c
 
#define OMAP3430_PRM_VC_BYPASS_VAL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x003c)
 
#define OMAP3_PRM_RSTCTRL_OFFSET   0x0050
 
#define OMAP3430_PRM_RSTCTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0050)
 
#define OMAP3_PRM_RSTTIME_OFFSET   0x0054
 
#define OMAP3430_PRM_RSTTIME   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0054)
 
#define OMAP3_PRM_RSTST_OFFSET   0x0058
 
#define OMAP3430_PRM_RSTST   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0058)
 
#define OMAP3_PRM_VOLTCTRL_OFFSET   0x0060
 
#define OMAP3430_PRM_VOLTCTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0060)
 
#define OMAP3_PRM_SRAM_PCHARGE_OFFSET   0x0064
 
#define OMAP3430_PRM_SRAM_PCHARGE   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0064)
 
#define OMAP3_PRM_CLKSRC_CTRL_OFFSET   0x0070
 
#define OMAP3430_PRM_CLKSRC_CTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0070)
 
#define OMAP3_PRM_VOLTSETUP1_OFFSET   0x0090
 
#define OMAP3430_PRM_VOLTSETUP1   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0090)
 
#define OMAP3_PRM_VOLTOFFSET_OFFSET   0x0094
 
#define OMAP3430_PRM_VOLTOFFSET   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0094)
 
#define OMAP3_PRM_CLKSETUP_OFFSET   0x0098
 
#define OMAP3430_PRM_CLKSETUP   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0098)
 
#define OMAP3_PRM_POLCTRL_OFFSET   0x009c
 
#define OMAP3430_PRM_POLCTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x009c)
 
#define OMAP3_PRM_VOLTSETUP2_OFFSET   0x00a0
 
#define OMAP3430_PRM_VOLTSETUP2   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00a0)
 
#define OMAP3_PRM_VP1_CONFIG_OFFSET   0x00b0
 
#define OMAP3430_PRM_VP1_CONFIG   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00b0)
 
#define OMAP3_PRM_VP1_VSTEPMIN_OFFSET   0x00b4
 
#define OMAP3430_PRM_VP1_VSTEPMIN   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00b4)
 
#define OMAP3_PRM_VP1_VSTEPMAX_OFFSET   0x00b8
 
#define OMAP3430_PRM_VP1_VSTEPMAX   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00b8)
 
#define OMAP3_PRM_VP1_VLIMITTO_OFFSET   0x00bc
 
#define OMAP3430_PRM_VP1_VLIMITTO   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00bc)
 
#define OMAP3_PRM_VP1_VOLTAGE_OFFSET   0x00c0
 
#define OMAP3430_PRM_VP1_VOLTAGE   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00c0)
 
#define OMAP3_PRM_VP1_STATUS_OFFSET   0x00c4
 
#define OMAP3430_PRM_VP1_STATUS   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00c4)
 
#define OMAP3_PRM_VP2_CONFIG_OFFSET   0x00d0
 
#define OMAP3430_PRM_VP2_CONFIG   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00d0)
 
#define OMAP3_PRM_VP2_VSTEPMIN_OFFSET   0x00d4
 
#define OMAP3430_PRM_VP2_VSTEPMIN   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00d4)
 
#define OMAP3_PRM_VP2_VSTEPMAX_OFFSET   0x00d8
 
#define OMAP3430_PRM_VP2_VSTEPMAX   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00d8)
 
#define OMAP3_PRM_VP2_VLIMITTO_OFFSET   0x00dc
 
#define OMAP3430_PRM_VP2_VLIMITTO   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00dc)
 
#define OMAP3_PRM_VP2_VOLTAGE_OFFSET   0x00e0
 
#define OMAP3430_PRM_VP2_VOLTAGE   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00e0)
 
#define OMAP3_PRM_VP2_STATUS_OFFSET   0x00e4
 
#define OMAP3430_PRM_VP2_STATUS   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00e4)
 
#define OMAP3_PRM_CLKSEL_OFFSET   0x0040
 
#define OMAP3430_PRM_CLKSEL   OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, 0x0040)
 
#define OMAP3_PRM_CLKOUT_CTRL_OFFSET   0x0070
 
#define OMAP3430_PRM_CLKOUT_CTRL   OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, 0x0070)
 
#define OMAP2_RM_RSTCTRL   0x0050
 
#define OMAP2_RM_RSTTIME   0x0054
 
#define OMAP2_RM_RSTST   0x0058
 
#define OMAP2_PM_PWSTCTRL   0x00e0
 
#define OMAP2_PM_PWSTST   0x00e4
 
#define PM_WKEN   0x00a0
 
#define PM_WKEN1   PM_WKEN
 
#define PM_WKST   0x00b0
 
#define PM_WKST1   PM_WKST
 
#define PM_WKDEP   0x00c8
 
#define PM_EVGENCTRL   0x00d4
 
#define PM_EVGENONTIM   0x00d8
 
#define PM_EVGENOFFTIM   0x00dc
 
#define OMAP24XX_PM_WKEN2   0x00a4
 
#define OMAP24XX_PM_WKST2   0x00b4
 
#define OMAP24XX_PRCM_IRQSTATUS_DSP   0x00f0 /* IVA mod */
 
#define OMAP24XX_PRCM_IRQENABLE_DSP   0x00f4 /* IVA mod */
 
#define OMAP24XX_PRCM_IRQSTATUS_IVA   0x00f8
 
#define OMAP24XX_PRCM_IRQENABLE_IVA   0x00fc
 
#define OMAP3430ES2_PM_WKEN3   0x00f0
 
#define OMAP3430ES2_PM_WKST3   0x00b8
 
#define OMAP3430_PM_MPUGRPSEL   0x00a4
 
#define OMAP3430_PM_MPUGRPSEL1   OMAP3430_PM_MPUGRPSEL
 
#define OMAP3430ES2_PM_MPUGRPSEL3   0x00f8
 
#define OMAP3430_PM_IVAGRPSEL   0x00a8
 
#define OMAP3430_PM_IVAGRPSEL1   OMAP3430_PM_IVAGRPSEL
 
#define OMAP3430ES2_PM_IVAGRPSEL3   0x00f4
 
#define OMAP3430_PM_PREPWSTST   0x00e8
 
#define OMAP3430_PRM_IRQSTATUS_IVA2   0x00f8
 
#define OMAP3430_PRM_IRQENABLE_IVA2   0x00fc
 
#define OMAP_ONTIMEVAL_SHIFT   0
 
#define OMAP_ONTIMEVAL_MASK   (0xffffffff << 0)
 
#define OMAP_OFFTIMEVAL_SHIFT   0
 
#define OMAP_OFFTIMEVAL_MASK   (0xffffffff << 0)
 
#define OMAP_SETUP_TIME_SHIFT   0
 
#define OMAP_SETUP_TIME_MASK   (0xffff << 0)
 
#define OMAP_SYSCLKDIV_SHIFT   6
 
#define OMAP_SYSCLKDIV_MASK   (0x3 << 6)
 
#define OMAP_AUTOEXTCLKMODE_SHIFT   3
 
#define OMAP_AUTOEXTCLKMODE_MASK   (0x3 << 3)
 
#define OMAP_SYSCLKSEL_SHIFT   0
 
#define OMAP_SYSCLKSEL_MASK   (0x3 << 0)
 
#define OMAP_OFFLOADMODE_SHIFT   3
 
#define OMAP_OFFLOADMODE_MASK   (0x3 << 3)
 
#define OMAP_ONLOADMODE_SHIFT   1
 
#define OMAP_ONLOADMODE_MASK   (0x3 << 1)
 
#define OMAP_ENABLE_MASK   (1 << 0)
 
#define OMAP_RSTTIME2_SHIFT   8
 
#define OMAP_RSTTIME2_MASK   (0x1f << 8)
 
#define OMAP_RSTTIME1_SHIFT   0
 
#define OMAP_RSTTIME1_MASK   (0xff << 0)
 
#define OMAP_RST_DPLL3_MASK   (1 << 2)
 
#define OMAP_RST_GS_MASK   (1 << 1)
 
#define OMAP_COREDOMAINWKUP_RST_MASK   (1 << 3)
 
#define OMAP_DOMAINWKUP_RST_MASK   (1 << 2)
 
#define OMAP_GLOBALWARM_RST_MASK   (1 << 1)
 
#define OMAP_GLOBALCOLD_RST_MASK   (1 << 0)
 
#define OMAP_EN_WKUP_SHIFT   4
 
#define OMAP_EN_WKUP_MASK   (1 << 4)
 
#define OMAP_LOGICRETSTATE_MASK   (1 << 2)
 
#define MAX_MODULE_HARDRESET_WAIT   10000
 

Functions

u32 omap2_prm_read_mod_reg (s16 module, u16 idx)
 
void omap2_prm_write_mod_reg (u32 val, s16 module, u16 idx)
 
u32 omap2_prm_rmw_mod_reg_bits (u32 mask, u32 bits, s16 module, s16 idx)
 
u32 omap2_prm_set_mod_reg_bits (u32 bits, s16 module, s16 idx)
 
u32 omap2_prm_clear_mod_reg_bits (u32 bits, s16 module, s16 idx)
 
u32 omap2_prm_read_mod_bits_shift (s16 domain, s16 idx, u32 mask)
 
int omap2_prm_is_hardreset_asserted (s16 prm_mod, u8 shift)
 
int omap2_prm_assert_hardreset (s16 prm_mod, u8 shift)
 
int omap2_prm_deassert_hardreset (s16 prm_mod, u8 rst_shift, u8 st_shift)
 
u32 omap3_prm_vp_check_txdone (u8 vp_id)
 
void omap3_prm_vp_clear_txdone (u8 vp_id)
 
u32 omap3_prm_vcvp_read (u8 offset)
 
void omap3_prm_vcvp_write (u32 val, u8 offset)
 
u32 omap3_prm_vcvp_rmw (u32 mask, u32 bits, u8 offset)
 
void omap3xxx_prm_reconfigure_io_chain (void)
 
void omap3xxx_prm_read_pending_irqs (unsigned long *events)
 
void omap3xxx_prm_ocp_barrier (void)
 
void omap3xxx_prm_save_and_clear_irqen (u32 *saved_mask)
 
void omap3xxx_prm_restore_irqen (u32 *saved_mask)
 

Macro Definition Documentation

#define MAX_MODULE_HARDRESET_WAIT   10000

Definition at line 383 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_CLKCFG_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0080)

Definition at line 61 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_CLKCFG_STATUS   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0084)

Definition at line 63 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_CLKEMUL_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0078)

Definition at line 59 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_CLKOUT_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0070)

Definition at line 57 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_CLKSRC_CTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0060)

Definition at line 55 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_CLKSSETUP   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0094)

Definition at line 67 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_IRQENABLE_MPU   OMAP2420_PRM_REGADDR(OCP_MOD, 0x001c)

Definition at line 48 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_IRQSTATUS_MPU   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0018)

Definition at line 46 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_POLCTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0098)

Definition at line 69 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_REVISION   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0000)

Definition at line 41 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_SYSCONFIG   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0010)

Definition at line 43 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_VOLTCTRL   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0050)

Definition at line 51 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_VOLTSETUP   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0090)

Definition at line 65 of file prm2xxx_3xxx.h.

#define OMAP2420_PRCM_VOLTST   OMAP2420_PRM_REGADDR(OCP_MOD, 0x0054)

Definition at line 53 of file prm2xxx_3xxx.h.

#define OMAP2420_PRM_REGADDR (   module,
  reg 
)    OMAP2_L4_IO_ADDRESS(OMAP2420_PRM_BASE + (module) + (reg))

Definition at line 22 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_CLKCFG_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0080)

Definition at line 82 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_CLKCFG_STATUS   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0084)

Definition at line 83 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_CLKEMUL_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0078)

Definition at line 81 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_CLKOUT_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0070)

Definition at line 80 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_CLKSRC_CTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0060)

Definition at line 79 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_CLKSSETUP   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0094)

Definition at line 85 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_IRQENABLE_MPU   OMAP2430_PRM_REGADDR(OCP_MOD, 0x001c)

Definition at line 75 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_IRQSTATUS_MPU   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0018)

Definition at line 74 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_POLCTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0098)

Definition at line 86 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_REVISION   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0000)

Definition at line 71 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_SYSCONFIG   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0010)

Definition at line 72 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_VOLTCTRL   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0050)

Definition at line 77 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_VOLTSETUP   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0090)

Definition at line 84 of file prm2xxx_3xxx.h.

#define OMAP2430_PRCM_VOLTST   OMAP2430_PRM_REGADDR(OCP_MOD, 0x0054)

Definition at line 78 of file prm2xxx_3xxx.h.

#define OMAP2430_PRM_REGADDR (   module,
  reg 
)    OMAP2_L4_IO_ADDRESS(OMAP2430_PRM_BASE + (module) + (reg))

Definition at line 24 of file prm2xxx_3xxx.h.

#define OMAP24XX_PM_WKEN2   0x00a4

Definition at line 204 of file prm2xxx_3xxx.h.

#define OMAP24XX_PM_WKST2   0x00b4

Definition at line 205 of file prm2xxx_3xxx.h.

#define OMAP24XX_PRCM_IRQENABLE_DSP   0x00f4 /* IVA mod */

Definition at line 208 of file prm2xxx_3xxx.h.

#define OMAP24XX_PRCM_IRQENABLE_IVA   0x00fc

Definition at line 210 of file prm2xxx_3xxx.h.

#define OMAP24XX_PRCM_IRQSTATUS_DSP   0x00f0 /* IVA mod */

Definition at line 207 of file prm2xxx_3xxx.h.

#define OMAP24XX_PRCM_IRQSTATUS_IVA   0x00f8

Definition at line 209 of file prm2xxx_3xxx.h.

#define OMAP2_PM_PWSTCTRL   0x00e0

Definition at line 191 of file prm2xxx_3xxx.h.

#define OMAP2_PM_PWSTST   0x00e4

Definition at line 192 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_CLKCFG_CTRL_OFFSET   0x0080

Definition at line 60 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_CLKCFG_STATUS_OFFSET   0x0084

Definition at line 62 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_CLKEMUL_CTRL_OFFSET   0x0078

Definition at line 58 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_CLKOUT_CTRL_OFFSET   0x0070

Definition at line 56 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_CLKSRC_CTRL_OFFSET   0x0060

Definition at line 54 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_CLKSSETUP_OFFSET   0x0094

Definition at line 66 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_IRQENABLE_MPU_OFFSET   0x001c

Definition at line 47 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_IRQSTATUS_MPU_OFFSET   0x0018

Definition at line 45 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_POLCTRL_OFFSET   0x0098

Definition at line 68 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_REVISION_OFFSET   0x0000

Definition at line 40 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_SYSCONFIG_OFFSET   0x0010

Definition at line 42 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_VOLTCTRL_OFFSET   0x0050

Definition at line 50 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_VOLTSETUP_OFFSET   0x0090

Definition at line 64 of file prm2xxx_3xxx.h.

#define OMAP2_PRCM_VOLTST_OFFSET   0x0054

Definition at line 52 of file prm2xxx_3xxx.h.

#define OMAP2_RM_RSTCTRL   0x0050

Definition at line 188 of file prm2xxx_3xxx.h.

#define OMAP2_RM_RSTST   0x0058

Definition at line 190 of file prm2xxx_3xxx.h.

#define OMAP2_RM_RSTTIME   0x0054

Definition at line 189 of file prm2xxx_3xxx.h.

#define OMAP3430_PM_IVAGRPSEL   0x00a8

Definition at line 220 of file prm2xxx_3xxx.h.

#define OMAP3430_PM_IVAGRPSEL1   OMAP3430_PM_IVAGRPSEL

Definition at line 221 of file prm2xxx_3xxx.h.

#define OMAP3430_PM_MPUGRPSEL   0x00a4

Definition at line 216 of file prm2xxx_3xxx.h.

#define OMAP3430_PM_MPUGRPSEL1   OMAP3430_PM_MPUGRPSEL

Definition at line 217 of file prm2xxx_3xxx.h.

#define OMAP3430_PM_PREPWSTST   0x00e8

Definition at line 224 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_CLKOUT_CTRL   OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, 0x0070)

Definition at line 174 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_CLKSEL   OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, 0x0040)

Definition at line 172 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_CLKSETUP   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0098)

Definition at line 141 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_CLKSRC_CTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0070)

Definition at line 135 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_IRQENABLE_IVA2   0x00fc

Definition at line 227 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_IRQENABLE_MPU   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x001c)

Definition at line 105 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_IRQSTATUS_IVA2   0x00f8

Definition at line 226 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_IRQSTATUS_MPU   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x0018)

Definition at line 103 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_POLCTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x009c)

Definition at line 143 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_REVISION   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x0004)

Definition at line 98 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_RSTCTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0050)

Definition at line 125 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_RSTST   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0058)

Definition at line 129 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_RSTTIME   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0054)

Definition at line 127 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_SRAM_PCHARGE   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0064)

Definition at line 133 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_SYSCONFIG   OMAP34XX_PRM_REGADDR(OCP_MOD, 0x0014)

Definition at line 100 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_BYPASS_VAL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x003c)

Definition at line 123 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_CH_CONF   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0034)

Definition at line 119 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_CMD_VAL_0   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x002c)

Definition at line 115 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_CMD_VAL_1   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0030)

Definition at line 117 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_I2C_CFG   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0038)

Definition at line 121 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_SMPS_CMD_RA   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0028)

Definition at line 113 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_SMPS_SA   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0020)

Definition at line 109 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VC_SMPS_VOL_RA   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0024)

Definition at line 111 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VOLTCTRL   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0060)

Definition at line 131 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VOLTOFFSET   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0094)

Definition at line 139 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VOLTSETUP1   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0090)

Definition at line 137 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VOLTSETUP2   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00a0)

Definition at line 145 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP1_CONFIG   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00b0)

Definition at line 147 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP1_STATUS   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00c4)

Definition at line 157 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP1_VLIMITTO   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00bc)

Definition at line 153 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP1_VOLTAGE   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00c0)

Definition at line 155 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP1_VSTEPMAX   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00b8)

Definition at line 151 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP1_VSTEPMIN   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00b4)

Definition at line 149 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP2_CONFIG   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00d0)

Definition at line 159 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP2_STATUS   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00e4)

Definition at line 169 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP2_VLIMITTO   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00dc)

Definition at line 165 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP2_VOLTAGE   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00e0)

Definition at line 167 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP2_VSTEPMAX   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00d8)

Definition at line 163 of file prm2xxx_3xxx.h.

#define OMAP3430_PRM_VP2_VSTEPMIN   OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x00d4)

Definition at line 161 of file prm2xxx_3xxx.h.

#define OMAP3430ES2_PM_IVAGRPSEL3   0x00f4

Definition at line 222 of file prm2xxx_3xxx.h.

#define OMAP3430ES2_PM_MPUGRPSEL3   0x00f8

Definition at line 218 of file prm2xxx_3xxx.h.

#define OMAP3430ES2_PM_WKEN3   0x00f0

Definition at line 213 of file prm2xxx_3xxx.h.

#define OMAP3430ES2_PM_WKST3   0x00b8

Definition at line 214 of file prm2xxx_3xxx.h.

#define OMAP34XX_PRM_REGADDR (   module,
  reg 
)    OMAP2_L4_IO_ADDRESS(OMAP3430_PRM_BASE + (module) + (reg))

Definition at line 26 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_CLKOUT_CTRL_OFFSET   0x0070

Definition at line 173 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_CLKSEL_OFFSET   0x0040

Definition at line 171 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_CLKSETUP_OFFSET   0x0098

Definition at line 140 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_CLKSRC_CTRL_OFFSET   0x0070

Definition at line 134 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_IRQENABLE_MPU_OFFSET   0x001c

Definition at line 104 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_IRQSTATUS_MPU_OFFSET   0x0018

Definition at line 102 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_POLCTRL_OFFSET   0x009c

Definition at line 142 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_REVISION_OFFSET   0x0004

Definition at line 97 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_RSTCTRL_OFFSET   0x0050

Definition at line 124 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_RSTST_OFFSET   0x0058

Definition at line 128 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_RSTTIME_OFFSET   0x0054

Definition at line 126 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_SRAM_PCHARGE_OFFSET   0x0064

Definition at line 132 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_SYSCONFIG_OFFSET   0x0014

Definition at line 99 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_BYPASS_VAL_OFFSET   0x003c

Definition at line 122 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_CH_CONF_OFFSET   0x0034

Definition at line 118 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_CMD_VAL_0_OFFSET   0x002c

Definition at line 114 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_CMD_VAL_1_OFFSET   0x0030

Definition at line 116 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_I2C_CFG_OFFSET   0x0038

Definition at line 120 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_SMPS_CMD_RA_OFFSET   0x0028

Definition at line 112 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_SMPS_SA_OFFSET   0x0020

Definition at line 108 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VC_SMPS_VOL_RA_OFFSET   0x0024

Definition at line 110 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VOLTCTRL_OFFSET   0x0060

Definition at line 130 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VOLTOFFSET_OFFSET   0x0094

Definition at line 138 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VOLTSETUP1_OFFSET   0x0090

Definition at line 136 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VOLTSETUP2_OFFSET   0x00a0

Definition at line 144 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP1_CONFIG_OFFSET   0x00b0

Definition at line 146 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP1_STATUS_OFFSET   0x00c4

Definition at line 156 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP1_VLIMITTO_OFFSET   0x00bc

Definition at line 152 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP1_VOLTAGE_OFFSET   0x00c0

Definition at line 154 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP1_VSTEPMAX_OFFSET   0x00b8

Definition at line 150 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP1_VSTEPMIN_OFFSET   0x00b4

Definition at line 148 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP2_CONFIG_OFFSET   0x00d0

Definition at line 158 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP2_STATUS_OFFSET   0x00e4

Definition at line 168 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP2_VLIMITTO_OFFSET   0x00dc

Definition at line 164 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP2_VOLTAGE_OFFSET   0x00e0

Definition at line 166 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP2_VSTEPMAX_OFFSET   0x00d8

Definition at line 162 of file prm2xxx_3xxx.h.

#define OMAP3_PRM_VP2_VSTEPMIN_OFFSET   0x00d4

Definition at line 160 of file prm2xxx_3xxx.h.

#define OMAP_AUTOEXTCLKMODE_MASK   (0x3 << 3)

Definition at line 293 of file prm2xxx_3xxx.h.

#define OMAP_AUTOEXTCLKMODE_SHIFT   3

Definition at line 292 of file prm2xxx_3xxx.h.

#define OMAP_COREDOMAINWKUP_RST_MASK   (1 << 3)

Definition at line 332 of file prm2xxx_3xxx.h.

#define OMAP_DOMAINWKUP_RST_MASK   (1 << 2)

Definition at line 341 of file prm2xxx_3xxx.h.

#define OMAP_EN_WKUP_MASK   (1 << 4)

Definition at line 364 of file prm2xxx_3xxx.h.

#define OMAP_EN_WKUP_SHIFT   4

Definition at line 363 of file prm2xxx_3xxx.h.

#define OMAP_ENABLE_MASK   (1 << 0)

Definition at line 302 of file prm2xxx_3xxx.h.

#define OMAP_GLOBALCOLD_RST_MASK   (1 << 0)

Definition at line 352 of file prm2xxx_3xxx.h.

#define OMAP_GLOBALWARM_RST_MASK   (1 << 1)

Definition at line 351 of file prm2xxx_3xxx.h.

#define OMAP_LOGICRETSTATE_MASK   (1 << 2)

Definition at line 376 of file prm2xxx_3xxx.h.

#define OMAP_OFFLOADMODE_MASK   (0x3 << 3)

Definition at line 299 of file prm2xxx_3xxx.h.

#define OMAP_OFFLOADMODE_SHIFT   3

Definition at line 298 of file prm2xxx_3xxx.h.

#define OMAP_OFFTIMEVAL_MASK   (0xffffffff << 0)

Definition at line 281 of file prm2xxx_3xxx.h.

#define OMAP_OFFTIMEVAL_SHIFT   0

Definition at line 280 of file prm2xxx_3xxx.h.

#define OMAP_ONLOADMODE_MASK   (0x3 << 1)

Definition at line 301 of file prm2xxx_3xxx.h.

#define OMAP_ONLOADMODE_SHIFT   1

Definition at line 300 of file prm2xxx_3xxx.h.

#define OMAP_ONTIMEVAL_MASK   (0xffffffff << 0)

Definition at line 276 of file prm2xxx_3xxx.h.

#define OMAP_ONTIMEVAL_SHIFT   0

Definition at line 275 of file prm2xxx_3xxx.h.

#define OMAP_RST_DPLL3_MASK   (1 << 2)

Definition at line 314 of file prm2xxx_3xxx.h.

#define OMAP_RST_GS_MASK   (1 << 1)

Definition at line 315 of file prm2xxx_3xxx.h.

#define OMAP_RSTTIME1_MASK   (0xff << 0)

Definition at line 309 of file prm2xxx_3xxx.h.

#define OMAP_RSTTIME1_SHIFT   0

Definition at line 308 of file prm2xxx_3xxx.h.

#define OMAP_RSTTIME2_MASK   (0x1f << 8)

Definition at line 307 of file prm2xxx_3xxx.h.

#define OMAP_RSTTIME2_SHIFT   8

Definition at line 306 of file prm2xxx_3xxx.h.

#define OMAP_SETUP_TIME_MASK   (0xffff << 0)

Definition at line 286 of file prm2xxx_3xxx.h.

#define OMAP_SETUP_TIME_SHIFT   0

Definition at line 285 of file prm2xxx_3xxx.h.

#define OMAP_SYSCLKDIV_MASK   (0x3 << 6)

Definition at line 291 of file prm2xxx_3xxx.h.

#define OMAP_SYSCLKDIV_SHIFT   6

Definition at line 290 of file prm2xxx_3xxx.h.

#define OMAP_SYSCLKSEL_MASK   (0x3 << 0)

Definition at line 295 of file prm2xxx_3xxx.h.

#define OMAP_SYSCLKSEL_SHIFT   0

Definition at line 294 of file prm2xxx_3xxx.h.

#define PM_EVGENCTRL   0x00d4

Definition at line 199 of file prm2xxx_3xxx.h.

#define PM_EVGENOFFTIM   0x00dc

Definition at line 201 of file prm2xxx_3xxx.h.

#define PM_EVGENONTIM   0x00d8

Definition at line 200 of file prm2xxx_3xxx.h.

#define PM_WKDEP   0x00c8

Definition at line 198 of file prm2xxx_3xxx.h.

#define PM_WKEN   0x00a0

Definition at line 194 of file prm2xxx_3xxx.h.

#define PM_WKEN1   PM_WKEN

Definition at line 195 of file prm2xxx_3xxx.h.

#define PM_WKST   0x00b0

Definition at line 196 of file prm2xxx_3xxx.h.

#define PM_WKST1   PM_WKST

Definition at line 197 of file prm2xxx_3xxx.h.

Function Documentation

int omap2_prm_assert_hardreset ( s16  prm_mod,
u8  shift 
)

omap2_prm_assert_hardreset - assert the HW reset line of a submodule : PRM submodule base (e.g. CORE_MOD) : register bit shift corresponding to the reset line to assert

Some IPs like dsp or iva contain processors that require an HW reset line to be asserted / deasserted in order to fully enable the IP. These modules may have multiple hard-reset lines that reset different 'submodules' inside the IP block. This function will place the submodule into reset. Returns 0 upon success or -EINVAL upon an argument error.

Definition at line 126 of file prm2xxx_3xxx.c.

u32 omap2_prm_clear_mod_reg_bits ( u32  bits,
s16  module,
s16  idx 
)

Definition at line 89 of file prm2xxx_3xxx.c.

int omap2_prm_deassert_hardreset ( s16  prm_mod,
u8  rst_shift,
u8  st_shift 
)

omap2_prm_deassert_hardreset - deassert a submodule hardreset line and wait : PRM submodule base (e.g. CORE_MOD) : register bit shift corresponding to the reset line to deassert : register bit shift for the status of the deasserted submodule

Some IPs like dsp or iva contain processors that require an HW reset line to be asserted / deasserted in order to fully enable the IP. These modules may have multiple hard-reset lines that reset different 'submodules' inside the IP block. This function will take the submodule out of reset and wait until the PRCM indicates that the reset has completed before returning. Returns 0 upon success or -EINVAL upon an argument error, -EEXIST if the submodule was already out of reset, or -EBUSY if the submodule did not exit reset promptly.

Definition at line 154 of file prm2xxx_3xxx.c.

int omap2_prm_is_hardreset_asserted ( s16  prm_mod,
u8  shift 
)

omap2_prm_is_hardreset_asserted - read the HW reset line state of submodules contained in the hwmod module : PRM submodule base (e.g. CORE_MOD) : register bit shift corresponding to the reset line to check

Returns 1 if the (sub)module hardreset line is currently asserted, 0 if the (sub)module hardreset line is not currently asserted, or -EINVAL if called while running on a non-OMAP2/3 chip.

Definition at line 105 of file prm2xxx_3xxx.c.

u32 omap2_prm_read_mod_bits_shift ( s16  domain,
s16  idx,
u32  mask 
)

Definition at line 73 of file prm2xxx_3xxx.c.

u32 omap2_prm_read_mod_reg ( s16  module,
u16  idx 
)

Definition at line 49 of file prm2xxx_3xxx.c.

u32 omap2_prm_rmw_mod_reg_bits ( u32  mask,
u32  bits,
s16  module,
s16  idx 
)

Definition at line 60 of file prm2xxx_3xxx.c.

u32 omap2_prm_set_mod_reg_bits ( u32  bits,
s16  module,
s16  idx 
)

Definition at line 84 of file prm2xxx_3xxx.c.

void omap2_prm_write_mod_reg ( u32  val,
s16  module,
u16  idx 
)

Definition at line 54 of file prm2xxx_3xxx.c.

u32 omap3_prm_vcvp_read ( u8  offset)

Definition at line 220 of file prm2xxx_3xxx.c.

u32 omap3_prm_vcvp_rmw ( u32  mask,
u32  bits,
u8  offset 
)

Definition at line 230 of file prm2xxx_3xxx.c.

void omap3_prm_vcvp_write ( u32  val,
u8  offset 
)

Definition at line 225 of file prm2xxx_3xxx.c.

u32 omap3_prm_vp_check_txdone ( u8  vp_id)

Definition at line 202 of file prm2xxx_3xxx.c.

void omap3_prm_vp_clear_txdone ( u8  vp_id)

Definition at line 212 of file prm2xxx_3xxx.c.

void omap3xxx_prm_ocp_barrier ( void  )

omap3xxx_prm_ocp_barrier - force buffered MPU writes to the PRM to complete

Force any buffered writes to the PRM IP block to complete. Needed by the PRM IRQ handler, which reads and writes directly to the IP block, to avoid race conditions after acknowledging or clearing IRQ bits. No return value.

Definition at line 262 of file prm2xxx_3xxx.c.

void omap3xxx_prm_read_pending_irqs ( unsigned long events)

omap3xxx_prm_read_pending_irqs - read pending PRM MPU IRQs into : ptr to a u32, preallocated by caller

Read PRM_IRQSTATUS_MPU bits, AND'ed with the currently-enabled PRM MPU IRQs, and store the result into the u32 pointed to by . No return value.

Definition at line 243 of file prm2xxx_3xxx.c.

void omap3xxx_prm_reconfigure_io_chain ( void  )

omap3xxx_prm_reconfigure_io_chain - clear latches and reconfigure I/O chain

Clear any previously-latched I/O wakeup events and ensure that the I/O wakeup gates are aligned with the current mux settings. Works by asserting WUCLKIN, waiting for WUCLKOUT to be asserted, and then deasserting WUCLKIN and clearing the ST_IO_CHAIN WKST bit. No return value.

Definition at line 313 of file prm2xxx_3xxx.c.

void omap3xxx_prm_restore_irqen ( u32 saved_mask)

omap3xxx_prm_restore_irqen - set PRM_IRQENABLE_MPU register from args : ptr to a u32 array of IRQENABLE bits saved previously

Restore the PRM_IRQENABLE_MPU register from . Intended to be used in the PRM interrupt handler resume callback to restore values saved by omap3xxx_prm_save_and_clear_irqen(). No OCP barrier should be needed here; any pending PRM interrupts will fire once the writes reach the PRM. No return value.

Definition at line 298 of file prm2xxx_3xxx.c.

void omap3xxx_prm_save_and_clear_irqen ( u32 saved_mask)

omap3xxx_prm_save_and_clear_irqen - save/clear PRM_IRQENABLE_MPU reg : ptr to a u32 array to save IRQENABLE bits

Save the PRM_IRQENABLE_MPU register to . must be allocated by the caller. Intended to be used in the PRM interrupt handler suspend callback. The OCP barrier is needed to ensure the write to disable PRM interrupts reaches the PRM before returning; otherwise, spurious interrupts might occur. No return value.

Definition at line 278 of file prm2xxx_3xxx.c.