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

Go to the source code of this file.

Data Structures

struct  omap_prcm_irq
 
struct  omap_prcm_irq_setup
 

Macros

#define OCP_MOD   0x000
 
#define MPU_MOD   0x100
 
#define CORE_MOD   0x200
 
#define GFX_MOD   0x300
 
#define WKUP_MOD   0x400
 
#define PLL_MOD   0x500
 
#define OMAP24XX_GR_MOD   OCP_MOD
 
#define OMAP24XX_DSP_MOD   0x800
 
#define OMAP2430_MDM_MOD   0xc00
 
#define OMAP3430_IVA2_MOD   -0x800
 
#define OMAP3430ES2_SGX_MOD   GFX_MOD
 
#define OMAP3430_CCR_MOD   PLL_MOD
 
#define OMAP3430_DSS_MOD   0x600
 
#define OMAP3430_CAM_MOD   0x700
 
#define OMAP3430_PER_MOD   0x800
 
#define OMAP3430_EMU_MOD   0x900
 
#define OMAP3430_GR_MOD   0xa00
 
#define OMAP3430_NEON_MOD   0xb00
 
#define OMAP3430ES2_USBHOST_MOD   0xc00
 
#define OMAP2420_EN_MMC_SHIFT   26
 
#define OMAP2420_EN_MMC_MASK   (1 << 26)
 
#define OMAP24XX_EN_UART2_SHIFT   22
 
#define OMAP24XX_EN_UART2_MASK   (1 << 22)
 
#define OMAP24XX_EN_UART1_SHIFT   21
 
#define OMAP24XX_EN_UART1_MASK   (1 << 21)
 
#define OMAP24XX_EN_MCSPI2_SHIFT   18
 
#define OMAP24XX_EN_MCSPI2_MASK   (1 << 18)
 
#define OMAP24XX_EN_MCSPI1_SHIFT   17
 
#define OMAP24XX_EN_MCSPI1_MASK   (1 << 17)
 
#define OMAP24XX_EN_MCBSP2_SHIFT   16
 
#define OMAP24XX_EN_MCBSP2_MASK   (1 << 16)
 
#define OMAP24XX_EN_MCBSP1_SHIFT   15
 
#define OMAP24XX_EN_MCBSP1_MASK   (1 << 15)
 
#define OMAP24XX_EN_GPT12_SHIFT   14
 
#define OMAP24XX_EN_GPT12_MASK   (1 << 14)
 
#define OMAP24XX_EN_GPT11_SHIFT   13
 
#define OMAP24XX_EN_GPT11_MASK   (1 << 13)
 
#define OMAP24XX_EN_GPT10_SHIFT   12
 
#define OMAP24XX_EN_GPT10_MASK   (1 << 12)
 
#define OMAP24XX_EN_GPT9_SHIFT   11
 
#define OMAP24XX_EN_GPT9_MASK   (1 << 11)
 
#define OMAP24XX_EN_GPT8_SHIFT   10
 
#define OMAP24XX_EN_GPT8_MASK   (1 << 10)
 
#define OMAP24XX_EN_GPT7_SHIFT   9
 
#define OMAP24XX_EN_GPT7_MASK   (1 << 9)
 
#define OMAP24XX_EN_GPT6_SHIFT   8
 
#define OMAP24XX_EN_GPT6_MASK   (1 << 8)
 
#define OMAP24XX_EN_GPT5_SHIFT   7
 
#define OMAP24XX_EN_GPT5_MASK   (1 << 7)
 
#define OMAP24XX_EN_GPT4_SHIFT   6
 
#define OMAP24XX_EN_GPT4_MASK   (1 << 6)
 
#define OMAP24XX_EN_GPT3_SHIFT   5
 
#define OMAP24XX_EN_GPT3_MASK   (1 << 5)
 
#define OMAP24XX_EN_GPT2_SHIFT   4
 
#define OMAP24XX_EN_GPT2_MASK   (1 << 4)
 
#define OMAP2420_EN_VLYNQ_SHIFT   3
 
#define OMAP2420_EN_VLYNQ_MASK   (1 << 3)
 
#define OMAP2430_EN_GPIO5_SHIFT   10
 
#define OMAP2430_EN_GPIO5_MASK   (1 << 10)
 
#define OMAP2430_EN_MCSPI3_SHIFT   9
 
#define OMAP2430_EN_MCSPI3_MASK   (1 << 9)
 
#define OMAP2430_EN_MMCHS2_SHIFT   8
 
#define OMAP2430_EN_MMCHS2_MASK   (1 << 8)
 
#define OMAP2430_EN_MMCHS1_SHIFT   7
 
#define OMAP2430_EN_MMCHS1_MASK   (1 << 7)
 
#define OMAP24XX_EN_UART3_SHIFT   2
 
#define OMAP24XX_EN_UART3_MASK   (1 << 2)
 
#define OMAP24XX_EN_USB_SHIFT   0
 
#define OMAP24XX_EN_USB_MASK   (1 << 0)
 
#define OMAP2430_EN_MDM_INTC_SHIFT   11
 
#define OMAP2430_EN_MDM_INTC_MASK   (1 << 11)
 
#define OMAP2430_EN_USBHS_SHIFT   6
 
#define OMAP2430_EN_USBHS_MASK   (1 << 6)
 
#define OMAP24XX_EN_GPMC_SHIFT   1
 
#define OMAP24XX_EN_GPMC_MASK   (1 << 1)
 
#define OMAP2420_ST_MMC_SHIFT   26
 
#define OMAP2420_ST_MMC_MASK   (1 << 26)
 
#define OMAP24XX_ST_UART2_SHIFT   22
 
#define OMAP24XX_ST_UART2_MASK   (1 << 22)
 
#define OMAP24XX_ST_UART1_SHIFT   21
 
#define OMAP24XX_ST_UART1_MASK   (1 << 21)
 
#define OMAP24XX_ST_MCSPI2_SHIFT   18
 
#define OMAP24XX_ST_MCSPI2_MASK   (1 << 18)
 
#define OMAP24XX_ST_MCSPI1_SHIFT   17
 
#define OMAP24XX_ST_MCSPI1_MASK   (1 << 17)
 
#define OMAP24XX_ST_MCBSP2_SHIFT   16
 
#define OMAP24XX_ST_MCBSP2_MASK   (1 << 16)
 
#define OMAP24XX_ST_MCBSP1_SHIFT   15
 
#define OMAP24XX_ST_MCBSP1_MASK   (1 << 15)
 
#define OMAP24XX_ST_GPT12_SHIFT   14
 
#define OMAP24XX_ST_GPT12_MASK   (1 << 14)
 
#define OMAP24XX_ST_GPT11_SHIFT   13
 
#define OMAP24XX_ST_GPT11_MASK   (1 << 13)
 
#define OMAP24XX_ST_GPT10_SHIFT   12
 
#define OMAP24XX_ST_GPT10_MASK   (1 << 12)
 
#define OMAP24XX_ST_GPT9_SHIFT   11
 
#define OMAP24XX_ST_GPT9_MASK   (1 << 11)
 
#define OMAP24XX_ST_GPT8_SHIFT   10
 
#define OMAP24XX_ST_GPT8_MASK   (1 << 10)
 
#define OMAP24XX_ST_GPT7_SHIFT   9
 
#define OMAP24XX_ST_GPT7_MASK   (1 << 9)
 
#define OMAP24XX_ST_GPT6_SHIFT   8
 
#define OMAP24XX_ST_GPT6_MASK   (1 << 8)
 
#define OMAP24XX_ST_GPT5_SHIFT   7
 
#define OMAP24XX_ST_GPT5_MASK   (1 << 7)
 
#define OMAP24XX_ST_GPT4_SHIFT   6
 
#define OMAP24XX_ST_GPT4_MASK   (1 << 6)
 
#define OMAP24XX_ST_GPT3_SHIFT   5
 
#define OMAP24XX_ST_GPT3_MASK   (1 << 5)
 
#define OMAP24XX_ST_GPT2_SHIFT   4
 
#define OMAP24XX_ST_GPT2_MASK   (1 << 4)
 
#define OMAP2420_ST_VLYNQ_SHIFT   3
 
#define OMAP2420_ST_VLYNQ_MASK   (1 << 3)
 
#define OMAP2430_ST_MDM_INTC_SHIFT   11
 
#define OMAP2430_ST_MDM_INTC_MASK   (1 << 11)
 
#define OMAP2430_ST_GPIO5_SHIFT   10
 
#define OMAP2430_ST_GPIO5_MASK   (1 << 10)
 
#define OMAP2430_ST_MCSPI3_SHIFT   9
 
#define OMAP2430_ST_MCSPI3_MASK   (1 << 9)
 
#define OMAP2430_ST_MMCHS2_SHIFT   8
 
#define OMAP2430_ST_MMCHS2_MASK   (1 << 8)
 
#define OMAP2430_ST_MMCHS1_SHIFT   7
 
#define OMAP2430_ST_MMCHS1_MASK   (1 << 7)
 
#define OMAP2430_ST_USBHS_SHIFT   6
 
#define OMAP2430_ST_USBHS_MASK   (1 << 6)
 
#define OMAP24XX_ST_UART3_SHIFT   2
 
#define OMAP24XX_ST_UART3_MASK   (1 << 2)
 
#define OMAP24XX_ST_USB_SHIFT   0
 
#define OMAP24XX_ST_USB_MASK   (1 << 0)
 
#define OMAP24XX_EN_GPIOS_SHIFT   2
 
#define OMAP24XX_EN_GPIOS_MASK   (1 << 2)
 
#define OMAP24XX_EN_GPT1_SHIFT   0
 
#define OMAP24XX_EN_GPT1_MASK   (1 << 0)
 
#define OMAP24XX_ST_GPIOS_SHIFT   2
 
#define OMAP24XX_ST_GPIOS_MASK   (1 << 2)
 
#define OMAP24XX_ST_32KSYNC_SHIFT   1
 
#define OMAP24XX_ST_32KSYNC_MASK   (1 << 1)
 
#define OMAP24XX_ST_GPT1_SHIFT   0
 
#define OMAP24XX_ST_GPT1_MASK   (1 << 0)
 
#define OMAP2430_ST_MDM_SHIFT   0
 
#define OMAP2430_ST_MDM_MASK   (1 << 0)
 
#define OMAP3430_REV_SHIFT   0
 
#define OMAP3430_REV_MASK   (0xff << 0)
 
#define OMAP3430_AUTOIDLE_MASK   (1 << 0)
 
#define OMAP3430_EN_MMC3_MASK   (1 << 30)
 
#define OMAP3430_EN_MMC3_SHIFT   30
 
#define OMAP3430_EN_MMC2_MASK   (1 << 25)
 
#define OMAP3430_EN_MMC2_SHIFT   25
 
#define OMAP3430_EN_MMC1_MASK   (1 << 24)
 
#define OMAP3430_EN_MMC1_SHIFT   24
 
#define AM35XX_EN_UART4_MASK   (1 << 23)
 
#define AM35XX_EN_UART4_SHIFT   23
 
#define OMAP3430_EN_MCSPI4_MASK   (1 << 21)
 
#define OMAP3430_EN_MCSPI4_SHIFT   21
 
#define OMAP3430_EN_MCSPI3_MASK   (1 << 20)
 
#define OMAP3430_EN_MCSPI3_SHIFT   20
 
#define OMAP3430_EN_MCSPI2_MASK   (1 << 19)
 
#define OMAP3430_EN_MCSPI2_SHIFT   19
 
#define OMAP3430_EN_MCSPI1_MASK   (1 << 18)
 
#define OMAP3430_EN_MCSPI1_SHIFT   18
 
#define OMAP3430_EN_I2C3_MASK   (1 << 17)
 
#define OMAP3430_EN_I2C3_SHIFT   17
 
#define OMAP3430_EN_I2C2_MASK   (1 << 16)
 
#define OMAP3430_EN_I2C2_SHIFT   16
 
#define OMAP3430_EN_I2C1_MASK   (1 << 15)
 
#define OMAP3430_EN_I2C1_SHIFT   15
 
#define OMAP3430_EN_UART2_MASK   (1 << 14)
 
#define OMAP3430_EN_UART2_SHIFT   14
 
#define OMAP3430_EN_UART1_MASK   (1 << 13)
 
#define OMAP3430_EN_UART1_SHIFT   13
 
#define OMAP3430_EN_GPT11_MASK   (1 << 12)
 
#define OMAP3430_EN_GPT11_SHIFT   12
 
#define OMAP3430_EN_GPT10_MASK   (1 << 11)
 
#define OMAP3430_EN_GPT10_SHIFT   11
 
#define OMAP3430_EN_MCBSP5_MASK   (1 << 10)
 
#define OMAP3430_EN_MCBSP5_SHIFT   10
 
#define OMAP3430_EN_MCBSP1_MASK   (1 << 9)
 
#define OMAP3430_EN_MCBSP1_SHIFT   9
 
#define OMAP3430_EN_FSHOSTUSB_MASK   (1 << 5)
 
#define OMAP3430_EN_FSHOSTUSB_SHIFT   5
 
#define OMAP3430_EN_D2D_MASK   (1 << 3)
 
#define OMAP3430_EN_D2D_SHIFT   3
 
#define OMAP3430_EN_HSOTGUSB_MASK   (1 << 4)
 
#define OMAP3430_EN_HSOTGUSB_SHIFT   4
 
#define OMAP3430_ST_MMC3_SHIFT   30
 
#define OMAP3430_ST_MMC3_MASK   (1 << 30)
 
#define OMAP3430_ST_MMC2_SHIFT   25
 
#define OMAP3430_ST_MMC2_MASK   (1 << 25)
 
#define OMAP3430_ST_MMC1_SHIFT   24
 
#define OMAP3430_ST_MMC1_MASK   (1 << 24)
 
#define OMAP3430_ST_MCSPI4_SHIFT   21
 
#define OMAP3430_ST_MCSPI4_MASK   (1 << 21)
 
#define OMAP3430_ST_MCSPI3_SHIFT   20
 
#define OMAP3430_ST_MCSPI3_MASK   (1 << 20)
 
#define OMAP3430_ST_MCSPI2_SHIFT   19
 
#define OMAP3430_ST_MCSPI2_MASK   (1 << 19)
 
#define OMAP3430_ST_MCSPI1_SHIFT   18
 
#define OMAP3430_ST_MCSPI1_MASK   (1 << 18)
 
#define OMAP3430_ST_I2C3_SHIFT   17
 
#define OMAP3430_ST_I2C3_MASK   (1 << 17)
 
#define OMAP3430_ST_I2C2_SHIFT   16
 
#define OMAP3430_ST_I2C2_MASK   (1 << 16)
 
#define OMAP3430_ST_I2C1_SHIFT   15
 
#define OMAP3430_ST_I2C1_MASK   (1 << 15)
 
#define OMAP3430_ST_UART2_SHIFT   14
 
#define OMAP3430_ST_UART2_MASK   (1 << 14)
 
#define OMAP3430_ST_UART1_SHIFT   13
 
#define OMAP3430_ST_UART1_MASK   (1 << 13)
 
#define OMAP3430_ST_GPT11_SHIFT   12
 
#define OMAP3430_ST_GPT11_MASK   (1 << 12)
 
#define OMAP3430_ST_GPT10_SHIFT   11
 
#define OMAP3430_ST_GPT10_MASK   (1 << 11)
 
#define OMAP3430_ST_MCBSP5_SHIFT   10
 
#define OMAP3430_ST_MCBSP5_MASK   (1 << 10)
 
#define OMAP3430_ST_MCBSP1_SHIFT   9
 
#define OMAP3430_ST_MCBSP1_MASK   (1 << 9)
 
#define OMAP3430ES1_ST_FSHOSTUSB_SHIFT   5
 
#define OMAP3430ES1_ST_FSHOSTUSB_MASK   (1 << 5)
 
#define OMAP3430ES1_ST_HSOTGUSB_SHIFT   4
 
#define OMAP3430ES1_ST_HSOTGUSB_MASK   (1 << 4)
 
#define OMAP3430ES2_ST_HSOTGUSB_IDLE_SHIFT   5
 
#define OMAP3430ES2_ST_HSOTGUSB_IDLE_MASK   (1 << 5)
 
#define OMAP3430ES2_ST_HSOTGUSB_STDBY_SHIFT   4
 
#define OMAP3430ES2_ST_HSOTGUSB_STDBY_MASK   (1 << 4)
 
#define OMAP3430_ST_D2D_SHIFT   3
 
#define OMAP3430_ST_D2D_MASK   (1 << 3)
 
#define OMAP3430_EN_GPIO1_MASK   (1 << 3)
 
#define OMAP3430_EN_GPIO1_SHIFT   3
 
#define OMAP3430_EN_GPT12_MASK   (1 << 1)
 
#define OMAP3430_EN_GPT12_SHIFT   1
 
#define OMAP3430_EN_GPT1_MASK   (1 << 0)
 
#define OMAP3430_EN_GPT1_SHIFT   0
 
#define OMAP3430_EN_SR2_MASK   (1 << 7)
 
#define OMAP3430_EN_SR2_SHIFT   7
 
#define OMAP3430_EN_SR1_MASK   (1 << 6)
 
#define OMAP3430_EN_SR1_SHIFT   6
 
#define OMAP3430_EN_GPT12_MASK   (1 << 1)
 
#define OMAP3430_EN_GPT12_SHIFT   1
 
#define OMAP3430_ST_SR2_SHIFT   7
 
#define OMAP3430_ST_SR2_MASK   (1 << 7)
 
#define OMAP3430_ST_SR1_SHIFT   6
 
#define OMAP3430_ST_SR1_MASK   (1 << 6)
 
#define OMAP3430_ST_GPIO1_SHIFT   3
 
#define OMAP3430_ST_GPIO1_MASK   (1 << 3)
 
#define OMAP3430_ST_32KSYNC_SHIFT   2
 
#define OMAP3430_ST_32KSYNC_MASK   (1 << 2)
 
#define OMAP3430_ST_GPT12_SHIFT   1
 
#define OMAP3430_ST_GPT12_MASK   (1 << 1)
 
#define OMAP3430_ST_GPT1_SHIFT   0
 
#define OMAP3430_ST_GPT1_MASK   (1 << 0)
 
#define OMAP3430_EN_MPU_MASK   (1 << 1)
 
#define OMAP3430_EN_MPU_SHIFT   1
 
#define OMAP3630_EN_UART4_MASK   (1 << 18)
 
#define OMAP3630_EN_UART4_SHIFT   18
 
#define OMAP3430_EN_GPIO6_MASK   (1 << 17)
 
#define OMAP3430_EN_GPIO6_SHIFT   17
 
#define OMAP3430_EN_GPIO5_MASK   (1 << 16)
 
#define OMAP3430_EN_GPIO5_SHIFT   16
 
#define OMAP3430_EN_GPIO4_MASK   (1 << 15)
 
#define OMAP3430_EN_GPIO4_SHIFT   15
 
#define OMAP3430_EN_GPIO3_MASK   (1 << 14)
 
#define OMAP3430_EN_GPIO3_SHIFT   14
 
#define OMAP3430_EN_GPIO2_MASK   (1 << 13)
 
#define OMAP3430_EN_GPIO2_SHIFT   13
 
#define OMAP3430_EN_UART3_MASK   (1 << 11)
 
#define OMAP3430_EN_UART3_SHIFT   11
 
#define OMAP3430_EN_GPT9_MASK   (1 << 10)
 
#define OMAP3430_EN_GPT9_SHIFT   10
 
#define OMAP3430_EN_GPT8_MASK   (1 << 9)
 
#define OMAP3430_EN_GPT8_SHIFT   9
 
#define OMAP3430_EN_GPT7_MASK   (1 << 8)
 
#define OMAP3430_EN_GPT7_SHIFT   8
 
#define OMAP3430_EN_GPT6_MASK   (1 << 7)
 
#define OMAP3430_EN_GPT6_SHIFT   7
 
#define OMAP3430_EN_GPT5_MASK   (1 << 6)
 
#define OMAP3430_EN_GPT5_SHIFT   6
 
#define OMAP3430_EN_GPT4_MASK   (1 << 5)
 
#define OMAP3430_EN_GPT4_SHIFT   5
 
#define OMAP3430_EN_GPT3_MASK   (1 << 4)
 
#define OMAP3430_EN_GPT3_SHIFT   4
 
#define OMAP3430_EN_GPT2_MASK   (1 << 3)
 
#define OMAP3430_EN_GPT2_SHIFT   3
 
#define OMAP3430_EN_MCBSP4_MASK   (1 << 2)
 
#define OMAP3430_EN_MCBSP4_SHIFT   2
 
#define OMAP3430_EN_MCBSP3_MASK   (1 << 1)
 
#define OMAP3430_EN_MCBSP3_SHIFT   1
 
#define OMAP3430_EN_MCBSP2_MASK   (1 << 0)
 
#define OMAP3430_EN_MCBSP2_SHIFT   0
 
#define OMAP3630_ST_UART4_SHIFT   18
 
#define OMAP3630_ST_UART4_MASK   (1 << 18)
 
#define OMAP3430_ST_GPIO6_SHIFT   17
 
#define OMAP3430_ST_GPIO6_MASK   (1 << 17)
 
#define OMAP3430_ST_GPIO5_SHIFT   16
 
#define OMAP3430_ST_GPIO5_MASK   (1 << 16)
 
#define OMAP3430_ST_GPIO4_SHIFT   15
 
#define OMAP3430_ST_GPIO4_MASK   (1 << 15)
 
#define OMAP3430_ST_GPIO3_SHIFT   14
 
#define OMAP3430_ST_GPIO3_MASK   (1 << 14)
 
#define OMAP3430_ST_GPIO2_SHIFT   13
 
#define OMAP3430_ST_GPIO2_MASK   (1 << 13)
 
#define OMAP3430_ST_UART3_SHIFT   11
 
#define OMAP3430_ST_UART3_MASK   (1 << 11)
 
#define OMAP3430_ST_GPT9_SHIFT   10
 
#define OMAP3430_ST_GPT9_MASK   (1 << 10)
 
#define OMAP3430_ST_GPT8_SHIFT   9
 
#define OMAP3430_ST_GPT8_MASK   (1 << 9)
 
#define OMAP3430_ST_GPT7_SHIFT   8
 
#define OMAP3430_ST_GPT7_MASK   (1 << 8)
 
#define OMAP3430_ST_GPT6_SHIFT   7
 
#define OMAP3430_ST_GPT6_MASK   (1 << 7)
 
#define OMAP3430_ST_GPT5_SHIFT   6
 
#define OMAP3430_ST_GPT5_MASK   (1 << 6)
 
#define OMAP3430_ST_GPT4_SHIFT   5
 
#define OMAP3430_ST_GPT4_MASK   (1 << 5)
 
#define OMAP3430_ST_GPT3_SHIFT   4
 
#define OMAP3430_ST_GPT3_MASK   (1 << 4)
 
#define OMAP3430_ST_GPT2_SHIFT   3
 
#define OMAP3430_ST_GPT2_MASK   (1 << 3)
 
#define OMAP3430_EN_CORE_SHIFT   0
 
#define OMAP3430_EN_CORE_MASK   (1 << 0)
 
#define MAX_MODULE_HARDRESET_WAIT   10000
 
#define MAX_IOPAD_LATCH_TIME   100
 

Variables

void __iomemprm_base
 
void __iomemcm_base
 
void __iomemcm2_base
 
void __iomemprcm_mpu_base
 

: a short name describing the interrupt type, e.g. "wkup" or "io"

struct omap_prcm_irq - describes a PRCM interrupt bit

: the bit shift of the interrupt inside the IRQ{ENABLE,STATUS} regs : should this interrupt be handled before =false IRQs?

Describes interrupt bits inside the PRM_IRQ{ENABLE,STATUS}_MPU* registers. On systems with multiple PRM MPU IRQ registers, the bitfields read from the registers are concatenated, so could be > 31 on these systems - see omap_prm_irq_handler() for more details. I/O ring interrupts should have set to true.

#define OMAP_PRCM_IRQ(_name, _offset, _priority)
 
void omap_prcm_irq_cleanup (void)
 
int omap_prcm_register_chain_handler (struct omap_prcm_irq_setup *irq_setup)
 
int omap_prcm_event_to_irq (const char *event)
 
void omap_prcm_irq_prepare (void)
 
void omap_prcm_irq_complete (void)
 

Macro Definition Documentation

#define AM35XX_EN_UART4_MASK   (1 << 23)

Definition at line 208 of file prcm-common.h.

#define AM35XX_EN_UART4_SHIFT   23

Definition at line 209 of file prcm-common.h.

#define CORE_MOD   0x200

Definition at line 27 of file prcm-common.h.

#define GFX_MOD   0x300

Definition at line 28 of file prcm-common.h.

#define MAX_IOPAD_LATCH_TIME   100

Definition at line 421 of file prcm-common.h.

#define MAX_MODULE_HARDRESET_WAIT   10000

Definition at line 413 of file prcm-common.h.

#define MPU_MOD   0x100

Definition at line 26 of file prcm-common.h.

#define OCP_MOD   0x000

Definition at line 25 of file prcm-common.h.

#define OMAP2420_EN_MMC_MASK   (1 << 26)

Definition at line 55 of file prcm-common.h.

#define OMAP2420_EN_MMC_SHIFT   26

Definition at line 54 of file prcm-common.h.

#define OMAP2420_EN_VLYNQ_MASK   (1 << 3)

Definition at line 91 of file prcm-common.h.

#define OMAP2420_EN_VLYNQ_SHIFT   3

Definition at line 90 of file prcm-common.h.

#define OMAP2420_ST_MMC_MASK   (1 << 26)

Definition at line 117 of file prcm-common.h.

#define OMAP2420_ST_MMC_SHIFT   26

Definition at line 116 of file prcm-common.h.

#define OMAP2420_ST_VLYNQ_MASK   (1 << 3)

Definition at line 153 of file prcm-common.h.

#define OMAP2420_ST_VLYNQ_SHIFT   3

Definition at line 152 of file prcm-common.h.

#define OMAP2430_EN_GPIO5_MASK   (1 << 10)

Definition at line 95 of file prcm-common.h.

#define OMAP2430_EN_GPIO5_SHIFT   10

Definition at line 94 of file prcm-common.h.

#define OMAP2430_EN_MCSPI3_MASK   (1 << 9)

Definition at line 97 of file prcm-common.h.

#define OMAP2430_EN_MCSPI3_SHIFT   9

Definition at line 96 of file prcm-common.h.

#define OMAP2430_EN_MDM_INTC_MASK   (1 << 11)

Definition at line 109 of file prcm-common.h.

#define OMAP2430_EN_MDM_INTC_SHIFT   11

Definition at line 108 of file prcm-common.h.

#define OMAP2430_EN_MMCHS1_MASK   (1 << 7)

Definition at line 101 of file prcm-common.h.

#define OMAP2430_EN_MMCHS1_SHIFT   7

Definition at line 100 of file prcm-common.h.

#define OMAP2430_EN_MMCHS2_MASK   (1 << 8)

Definition at line 99 of file prcm-common.h.

#define OMAP2430_EN_MMCHS2_SHIFT   8

Definition at line 98 of file prcm-common.h.

#define OMAP2430_EN_USBHS_MASK   (1 << 6)

Definition at line 111 of file prcm-common.h.

#define OMAP2430_EN_USBHS_SHIFT   6

Definition at line 110 of file prcm-common.h.

#define OMAP2430_MDM_MOD   0xc00

Definition at line 37 of file prcm-common.h.

#define OMAP2430_ST_GPIO5_MASK   (1 << 10)

Definition at line 159 of file prcm-common.h.

#define OMAP2430_ST_GPIO5_SHIFT   10

Definition at line 158 of file prcm-common.h.

#define OMAP2430_ST_MCSPI3_MASK   (1 << 9)

Definition at line 161 of file prcm-common.h.

#define OMAP2430_ST_MCSPI3_SHIFT   9

Definition at line 160 of file prcm-common.h.

#define OMAP2430_ST_MDM_INTC_MASK   (1 << 11)

Definition at line 157 of file prcm-common.h.

#define OMAP2430_ST_MDM_INTC_SHIFT   11

Definition at line 156 of file prcm-common.h.

#define OMAP2430_ST_MDM_MASK   (1 << 0)

Definition at line 189 of file prcm-common.h.

#define OMAP2430_ST_MDM_SHIFT   0

Definition at line 188 of file prcm-common.h.

#define OMAP2430_ST_MMCHS1_MASK   (1 << 7)

Definition at line 165 of file prcm-common.h.

#define OMAP2430_ST_MMCHS1_SHIFT   7

Definition at line 164 of file prcm-common.h.

#define OMAP2430_ST_MMCHS2_MASK   (1 << 8)

Definition at line 163 of file prcm-common.h.

#define OMAP2430_ST_MMCHS2_SHIFT   8

Definition at line 162 of file prcm-common.h.

#define OMAP2430_ST_USBHS_MASK   (1 << 6)

Definition at line 167 of file prcm-common.h.

#define OMAP2430_ST_USBHS_SHIFT   6

Definition at line 166 of file prcm-common.h.

#define OMAP24XX_DSP_MOD   0x800

Definition at line 35 of file prcm-common.h.

#define OMAP24XX_EN_GPIOS_MASK   (1 << 2)

Definition at line 175 of file prcm-common.h.

#define OMAP24XX_EN_GPIOS_SHIFT   2

Definition at line 174 of file prcm-common.h.

#define OMAP24XX_EN_GPMC_MASK   (1 << 1)

Definition at line 113 of file prcm-common.h.

#define OMAP24XX_EN_GPMC_SHIFT   1

Definition at line 112 of file prcm-common.h.

#define OMAP24XX_EN_GPT10_MASK   (1 << 12)

Definition at line 73 of file prcm-common.h.

#define OMAP24XX_EN_GPT10_SHIFT   12

Definition at line 72 of file prcm-common.h.

#define OMAP24XX_EN_GPT11_MASK   (1 << 13)

Definition at line 71 of file prcm-common.h.

#define OMAP24XX_EN_GPT11_SHIFT   13

Definition at line 70 of file prcm-common.h.

#define OMAP24XX_EN_GPT12_MASK   (1 << 14)

Definition at line 69 of file prcm-common.h.

#define OMAP24XX_EN_GPT12_SHIFT   14

Definition at line 68 of file prcm-common.h.

#define OMAP24XX_EN_GPT1_MASK   (1 << 0)

Definition at line 177 of file prcm-common.h.

#define OMAP24XX_EN_GPT1_SHIFT   0

Definition at line 176 of file prcm-common.h.

#define OMAP24XX_EN_GPT2_MASK   (1 << 4)

Definition at line 89 of file prcm-common.h.

#define OMAP24XX_EN_GPT2_SHIFT   4

Definition at line 88 of file prcm-common.h.

#define OMAP24XX_EN_GPT3_MASK   (1 << 5)

Definition at line 87 of file prcm-common.h.

#define OMAP24XX_EN_GPT3_SHIFT   5

Definition at line 86 of file prcm-common.h.

#define OMAP24XX_EN_GPT4_MASK   (1 << 6)

Definition at line 85 of file prcm-common.h.

#define OMAP24XX_EN_GPT4_SHIFT   6

Definition at line 84 of file prcm-common.h.

#define OMAP24XX_EN_GPT5_MASK   (1 << 7)

Definition at line 83 of file prcm-common.h.

#define OMAP24XX_EN_GPT5_SHIFT   7

Definition at line 82 of file prcm-common.h.

#define OMAP24XX_EN_GPT6_MASK   (1 << 8)

Definition at line 81 of file prcm-common.h.

#define OMAP24XX_EN_GPT6_SHIFT   8

Definition at line 80 of file prcm-common.h.

#define OMAP24XX_EN_GPT7_MASK   (1 << 9)

Definition at line 79 of file prcm-common.h.

#define OMAP24XX_EN_GPT7_SHIFT   9

Definition at line 78 of file prcm-common.h.

#define OMAP24XX_EN_GPT8_MASK   (1 << 10)

Definition at line 77 of file prcm-common.h.

#define OMAP24XX_EN_GPT8_SHIFT   10

Definition at line 76 of file prcm-common.h.

#define OMAP24XX_EN_GPT9_MASK   (1 << 11)

Definition at line 75 of file prcm-common.h.

#define OMAP24XX_EN_GPT9_SHIFT   11

Definition at line 74 of file prcm-common.h.

#define OMAP24XX_EN_MCBSP1_MASK   (1 << 15)

Definition at line 67 of file prcm-common.h.

#define OMAP24XX_EN_MCBSP1_SHIFT   15

Definition at line 66 of file prcm-common.h.

#define OMAP24XX_EN_MCBSP2_MASK   (1 << 16)

Definition at line 65 of file prcm-common.h.

#define OMAP24XX_EN_MCBSP2_SHIFT   16

Definition at line 64 of file prcm-common.h.

#define OMAP24XX_EN_MCSPI1_MASK   (1 << 17)

Definition at line 63 of file prcm-common.h.

#define OMAP24XX_EN_MCSPI1_SHIFT   17

Definition at line 62 of file prcm-common.h.

#define OMAP24XX_EN_MCSPI2_MASK   (1 << 18)

Definition at line 61 of file prcm-common.h.

#define OMAP24XX_EN_MCSPI2_SHIFT   18

Definition at line 60 of file prcm-common.h.

#define OMAP24XX_EN_UART1_MASK   (1 << 21)

Definition at line 59 of file prcm-common.h.

#define OMAP24XX_EN_UART1_SHIFT   21

Definition at line 58 of file prcm-common.h.

#define OMAP24XX_EN_UART2_MASK   (1 << 22)

Definition at line 57 of file prcm-common.h.

#define OMAP24XX_EN_UART2_SHIFT   22

Definition at line 56 of file prcm-common.h.

#define OMAP24XX_EN_UART3_MASK   (1 << 2)

Definition at line 103 of file prcm-common.h.

#define OMAP24XX_EN_UART3_SHIFT   2

Definition at line 102 of file prcm-common.h.

#define OMAP24XX_EN_USB_MASK   (1 << 0)

Definition at line 105 of file prcm-common.h.

#define OMAP24XX_EN_USB_SHIFT   0

Definition at line 104 of file prcm-common.h.

#define OMAP24XX_GR_MOD   OCP_MOD

Definition at line 34 of file prcm-common.h.

#define OMAP24XX_ST_32KSYNC_MASK   (1 << 1)

Definition at line 183 of file prcm-common.h.

#define OMAP24XX_ST_32KSYNC_SHIFT   1

Definition at line 182 of file prcm-common.h.

#define OMAP24XX_ST_GPIOS_MASK   (1 << 2)

Definition at line 181 of file prcm-common.h.

#define OMAP24XX_ST_GPIOS_SHIFT   2

Definition at line 180 of file prcm-common.h.

#define OMAP24XX_ST_GPT10_MASK   (1 << 12)

Definition at line 135 of file prcm-common.h.

#define OMAP24XX_ST_GPT10_SHIFT   12

Definition at line 134 of file prcm-common.h.

#define OMAP24XX_ST_GPT11_MASK   (1 << 13)

Definition at line 133 of file prcm-common.h.

#define OMAP24XX_ST_GPT11_SHIFT   13

Definition at line 132 of file prcm-common.h.

#define OMAP24XX_ST_GPT12_MASK   (1 << 14)

Definition at line 131 of file prcm-common.h.

#define OMAP24XX_ST_GPT12_SHIFT   14

Definition at line 130 of file prcm-common.h.

#define OMAP24XX_ST_GPT1_MASK   (1 << 0)

Definition at line 185 of file prcm-common.h.

#define OMAP24XX_ST_GPT1_SHIFT   0

Definition at line 184 of file prcm-common.h.

#define OMAP24XX_ST_GPT2_MASK   (1 << 4)

Definition at line 151 of file prcm-common.h.

#define OMAP24XX_ST_GPT2_SHIFT   4

Definition at line 150 of file prcm-common.h.

#define OMAP24XX_ST_GPT3_MASK   (1 << 5)

Definition at line 149 of file prcm-common.h.

#define OMAP24XX_ST_GPT3_SHIFT   5

Definition at line 148 of file prcm-common.h.

#define OMAP24XX_ST_GPT4_MASK   (1 << 6)

Definition at line 147 of file prcm-common.h.

#define OMAP24XX_ST_GPT4_SHIFT   6

Definition at line 146 of file prcm-common.h.

#define OMAP24XX_ST_GPT5_MASK   (1 << 7)

Definition at line 145 of file prcm-common.h.

#define OMAP24XX_ST_GPT5_SHIFT   7

Definition at line 144 of file prcm-common.h.

#define OMAP24XX_ST_GPT6_MASK   (1 << 8)

Definition at line 143 of file prcm-common.h.

#define OMAP24XX_ST_GPT6_SHIFT   8

Definition at line 142 of file prcm-common.h.

#define OMAP24XX_ST_GPT7_MASK   (1 << 9)

Definition at line 141 of file prcm-common.h.

#define OMAP24XX_ST_GPT7_SHIFT   9

Definition at line 140 of file prcm-common.h.

#define OMAP24XX_ST_GPT8_MASK   (1 << 10)

Definition at line 139 of file prcm-common.h.

#define OMAP24XX_ST_GPT8_SHIFT   10

Definition at line 138 of file prcm-common.h.

#define OMAP24XX_ST_GPT9_MASK   (1 << 11)

Definition at line 137 of file prcm-common.h.

#define OMAP24XX_ST_GPT9_SHIFT   11

Definition at line 136 of file prcm-common.h.

#define OMAP24XX_ST_MCBSP1_MASK   (1 << 15)

Definition at line 129 of file prcm-common.h.

#define OMAP24XX_ST_MCBSP1_SHIFT   15

Definition at line 128 of file prcm-common.h.

#define OMAP24XX_ST_MCBSP2_MASK   (1 << 16)

Definition at line 127 of file prcm-common.h.

#define OMAP24XX_ST_MCBSP2_SHIFT   16

Definition at line 126 of file prcm-common.h.

#define OMAP24XX_ST_MCSPI1_MASK   (1 << 17)

Definition at line 125 of file prcm-common.h.

#define OMAP24XX_ST_MCSPI1_SHIFT   17

Definition at line 124 of file prcm-common.h.

#define OMAP24XX_ST_MCSPI2_MASK   (1 << 18)

Definition at line 123 of file prcm-common.h.

#define OMAP24XX_ST_MCSPI2_SHIFT   18

Definition at line 122 of file prcm-common.h.

#define OMAP24XX_ST_UART1_MASK   (1 << 21)

Definition at line 121 of file prcm-common.h.

#define OMAP24XX_ST_UART1_SHIFT   21

Definition at line 120 of file prcm-common.h.

#define OMAP24XX_ST_UART2_MASK   (1 << 22)

Definition at line 119 of file prcm-common.h.

#define OMAP24XX_ST_UART2_SHIFT   22

Definition at line 118 of file prcm-common.h.

#define OMAP24XX_ST_UART3_MASK   (1 << 2)

Definition at line 169 of file prcm-common.h.

#define OMAP24XX_ST_UART3_SHIFT   2

Definition at line 168 of file prcm-common.h.

#define OMAP24XX_ST_USB_MASK   (1 << 0)

Definition at line 171 of file prcm-common.h.

#define OMAP24XX_ST_USB_SHIFT   0

Definition at line 170 of file prcm-common.h.

#define OMAP3430_AUTOIDLE_MASK   (1 << 0)

Definition at line 199 of file prcm-common.h.

#define OMAP3430_CAM_MOD   0x700

Definition at line 44 of file prcm-common.h.

#define OMAP3430_CCR_MOD   PLL_MOD

Definition at line 42 of file prcm-common.h.

#define OMAP3430_DSS_MOD   0x600

Definition at line 43 of file prcm-common.h.

#define OMAP3430_EMU_MOD   0x900

Definition at line 46 of file prcm-common.h.

#define OMAP3430_EN_CORE_MASK   (1 << 0)

Definition at line 406 of file prcm-common.h.

#define OMAP3430_EN_CORE_SHIFT   0

Definition at line 405 of file prcm-common.h.

#define OMAP3430_EN_D2D_MASK   (1 << 3)

Definition at line 238 of file prcm-common.h.

#define OMAP3430_EN_D2D_SHIFT   3

Definition at line 239 of file prcm-common.h.

#define OMAP3430_EN_FSHOSTUSB_MASK   (1 << 5)

Definition at line 236 of file prcm-common.h.

#define OMAP3430_EN_FSHOSTUSB_SHIFT   5

Definition at line 237 of file prcm-common.h.

#define OMAP3430_EN_GPIO1_MASK   (1 << 3)

Definition at line 290 of file prcm-common.h.

#define OMAP3430_EN_GPIO1_SHIFT   3

Definition at line 291 of file prcm-common.h.

#define OMAP3430_EN_GPIO2_MASK   (1 << 13)

Definition at line 341 of file prcm-common.h.

#define OMAP3430_EN_GPIO2_SHIFT   13

Definition at line 342 of file prcm-common.h.

#define OMAP3430_EN_GPIO3_MASK   (1 << 14)

Definition at line 339 of file prcm-common.h.

#define OMAP3430_EN_GPIO3_SHIFT   14

Definition at line 340 of file prcm-common.h.

#define OMAP3430_EN_GPIO4_MASK   (1 << 15)

Definition at line 337 of file prcm-common.h.

#define OMAP3430_EN_GPIO4_SHIFT   15

Definition at line 338 of file prcm-common.h.

#define OMAP3430_EN_GPIO5_MASK   (1 << 16)

Definition at line 335 of file prcm-common.h.

#define OMAP3430_EN_GPIO5_SHIFT   16

Definition at line 336 of file prcm-common.h.

#define OMAP3430_EN_GPIO6_MASK   (1 << 17)

Definition at line 333 of file prcm-common.h.

#define OMAP3430_EN_GPIO6_SHIFT   17

Definition at line 334 of file prcm-common.h.

#define OMAP3430_EN_GPT10_MASK   (1 << 11)

Definition at line 230 of file prcm-common.h.

#define OMAP3430_EN_GPT10_SHIFT   11

Definition at line 231 of file prcm-common.h.

#define OMAP3430_EN_GPT11_MASK   (1 << 12)

Definition at line 228 of file prcm-common.h.

#define OMAP3430_EN_GPT11_SHIFT   12

Definition at line 229 of file prcm-common.h.

#define OMAP3430_EN_GPT12_MASK   (1 << 1)

Definition at line 304 of file prcm-common.h.

#define OMAP3430_EN_GPT12_MASK   (1 << 1)

Definition at line 304 of file prcm-common.h.

#define OMAP3430_EN_GPT12_SHIFT   1

Definition at line 305 of file prcm-common.h.

#define OMAP3430_EN_GPT12_SHIFT   1

Definition at line 305 of file prcm-common.h.

#define OMAP3430_EN_GPT1_MASK   (1 << 0)

Definition at line 294 of file prcm-common.h.

#define OMAP3430_EN_GPT1_SHIFT   0

Definition at line 295 of file prcm-common.h.

#define OMAP3430_EN_GPT2_MASK   (1 << 3)

Definition at line 359 of file prcm-common.h.

#define OMAP3430_EN_GPT2_SHIFT   3

Definition at line 360 of file prcm-common.h.

#define OMAP3430_EN_GPT3_MASK   (1 << 4)

Definition at line 357 of file prcm-common.h.

#define OMAP3430_EN_GPT3_SHIFT   4

Definition at line 358 of file prcm-common.h.

#define OMAP3430_EN_GPT4_MASK   (1 << 5)

Definition at line 355 of file prcm-common.h.

#define OMAP3430_EN_GPT4_SHIFT   5

Definition at line 356 of file prcm-common.h.

#define OMAP3430_EN_GPT5_MASK   (1 << 6)

Definition at line 353 of file prcm-common.h.

#define OMAP3430_EN_GPT5_SHIFT   6

Definition at line 354 of file prcm-common.h.

#define OMAP3430_EN_GPT6_MASK   (1 << 7)

Definition at line 351 of file prcm-common.h.

#define OMAP3430_EN_GPT6_SHIFT   7

Definition at line 352 of file prcm-common.h.

#define OMAP3430_EN_GPT7_MASK   (1 << 8)

Definition at line 349 of file prcm-common.h.

#define OMAP3430_EN_GPT7_SHIFT   8

Definition at line 350 of file prcm-common.h.

#define OMAP3430_EN_GPT8_MASK   (1 << 9)

Definition at line 347 of file prcm-common.h.

#define OMAP3430_EN_GPT8_SHIFT   9

Definition at line 348 of file prcm-common.h.

#define OMAP3430_EN_GPT9_MASK   (1 << 10)

Definition at line 345 of file prcm-common.h.

#define OMAP3430_EN_GPT9_SHIFT   10

Definition at line 346 of file prcm-common.h.

#define OMAP3430_EN_HSOTGUSB_MASK   (1 << 4)

Definition at line 242 of file prcm-common.h.

#define OMAP3430_EN_HSOTGUSB_SHIFT   4

Definition at line 243 of file prcm-common.h.

#define OMAP3430_EN_I2C1_MASK   (1 << 15)

Definition at line 222 of file prcm-common.h.

#define OMAP3430_EN_I2C1_SHIFT   15

Definition at line 223 of file prcm-common.h.

#define OMAP3430_EN_I2C2_MASK   (1 << 16)

Definition at line 220 of file prcm-common.h.

#define OMAP3430_EN_I2C2_SHIFT   16

Definition at line 221 of file prcm-common.h.

#define OMAP3430_EN_I2C3_MASK   (1 << 17)

Definition at line 218 of file prcm-common.h.

#define OMAP3430_EN_I2C3_SHIFT   17

Definition at line 219 of file prcm-common.h.

#define OMAP3430_EN_MCBSP1_MASK   (1 << 9)

Definition at line 234 of file prcm-common.h.

#define OMAP3430_EN_MCBSP1_SHIFT   9

Definition at line 235 of file prcm-common.h.

#define OMAP3430_EN_MCBSP2_MASK   (1 << 0)

Definition at line 369 of file prcm-common.h.

#define OMAP3430_EN_MCBSP2_SHIFT   0

Definition at line 370 of file prcm-common.h.

#define OMAP3430_EN_MCBSP3_MASK   (1 << 1)

Definition at line 367 of file prcm-common.h.

#define OMAP3430_EN_MCBSP3_SHIFT   1

Definition at line 368 of file prcm-common.h.

#define OMAP3430_EN_MCBSP4_MASK   (1 << 2)

Definition at line 365 of file prcm-common.h.

#define OMAP3430_EN_MCBSP4_SHIFT   2

Definition at line 366 of file prcm-common.h.

#define OMAP3430_EN_MCBSP5_MASK   (1 << 10)

Definition at line 232 of file prcm-common.h.

#define OMAP3430_EN_MCBSP5_SHIFT   10

Definition at line 233 of file prcm-common.h.

#define OMAP3430_EN_MCSPI1_MASK   (1 << 18)

Definition at line 216 of file prcm-common.h.

#define OMAP3430_EN_MCSPI1_SHIFT   18

Definition at line 217 of file prcm-common.h.

#define OMAP3430_EN_MCSPI2_MASK   (1 << 19)

Definition at line 214 of file prcm-common.h.

#define OMAP3430_EN_MCSPI2_SHIFT   19

Definition at line 215 of file prcm-common.h.

#define OMAP3430_EN_MCSPI3_MASK   (1 << 20)

Definition at line 212 of file prcm-common.h.

#define OMAP3430_EN_MCSPI3_SHIFT   20

Definition at line 213 of file prcm-common.h.

#define OMAP3430_EN_MCSPI4_MASK   (1 << 21)

Definition at line 210 of file prcm-common.h.

#define OMAP3430_EN_MCSPI4_SHIFT   21

Definition at line 211 of file prcm-common.h.

#define OMAP3430_EN_MMC1_MASK   (1 << 24)

Definition at line 206 of file prcm-common.h.

#define OMAP3430_EN_MMC1_SHIFT   24

Definition at line 207 of file prcm-common.h.

#define OMAP3430_EN_MMC2_MASK   (1 << 25)

Definition at line 204 of file prcm-common.h.

#define OMAP3430_EN_MMC2_SHIFT   25

Definition at line 205 of file prcm-common.h.

#define OMAP3430_EN_MMC3_MASK   (1 << 30)

Definition at line 202 of file prcm-common.h.

#define OMAP3430_EN_MMC3_SHIFT   30

Definition at line 203 of file prcm-common.h.

#define OMAP3430_EN_MPU_MASK   (1 << 1)

Definition at line 326 of file prcm-common.h.

#define OMAP3430_EN_MPU_SHIFT   1

Definition at line 327 of file prcm-common.h.

#define OMAP3430_EN_SR1_MASK   (1 << 6)

Definition at line 300 of file prcm-common.h.

#define OMAP3430_EN_SR1_SHIFT   6

Definition at line 301 of file prcm-common.h.

#define OMAP3430_EN_SR2_MASK   (1 << 7)

Definition at line 298 of file prcm-common.h.

#define OMAP3430_EN_SR2_SHIFT   7

Definition at line 299 of file prcm-common.h.

#define OMAP3430_EN_UART1_MASK   (1 << 13)

Definition at line 226 of file prcm-common.h.

#define OMAP3430_EN_UART1_SHIFT   13

Definition at line 227 of file prcm-common.h.

#define OMAP3430_EN_UART2_MASK   (1 << 14)

Definition at line 224 of file prcm-common.h.

#define OMAP3430_EN_UART2_SHIFT   14

Definition at line 225 of file prcm-common.h.

#define OMAP3430_EN_UART3_MASK   (1 << 11)

Definition at line 343 of file prcm-common.h.

#define OMAP3430_EN_UART3_SHIFT   11

Definition at line 344 of file prcm-common.h.

#define OMAP3430_GR_MOD   0xa00

Definition at line 47 of file prcm-common.h.

#define OMAP3430_IVA2_MOD   -0x800

Definition at line 40 of file prcm-common.h.

#define OMAP3430_NEON_MOD   0xb00

Definition at line 48 of file prcm-common.h.

#define OMAP3430_PER_MOD   0x800

Definition at line 45 of file prcm-common.h.

#define OMAP3430_REV_MASK   (0xff << 0)

Definition at line 196 of file prcm-common.h.

#define OMAP3430_REV_SHIFT   0

Definition at line 195 of file prcm-common.h.

#define OMAP3430_ST_32KSYNC_MASK   (1 << 2)

Definition at line 315 of file prcm-common.h.

#define OMAP3430_ST_32KSYNC_SHIFT   2

Definition at line 314 of file prcm-common.h.

#define OMAP3430_ST_D2D_MASK   (1 << 3)

Definition at line 287 of file prcm-common.h.

#define OMAP3430_ST_D2D_SHIFT   3

Definition at line 286 of file prcm-common.h.

#define OMAP3430_ST_GPIO1_MASK   (1 << 3)

Definition at line 313 of file prcm-common.h.

#define OMAP3430_ST_GPIO1_SHIFT   3

Definition at line 312 of file prcm-common.h.

#define OMAP3430_ST_GPIO2_MASK   (1 << 13)

Definition at line 384 of file prcm-common.h.

#define OMAP3430_ST_GPIO2_SHIFT   13

Definition at line 383 of file prcm-common.h.

#define OMAP3430_ST_GPIO3_MASK   (1 << 14)

Definition at line 382 of file prcm-common.h.

#define OMAP3430_ST_GPIO3_SHIFT   14

Definition at line 381 of file prcm-common.h.

#define OMAP3430_ST_GPIO4_MASK   (1 << 15)

Definition at line 380 of file prcm-common.h.

#define OMAP3430_ST_GPIO4_SHIFT   15

Definition at line 379 of file prcm-common.h.

#define OMAP3430_ST_GPIO5_MASK   (1 << 16)

Definition at line 378 of file prcm-common.h.

#define OMAP3430_ST_GPIO5_SHIFT   16

Definition at line 377 of file prcm-common.h.

#define OMAP3430_ST_GPIO6_MASK   (1 << 17)

Definition at line 376 of file prcm-common.h.

#define OMAP3430_ST_GPIO6_SHIFT   17

Definition at line 375 of file prcm-common.h.

#define OMAP3430_ST_GPT10_MASK   (1 << 11)

Definition at line 273 of file prcm-common.h.

#define OMAP3430_ST_GPT10_SHIFT   11

Definition at line 272 of file prcm-common.h.

#define OMAP3430_ST_GPT11_MASK   (1 << 12)

Definition at line 271 of file prcm-common.h.

#define OMAP3430_ST_GPT11_SHIFT   12

Definition at line 270 of file prcm-common.h.

#define OMAP3430_ST_GPT12_MASK   (1 << 1)

Definition at line 317 of file prcm-common.h.

#define OMAP3430_ST_GPT12_SHIFT   1

Definition at line 316 of file prcm-common.h.

#define OMAP3430_ST_GPT1_MASK   (1 << 0)

Definition at line 319 of file prcm-common.h.

#define OMAP3430_ST_GPT1_SHIFT   0

Definition at line 318 of file prcm-common.h.

#define OMAP3430_ST_GPT2_MASK   (1 << 3)

Definition at line 402 of file prcm-common.h.

#define OMAP3430_ST_GPT2_SHIFT   3

Definition at line 401 of file prcm-common.h.

#define OMAP3430_ST_GPT3_MASK   (1 << 4)

Definition at line 400 of file prcm-common.h.

#define OMAP3430_ST_GPT3_SHIFT   4

Definition at line 399 of file prcm-common.h.

#define OMAP3430_ST_GPT4_MASK   (1 << 5)

Definition at line 398 of file prcm-common.h.

#define OMAP3430_ST_GPT4_SHIFT   5

Definition at line 397 of file prcm-common.h.

#define OMAP3430_ST_GPT5_MASK   (1 << 6)

Definition at line 396 of file prcm-common.h.

#define OMAP3430_ST_GPT5_SHIFT   6

Definition at line 395 of file prcm-common.h.

#define OMAP3430_ST_GPT6_MASK   (1 << 7)

Definition at line 394 of file prcm-common.h.

#define OMAP3430_ST_GPT6_SHIFT   7

Definition at line 393 of file prcm-common.h.

#define OMAP3430_ST_GPT7_MASK   (1 << 8)

Definition at line 392 of file prcm-common.h.

#define OMAP3430_ST_GPT7_SHIFT   8

Definition at line 391 of file prcm-common.h.

#define OMAP3430_ST_GPT8_MASK   (1 << 9)

Definition at line 390 of file prcm-common.h.

#define OMAP3430_ST_GPT8_SHIFT   9

Definition at line 389 of file prcm-common.h.

#define OMAP3430_ST_GPT9_MASK   (1 << 10)

Definition at line 388 of file prcm-common.h.

#define OMAP3430_ST_GPT9_SHIFT   10

Definition at line 387 of file prcm-common.h.

#define OMAP3430_ST_I2C1_MASK   (1 << 15)

Definition at line 265 of file prcm-common.h.

#define OMAP3430_ST_I2C1_SHIFT   15

Definition at line 264 of file prcm-common.h.

#define OMAP3430_ST_I2C2_MASK   (1 << 16)

Definition at line 263 of file prcm-common.h.

#define OMAP3430_ST_I2C2_SHIFT   16

Definition at line 262 of file prcm-common.h.

#define OMAP3430_ST_I2C3_MASK   (1 << 17)

Definition at line 261 of file prcm-common.h.

#define OMAP3430_ST_I2C3_SHIFT   17

Definition at line 260 of file prcm-common.h.

#define OMAP3430_ST_MCBSP1_MASK   (1 << 9)

Definition at line 277 of file prcm-common.h.

#define OMAP3430_ST_MCBSP1_SHIFT   9

Definition at line 276 of file prcm-common.h.

#define OMAP3430_ST_MCBSP5_MASK   (1 << 10)

Definition at line 275 of file prcm-common.h.

#define OMAP3430_ST_MCBSP5_SHIFT   10

Definition at line 274 of file prcm-common.h.

#define OMAP3430_ST_MCSPI1_MASK   (1 << 18)

Definition at line 259 of file prcm-common.h.

#define OMAP3430_ST_MCSPI1_SHIFT   18

Definition at line 258 of file prcm-common.h.

#define OMAP3430_ST_MCSPI2_MASK   (1 << 19)

Definition at line 257 of file prcm-common.h.

#define OMAP3430_ST_MCSPI2_SHIFT   19

Definition at line 256 of file prcm-common.h.

#define OMAP3430_ST_MCSPI3_MASK   (1 << 20)

Definition at line 255 of file prcm-common.h.

#define OMAP3430_ST_MCSPI3_SHIFT   20

Definition at line 254 of file prcm-common.h.

#define OMAP3430_ST_MCSPI4_MASK   (1 << 21)

Definition at line 253 of file prcm-common.h.

#define OMAP3430_ST_MCSPI4_SHIFT   21

Definition at line 252 of file prcm-common.h.

#define OMAP3430_ST_MMC1_MASK   (1 << 24)

Definition at line 251 of file prcm-common.h.

#define OMAP3430_ST_MMC1_SHIFT   24

Definition at line 250 of file prcm-common.h.

#define OMAP3430_ST_MMC2_MASK   (1 << 25)

Definition at line 249 of file prcm-common.h.

#define OMAP3430_ST_MMC2_SHIFT   25

Definition at line 248 of file prcm-common.h.

#define OMAP3430_ST_MMC3_MASK   (1 << 30)

Definition at line 247 of file prcm-common.h.

#define OMAP3430_ST_MMC3_SHIFT   30

Definition at line 246 of file prcm-common.h.

#define OMAP3430_ST_SR1_MASK   (1 << 6)

Definition at line 311 of file prcm-common.h.

#define OMAP3430_ST_SR1_SHIFT   6

Definition at line 310 of file prcm-common.h.

#define OMAP3430_ST_SR2_MASK   (1 << 7)

Definition at line 309 of file prcm-common.h.

#define OMAP3430_ST_SR2_SHIFT   7

Definition at line 308 of file prcm-common.h.

#define OMAP3430_ST_UART1_MASK   (1 << 13)

Definition at line 269 of file prcm-common.h.

#define OMAP3430_ST_UART1_SHIFT   13

Definition at line 268 of file prcm-common.h.

#define OMAP3430_ST_UART2_MASK   (1 << 14)

Definition at line 267 of file prcm-common.h.

#define OMAP3430_ST_UART2_SHIFT   14

Definition at line 266 of file prcm-common.h.

#define OMAP3430_ST_UART3_MASK   (1 << 11)

Definition at line 386 of file prcm-common.h.

#define OMAP3430_ST_UART3_SHIFT   11

Definition at line 385 of file prcm-common.h.

#define OMAP3430ES1_ST_FSHOSTUSB_MASK   (1 << 5)

Definition at line 279 of file prcm-common.h.

#define OMAP3430ES1_ST_FSHOSTUSB_SHIFT   5

Definition at line 278 of file prcm-common.h.

#define OMAP3430ES1_ST_HSOTGUSB_MASK   (1 << 4)

Definition at line 281 of file prcm-common.h.

#define OMAP3430ES1_ST_HSOTGUSB_SHIFT   4

Definition at line 280 of file prcm-common.h.

#define OMAP3430ES2_SGX_MOD   GFX_MOD

Definition at line 41 of file prcm-common.h.

#define OMAP3430ES2_ST_HSOTGUSB_IDLE_MASK   (1 << 5)

Definition at line 283 of file prcm-common.h.

#define OMAP3430ES2_ST_HSOTGUSB_IDLE_SHIFT   5

Definition at line 282 of file prcm-common.h.

#define OMAP3430ES2_ST_HSOTGUSB_STDBY_MASK   (1 << 4)

Definition at line 285 of file prcm-common.h.

#define OMAP3430ES2_ST_HSOTGUSB_STDBY_SHIFT   4

Definition at line 284 of file prcm-common.h.

#define OMAP3430ES2_USBHOST_MOD   0xc00

Definition at line 49 of file prcm-common.h.

#define OMAP3630_EN_UART4_MASK   (1 << 18)

Definition at line 331 of file prcm-common.h.

#define OMAP3630_EN_UART4_SHIFT   18

Definition at line 332 of file prcm-common.h.

#define OMAP3630_ST_UART4_MASK   (1 << 18)

Definition at line 374 of file prcm-common.h.

#define OMAP3630_ST_UART4_SHIFT   18

Definition at line 373 of file prcm-common.h.

#define OMAP_PRCM_IRQ (   _name,
  _offset,
  _priority 
)
Value:
{ \
.name = _name, \
.offset = _offset, \
.priority = _priority \
}

Definition at line 500 of file prcm-common.h.

#define PLL_MOD   0x500

Definition at line 30 of file prcm-common.h.

#define WKUP_MOD   0x400

Definition at line 29 of file prcm-common.h.

Function Documentation

int omap_prcm_event_to_irq ( const char event)

Definition at line 149 of file prm_common.c.

void omap_prcm_irq_cleanup ( void  )

omap_prcm_irq_cleanup - reverses memory allocated and other steps done by omap_prcm_register_chain_handler()

No return value.

Definition at line 170 of file prm_common.c.

void omap_prcm_irq_complete ( void  )

Definition at line 209 of file prm_common.c.

void omap_prcm_irq_prepare ( void  )

Definition at line 204 of file prm_common.c.

int omap_prcm_register_chain_handler ( struct omap_prcm_irq_setup irq_setup)

omap_prcm_register_chain_handler - initializes the prcm chained interrupt handler based on provided parameters : hardware data about the underlying PRM/PRCM

Set up the PRCM chained interrupt handler on the PRCM IRQ. Sets up one generic IRQ chip per PRM interrupt status/enable register pair. Returns 0 upon success, -EINVAL if called twice or if invalid arguments are passed, or -ENOMEM on any other error.

Definition at line 237 of file prm_common.c.

Variable Documentation

void __iomem* cm2_base

Definition at line 44 of file prcm.c.

void __iomem* cm_base

Definition at line 43 of file prcm.c.

void __iomem* prcm_mpu_base

Definition at line 45 of file prcm.c.

void __iomem* prm_base

Definition at line 42 of file prcm.c.