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

Go to the source code of this file.

Macros

#define CKIH_CLK_FREQ   26000000
 
#define CKIH_CLK_FREQ_27MHZ   27000000
 
#define CKIL_CLK_FREQ   32768
 
#define MXC_CCM_CCMR   0x00
 
#define MXC_CCM_PDR0   0x04
 
#define MXC_CCM_PDR1   0x08
 
#define MX35_CCM_PDR2   0x0C
 
#define MXC_CCM_RCSR   0x0C
 
#define MX35_CCM_PDR3   0x10
 
#define MXC_CCM_MPCTL   0x10
 
#define MX35_CCM_PDR4   0x14
 
#define MXC_CCM_UPCTL   0x14
 
#define MX35_CCM_RCSR   0x18
 
#define MXC_CCM_SRPCTL   0x18
 
#define MX35_CCM_MPCTL   0x1C
 
#define MXC_CCM_COSR   0x1C
 
#define MX35_CCM_PPCTL   0x20
 
#define MXC_CCM_CGR0   0x20
 
#define MX35_CCM_ACMR   0x24
 
#define MXC_CCM_CGR1   0x24
 
#define MX35_CCM_COSR   0x28
 
#define MXC_CCM_CGR2   0x28
 
#define MX35_CCM_CGR0   0x2C
 
#define MXC_CCM_WIMR   0x2C
 
#define MX35_CCM_CGR1   0x30
 
#define MXC_CCM_LDC   0x30
 
#define MX35_CCM_CGR2   0x34
 
#define MXC_CCM_DCVR0   0x34
 
#define MX35_CCM_CGR3   0x38
 
#define MXC_CCM_DCVR1   0x38
 
#define MXC_CCM_DCVR2   0x3C
 
#define MXC_CCM_DCVR3   0x40
 
#define MXC_CCM_LTR0   0x44
 
#define MXC_CCM_LTR1   0x48
 
#define MXC_CCM_LTR2   0x4C
 
#define MXC_CCM_LTR3   0x50
 
#define MXC_CCM_LTBR0   0x54
 
#define MXC_CCM_LTBR1   0x58
 
#define MXC_CCM_PMCR0   0x5C
 
#define MXC_CCM_PMCR1   0x60
 
#define MXC_CCM_PDR2   0x64
 
#define MXC_CCM_CCMR_WBEN   (1 << 27)
 
#define MXC_CCM_CCMR_CSCS   (1 << 25)
 
#define MXC_CCM_CCMR_PERCS   (1 << 24)
 
#define MXC_CCM_CCMR_SSI1S_OFFSET   18
 
#define MXC_CCM_CCMR_SSI1S_MASK   (0x3 << 18)
 
#define MXC_CCM_CCMR_SSI2S_OFFSET   21
 
#define MXC_CCM_CCMR_SSI2S_MASK   (0x3 << 21)
 
#define MXC_CCM_CCMR_LPM_OFFSET   14
 
#define MXC_CCM_CCMR_LPM_MASK   (0x3 << 14)
 
#define MXC_CCM_CCMR_LPM_WAIT_MX35   (0x1 << 14)
 
#define MXC_CCM_CCMR_FIRS_OFFSET   11
 
#define MXC_CCM_CCMR_FIRS_MASK   (0x3 << 11)
 
#define MXC_CCM_CCMR_UPE   (1 << 9)
 
#define MXC_CCM_CCMR_SPE   (1 << 8)
 
#define MXC_CCM_CCMR_MDS   (1 << 7)
 
#define MXC_CCM_CCMR_SBYCS   (1 << 4)
 
#define MXC_CCM_CCMR_MPE   (1 << 3)
 
#define MXC_CCM_CCMR_PRCS_OFFSET   1
 
#define MXC_CCM_CCMR_PRCS_MASK   (0x3 << 1)
 
#define MXC_CCM_PDR0_CSI_PODF_OFFSET   26
 
#define MXC_CCM_PDR0_CSI_PODF_MASK   (0x3F << 26)
 
#define MXC_CCM_PDR0_CSI_PRDF_OFFSET   23
 
#define MXC_CCM_PDR0_CSI_PRDF_MASK   (0x7 << 23)
 
#define MXC_CCM_PDR0_PER_PODF_OFFSET   16
 
#define MXC_CCM_PDR0_PER_PODF_MASK   (0x1F << 16)
 
#define MXC_CCM_PDR0_HSP_PODF_OFFSET   11
 
#define MXC_CCM_PDR0_HSP_PODF_MASK   (0x7 << 11)
 
#define MXC_CCM_PDR0_NFC_PODF_OFFSET   8
 
#define MXC_CCM_PDR0_NFC_PODF_MASK   (0x7 << 8)
 
#define MXC_CCM_PDR0_IPG_PODF_OFFSET   6
 
#define MXC_CCM_PDR0_IPG_PODF_MASK   (0x3 << 6)
 
#define MXC_CCM_PDR0_MAX_PODF_OFFSET   3
 
#define MXC_CCM_PDR0_MAX_PODF_MASK   (0x7 << 3)
 
#define MXC_CCM_PDR0_MCU_PODF_OFFSET   0
 
#define MXC_CCM_PDR0_MCU_PODF_MASK   0x7
 
#define MXC_CCM_PDR1_USB_PRDF_OFFSET   30
 
#define MXC_CCM_PDR1_USB_PRDF_MASK   (0x3 << 30)
 
#define MXC_CCM_PDR1_USB_PODF_OFFSET   27
 
#define MXC_CCM_PDR1_USB_PODF_MASK   (0x7 << 27)
 
#define MXC_CCM_PDR1_FIRI_PRE_PODF_OFFSET   24
 
#define MXC_CCM_PDR1_FIRI_PRE_PODF_MASK   (0x7 << 24)
 
#define MXC_CCM_PDR1_FIRI_PODF_OFFSET   18
 
#define MXC_CCM_PDR1_FIRI_PODF_MASK   (0x3F << 18)
 
#define MXC_CCM_PDR1_SSI2_PRE_PODF_OFFSET   15
 
#define MXC_CCM_PDR1_SSI2_PRE_PODF_MASK   (0x7 << 15)
 
#define MXC_CCM_PDR1_SSI2_PODF_OFFSET   9
 
#define MXC_CCM_PDR1_SSI2_PODF_MASK   (0x3F << 9)
 
#define MXC_CCM_PDR1_SSI1_PRE_PODF_OFFSET   6
 
#define MXC_CCM_PDR1_SSI1_PRE_PODF_MASK   (0x7 << 6)
 
#define MXC_CCM_PDR1_SSI1_PODF_OFFSET   0
 
#define MXC_CCM_PDR1_SSI1_PODF_MASK   0x3F
 
#define MXC_CCM_RCSR_NF16B   0x80000000
 
#define MXC_CCM_LTR0_DIV3CK_OFFSET   1
 
#define MXC_CCM_LTR0_DIV3CK_MASK   (0x3 << 1)
 
#define MXC_CCM_LTR0_DNTHR_OFFSET   16
 
#define MXC_CCM_LTR0_DNTHR_MASK   (0x3F << 16)
 
#define MXC_CCM_LTR0_UPTHR_OFFSET   22
 
#define MXC_CCM_LTR0_UPTHR_MASK   (0x3F << 22)
 
#define MXC_CCM_LTR1_PNCTHR_OFFSET   0
 
#define MXC_CCM_LTR1_PNCTHR_MASK   0x3F
 
#define MXC_CCM_LTR1_UPCNT_OFFSET   6
 
#define MXC_CCM_LTR1_UPCNT_MASK   (0xFF << 6)
 
#define MXC_CCM_LTR1_DNCNT_OFFSET   14
 
#define MXC_CCM_LTR1_DNCNT_MASK   (0xFF << 14)
 
#define MXC_CCM_LTR1_LTBRSR_MASK   0x400000
 
#define MXC_CCM_LTR1_LTBRSR_OFFSET   22
 
#define MXC_CCM_LTR1_LTBRSR   0x400000
 
#define MXC_CCM_LTR1_LTBRSH   0x800000
 
#define MXC_CCM_LTR2_WSW_OFFSET(x)   (11 + (x) * 3)
 
#define MXC_CCM_LTR2_WSW_MASK(x)
 
#define MXC_CCM_LTR2_EMAC_OFFSET   0
 
#define MXC_CCM_LTR2_EMAC_MASK   0x1FF
 
#define MXC_CCM_LTR3_WSW_OFFSET(x)   (5 + (x) * 3)
 
#define MXC_CCM_LTR3_WSW_MASK(x)
 
#define MXC_CCM_PMCR0_DFSUP1   0x80000000
 
#define MXC_CCM_PMCR0_DFSUP1_SPLL   (0 << 31)
 
#define MXC_CCM_PMCR0_DFSUP1_MPLL   (1 << 31)
 
#define MXC_CCM_PMCR0_DFSUP0   0x40000000
 
#define MXC_CCM_PMCR0_DFSUP0_PLL   (0 << 30)
 
#define MXC_CCM_PMCR0_DFSUP0_PDR   (1 << 30)
 
#define MXC_CCM_PMCR0_DFSUP_MASK   (0x3 << 30)
 
#define DVSUP_TURBO   0
 
#define DVSUP_HIGH   1
 
#define DVSUP_MEDIUM   2
 
#define DVSUP_LOW   3
 
#define MXC_CCM_PMCR0_DVSUP_TURBO   (DVSUP_TURBO << 28)
 
#define MXC_CCM_PMCR0_DVSUP_HIGH   (DVSUP_HIGH << 28)
 
#define MXC_CCM_PMCR0_DVSUP_MEDIUM   (DVSUP_MEDIUM << 28)
 
#define MXC_CCM_PMCR0_DVSUP_LOW   (DVSUP_LOW << 28)
 
#define MXC_CCM_PMCR0_DVSUP_OFFSET   28
 
#define MXC_CCM_PMCR0_DVSUP_MASK   (0x3 << 28)
 
#define MXC_CCM_PMCR0_UDSC   0x08000000
 
#define MXC_CCM_PMCR0_UDSC_MASK   (1 << 27)
 
#define MXC_CCM_PMCR0_UDSC_UP   (1 << 27)
 
#define MXC_CCM_PMCR0_UDSC_DOWN   (0 << 27)
 
#define MXC_CCM_PMCR0_VSCNT_1   (0x0 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_2   (0x1 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_3   (0x2 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_4   (0x3 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_5   (0x4 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_6   (0x5 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_7   (0x6 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_8   (0x7 << 24)
 
#define MXC_CCM_PMCR0_VSCNT_OFFSET   24
 
#define MXC_CCM_PMCR0_VSCNT_MASK   (0x7 << 24)
 
#define MXC_CCM_PMCR0_DVFEV   0x00800000
 
#define MXC_CCM_PMCR0_DVFIS   0x00400000
 
#define MXC_CCM_PMCR0_LBMI   0x00200000
 
#define MXC_CCM_PMCR0_LBFL   0x00100000
 
#define MXC_CCM_PMCR0_LBCF_4   (0x0 << 18)
 
#define MXC_CCM_PMCR0_LBCF_8   (0x1 << 18)
 
#define MXC_CCM_PMCR0_LBCF_12   (0x2 << 18)
 
#define MXC_CCM_PMCR0_LBCF_16   (0x3 << 18)
 
#define MXC_CCM_PMCR0_LBCF_OFFSET   18
 
#define MXC_CCM_PMCR0_LBCF_MASK   (0x3 << 18)
 
#define MXC_CCM_PMCR0_PTVIS   0x00020000
 
#define MXC_CCM_PMCR0_UPDTEN   0x00010000
 
#define MXC_CCM_PMCR0_UPDTEN_MASK   (0x1 << 16)
 
#define MXC_CCM_PMCR0_FSVAIM   0x00008000
 
#define MXC_CCM_PMCR0_FSVAI_OFFSET   13
 
#define MXC_CCM_PMCR0_FSVAI_MASK   (0x3 << 13)
 
#define MXC_CCM_PMCR0_DPVCR   0x00001000
 
#define MXC_CCM_PMCR0_DPVV   0x00000800
 
#define MXC_CCM_PMCR0_WFIM   0x00000400
 
#define MXC_CCM_PMCR0_DRCE3   0x00000200
 
#define MXC_CCM_PMCR0_DRCE2   0x00000100
 
#define MXC_CCM_PMCR0_DRCE1   0x00000080
 
#define MXC_CCM_PMCR0_DRCE0   0x00000040
 
#define MXC_CCM_PMCR0_DCR   0x00000020
 
#define MXC_CCM_PMCR0_DVFEN   0x00000010
 
#define MXC_CCM_PMCR0_PTVAIM   0x00000008
 
#define MXC_CCM_PMCR0_PTVAI_OFFSET   1
 
#define MXC_CCM_PMCR0_PTVAI_MASK   (0x3 << 1)
 
#define MXC_CCM_PMCR0_DPTEN   0x00000001
 
#define MXC_CCM_PMCR1_DVGP_OFFSET   0
 
#define MXC_CCM_PMCR1_DVGP_MASK   (0xF)
 
#define MXC_CCM_PMCR1_PLLRDIS   (0x1 << 7)
 
#define MXC_CCM_PMCR1_EMIRQ_EN   (0x1 << 8)
 
#define MXC_CCM_DCVR_ULV_MASK   (0x3FF << 22)
 
#define MXC_CCM_DCVR_ULV_OFFSET   22
 
#define MXC_CCM_DCVR_LLV_MASK   (0x3FF << 12)
 
#define MXC_CCM_DCVR_LLV_OFFSET   12
 
#define MXC_CCM_DCVR_ELV_MASK   (0x3FF << 2)
 
#define MXC_CCM_DCVR_ELV_OFFSET   2
 
#define MXC_CCM_PDR2_MST2_PDF_MASK   (0x3F << 7)
 
#define MXC_CCM_PDR2_MST2_PDF_OFFSET   7
 
#define MXC_CCM_PDR2_MST1_PDF_MASK   0x3F
 
#define MXC_CCM_PDR2_MST1_PDF_OFFSET   0
 
#define MXC_CCM_COSR_CLKOSEL_MASK   0x0F
 
#define MXC_CCM_COSR_CLKOSEL_OFFSET   0
 
#define MXC_CCM_COSR_CLKOUTDIV_MASK   (0x07 << 6)
 
#define MXC_CCM_COSR_CLKOUTDIV_OFFSET   6
 
#define MXC_CCM_COSR_CLKOEN   (1 << 9)
 
#define MXC_CCM_PMCR0_LBFL_OFFSET   20
 
#define MXC_CCM_PMCR0_DFSUP0_OFFSET   30
 
#define MXC_CCM_PMCR0_DFSUP1_OFFSET   31
 

Variables

void __iomemmx3_ccm_base
 

Macro Definition Documentation

#define CKIH_CLK_FREQ   26000000

Definition at line 23 of file crmregs-imx3.h.

#define CKIH_CLK_FREQ_27MHZ   27000000

Definition at line 24 of file crmregs-imx3.h.

#define CKIL_CLK_FREQ   32768

Definition at line 25 of file crmregs-imx3.h.

#define DVSUP_HIGH   1

Definition at line 176 of file crmregs-imx3.h.

#define DVSUP_LOW   3

Definition at line 178 of file crmregs-imx3.h.

#define DVSUP_MEDIUM   2

Definition at line 177 of file crmregs-imx3.h.

#define DVSUP_TURBO   0

Definition at line 175 of file crmregs-imx3.h.

#define MX35_CCM_ACMR   0x24

Definition at line 45 of file crmregs-imx3.h.

#define MX35_CCM_CGR0   0x2C

Definition at line 49 of file crmregs-imx3.h.

#define MX35_CCM_CGR1   0x30

Definition at line 51 of file crmregs-imx3.h.

#define MX35_CCM_CGR2   0x34

Definition at line 53 of file crmregs-imx3.h.

#define MX35_CCM_CGR3   0x38

Definition at line 55 of file crmregs-imx3.h.

#define MX35_CCM_COSR   0x28

Definition at line 47 of file crmregs-imx3.h.

#define MX35_CCM_MPCTL   0x1C

Definition at line 41 of file crmregs-imx3.h.

#define MX35_CCM_PDR2   0x0C

Definition at line 33 of file crmregs-imx3.h.

#define MX35_CCM_PDR3   0x10

Definition at line 35 of file crmregs-imx3.h.

#define MX35_CCM_PDR4   0x14

Definition at line 37 of file crmregs-imx3.h.

#define MX35_CCM_PPCTL   0x20

Definition at line 43 of file crmregs-imx3.h.

#define MX35_CCM_RCSR   0x18

Definition at line 39 of file crmregs-imx3.h.

#define MXC_CCM_CCMR   0x00

Definition at line 30 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_CSCS   (1 << 25)

Definition at line 71 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_FIRS_MASK   (0x3 << 11)

Definition at line 81 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_FIRS_OFFSET   11

Definition at line 80 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_LPM_MASK   (0x3 << 14)

Definition at line 78 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_LPM_OFFSET   14

Definition at line 77 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_LPM_WAIT_MX35   (0x1 << 14)

Definition at line 79 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_MDS   (1 << 7)

Definition at line 84 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_MPE   (1 << 3)

Definition at line 86 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_PERCS   (1 << 24)

Definition at line 72 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_PRCS_MASK   (0x3 << 1)

Definition at line 88 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_PRCS_OFFSET   1

Definition at line 87 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_SBYCS   (1 << 4)

Definition at line 85 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_SPE   (1 << 8)

Definition at line 83 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_SSI1S_MASK   (0x3 << 18)

Definition at line 74 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_SSI1S_OFFSET   18

Definition at line 73 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_SSI2S_MASK   (0x3 << 21)

Definition at line 76 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_SSI2S_OFFSET   21

Definition at line 75 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_UPE   (1 << 9)

Definition at line 82 of file crmregs-imx3.h.

#define MXC_CCM_CCMR_WBEN   (1 << 27)

Definition at line 70 of file crmregs-imx3.h.

#define MXC_CCM_CGR0   0x20

Definition at line 44 of file crmregs-imx3.h.

#define MXC_CCM_CGR1   0x24

Definition at line 46 of file crmregs-imx3.h.

#define MXC_CCM_CGR2   0x28

Definition at line 48 of file crmregs-imx3.h.

#define MXC_CCM_COSR   0x1C

Definition at line 42 of file crmregs-imx3.h.

#define MXC_CCM_COSR_CLKOEN   (1 << 9)

Definition at line 252 of file crmregs-imx3.h.

#define MXC_CCM_COSR_CLKOSEL_MASK   0x0F

Definition at line 248 of file crmregs-imx3.h.

#define MXC_CCM_COSR_CLKOSEL_OFFSET   0

Definition at line 249 of file crmregs-imx3.h.

#define MXC_CCM_COSR_CLKOUTDIV_MASK   (0x07 << 6)

Definition at line 250 of file crmregs-imx3.h.

#define MXC_CCM_COSR_CLKOUTDIV_OFFSET   6

Definition at line 251 of file crmregs-imx3.h.

#define MXC_CCM_DCVR0   0x34

Definition at line 54 of file crmregs-imx3.h.

#define MXC_CCM_DCVR1   0x38

Definition at line 56 of file crmregs-imx3.h.

#define MXC_CCM_DCVR2   0x3C

Definition at line 57 of file crmregs-imx3.h.

#define MXC_CCM_DCVR3   0x40

Definition at line 58 of file crmregs-imx3.h.

#define MXC_CCM_DCVR_ELV_MASK   (0x3FF << 2)

Definition at line 240 of file crmregs-imx3.h.

#define MXC_CCM_DCVR_ELV_OFFSET   2

Definition at line 241 of file crmregs-imx3.h.

#define MXC_CCM_DCVR_LLV_MASK   (0x3FF << 12)

Definition at line 238 of file crmregs-imx3.h.

#define MXC_CCM_DCVR_LLV_OFFSET   12

Definition at line 239 of file crmregs-imx3.h.

#define MXC_CCM_DCVR_ULV_MASK   (0x3FF << 22)

Definition at line 236 of file crmregs-imx3.h.

#define MXC_CCM_DCVR_ULV_OFFSET   22

Definition at line 237 of file crmregs-imx3.h.

#define MXC_CCM_LDC   0x30

Definition at line 52 of file crmregs-imx3.h.

#define MXC_CCM_LTBR0   0x54

Definition at line 63 of file crmregs-imx3.h.

#define MXC_CCM_LTBR1   0x58

Definition at line 64 of file crmregs-imx3.h.

#define MXC_CCM_LTR0   0x44

Definition at line 59 of file crmregs-imx3.h.

#define MXC_CCM_LTR0_DIV3CK_MASK   (0x3 << 1)

Definition at line 131 of file crmregs-imx3.h.

#define MXC_CCM_LTR0_DIV3CK_OFFSET   1

Definition at line 130 of file crmregs-imx3.h.

#define MXC_CCM_LTR0_DNTHR_MASK   (0x3F << 16)

Definition at line 133 of file crmregs-imx3.h.

#define MXC_CCM_LTR0_DNTHR_OFFSET   16

Definition at line 132 of file crmregs-imx3.h.

#define MXC_CCM_LTR0_UPTHR_MASK   (0x3F << 22)

Definition at line 135 of file crmregs-imx3.h.

#define MXC_CCM_LTR0_UPTHR_OFFSET   22

Definition at line 134 of file crmregs-imx3.h.

#define MXC_CCM_LTR1   0x48

Definition at line 60 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_DNCNT_MASK   (0xFF << 14)

Definition at line 145 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_DNCNT_OFFSET   14

Definition at line 144 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_LTBRSH   0x800000

Definition at line 149 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_LTBRSR   0x400000

Definition at line 148 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_LTBRSR_MASK   0x400000

Definition at line 146 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_LTBRSR_OFFSET   22

Definition at line 147 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_PNCTHR_MASK   0x3F

Definition at line 141 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_PNCTHR_OFFSET   0

Definition at line 140 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_UPCNT_MASK   (0xFF << 6)

Definition at line 143 of file crmregs-imx3.h.

#define MXC_CCM_LTR1_UPCNT_OFFSET   6

Definition at line 142 of file crmregs-imx3.h.

#define MXC_CCM_LTR2   0x4C

Definition at line 61 of file crmregs-imx3.h.

#define MXC_CCM_LTR2_EMAC_MASK   0x1FF

Definition at line 158 of file crmregs-imx3.h.

#define MXC_CCM_LTR2_EMAC_OFFSET   0

Definition at line 157 of file crmregs-imx3.h.

#define MXC_CCM_LTR2_WSW_MASK (   x)
Value:
(0x7 << \
MXC_CCM_LTR2_WSW_OFFSET((x)))

Definition at line 155 of file crmregs-imx3.h.

#define MXC_CCM_LTR2_WSW_OFFSET (   x)    (11 + (x) * 3)

Definition at line 154 of file crmregs-imx3.h.

#define MXC_CCM_LTR3   0x50

Definition at line 62 of file crmregs-imx3.h.

#define MXC_CCM_LTR3_WSW_MASK (   x)
Value:
(0x7 << \
MXC_CCM_LTR3_WSW_OFFSET((x)))

Definition at line 164 of file crmregs-imx3.h.

#define MXC_CCM_LTR3_WSW_OFFSET (   x)    (5 + (x) * 3)

Definition at line 163 of file crmregs-imx3.h.

#define MXC_CCM_MPCTL   0x10

Definition at line 36 of file crmregs-imx3.h.

#define MXC_CCM_PDR0   0x04

Definition at line 31 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_CSI_PODF_MASK   (0x3F << 26)

Definition at line 91 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_CSI_PODF_OFFSET   26

Definition at line 90 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_CSI_PRDF_MASK   (0x7 << 23)

Definition at line 93 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_CSI_PRDF_OFFSET   23

Definition at line 92 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_HSP_PODF_MASK   (0x7 << 11)

Definition at line 97 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_HSP_PODF_OFFSET   11

Definition at line 96 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_IPG_PODF_MASK   (0x3 << 6)

Definition at line 101 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_IPG_PODF_OFFSET   6

Definition at line 100 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_MAX_PODF_MASK   (0x7 << 3)

Definition at line 103 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_MAX_PODF_OFFSET   3

Definition at line 102 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_MCU_PODF_MASK   0x7

Definition at line 105 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_MCU_PODF_OFFSET   0

Definition at line 104 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_NFC_PODF_MASK   (0x7 << 8)

Definition at line 99 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_NFC_PODF_OFFSET   8

Definition at line 98 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_PER_PODF_MASK   (0x1F << 16)

Definition at line 95 of file crmregs-imx3.h.

#define MXC_CCM_PDR0_PER_PODF_OFFSET   16

Definition at line 94 of file crmregs-imx3.h.

#define MXC_CCM_PDR1   0x08

Definition at line 32 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_FIRI_PODF_MASK   (0x3F << 18)

Definition at line 114 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_FIRI_PODF_OFFSET   18

Definition at line 113 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_FIRI_PRE_PODF_MASK   (0x7 << 24)

Definition at line 112 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_FIRI_PRE_PODF_OFFSET   24

Definition at line 111 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI1_PODF_MASK   0x3F

Definition at line 122 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI1_PODF_OFFSET   0

Definition at line 121 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI1_PRE_PODF_MASK   (0x7 << 6)

Definition at line 120 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI1_PRE_PODF_OFFSET   6

Definition at line 119 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI2_PODF_MASK   (0x3F << 9)

Definition at line 118 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI2_PODF_OFFSET   9

Definition at line 117 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI2_PRE_PODF_MASK   (0x7 << 15)

Definition at line 116 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_SSI2_PRE_PODF_OFFSET   15

Definition at line 115 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_USB_PODF_MASK   (0x7 << 27)

Definition at line 110 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_USB_PODF_OFFSET   27

Definition at line 109 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_USB_PRDF_MASK   (0x3 << 30)

Definition at line 108 of file crmregs-imx3.h.

#define MXC_CCM_PDR1_USB_PRDF_OFFSET   30

Definition at line 107 of file crmregs-imx3.h.

#define MXC_CCM_PDR2   0x64

Definition at line 67 of file crmregs-imx3.h.

#define MXC_CCM_PDR2_MST1_PDF_MASK   0x3F

Definition at line 245 of file crmregs-imx3.h.

#define MXC_CCM_PDR2_MST1_PDF_OFFSET   0

Definition at line 246 of file crmregs-imx3.h.

#define MXC_CCM_PDR2_MST2_PDF_MASK   (0x3F << 7)

Definition at line 243 of file crmregs-imx3.h.

#define MXC_CCM_PDR2_MST2_PDF_OFFSET   7

Definition at line 244 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0   0x5C

Definition at line 65 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DCR   0x00000020

Definition at line 223 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP0   0x40000000

Definition at line 170 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP0_OFFSET   30

Definition at line 258 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP0_PDR   (1 << 30)

Definition at line 172 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP0_PLL   (0 << 30)

Definition at line 171 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP1   0x80000000

Definition at line 167 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP1_MPLL   (1 << 31)

Definition at line 169 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP1_OFFSET   31

Definition at line 259 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP1_SPLL   (0 << 31)

Definition at line 168 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DFSUP_MASK   (0x3 << 30)

Definition at line 173 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DPTEN   0x00000001

Definition at line 228 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DPVCR   0x00001000

Definition at line 216 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DPVV   0x00000800

Definition at line 217 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DRCE0   0x00000040

Definition at line 222 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DRCE1   0x00000080

Definition at line 221 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DRCE2   0x00000100

Definition at line 220 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DRCE3   0x00000200

Definition at line 219 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVFEN   0x00000010

Definition at line 224 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVFEV   0x00800000

Definition at line 200 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVFIS   0x00400000

Definition at line 201 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVSUP_HIGH   (DVSUP_HIGH << 28)

Definition at line 180 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVSUP_LOW   (DVSUP_LOW << 28)

Definition at line 182 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVSUP_MASK   (0x3 << 28)

Definition at line 184 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVSUP_MEDIUM   (DVSUP_MEDIUM << 28)

Definition at line 181 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVSUP_OFFSET   28

Definition at line 183 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_DVSUP_TURBO   (DVSUP_TURBO << 28)

Definition at line 179 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_FSVAI_MASK   (0x3 << 13)

Definition at line 215 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_FSVAI_OFFSET   13

Definition at line 214 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_FSVAIM   0x00008000

Definition at line 213 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBCF_12   (0x2 << 18)

Definition at line 206 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBCF_16   (0x3 << 18)

Definition at line 207 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBCF_4   (0x0 << 18)

Definition at line 204 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBCF_8   (0x1 << 18)

Definition at line 205 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBCF_MASK   (0x3 << 18)

Definition at line 209 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBCF_OFFSET   18

Definition at line 208 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBFL   0x00100000

Definition at line 203 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBFL_OFFSET   20

Definition at line 257 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_LBMI   0x00200000

Definition at line 202 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_PTVAI_MASK   (0x3 << 1)

Definition at line 227 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_PTVAI_OFFSET   1

Definition at line 226 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_PTVAIM   0x00000008

Definition at line 225 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_PTVIS   0x00020000

Definition at line 210 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_UDSC   0x08000000

Definition at line 185 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_UDSC_DOWN   (0 << 27)

Definition at line 188 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_UDSC_MASK   (1 << 27)

Definition at line 186 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_UDSC_UP   (1 << 27)

Definition at line 187 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_UPDTEN   0x00010000

Definition at line 211 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_UPDTEN_MASK   (0x1 << 16)

Definition at line 212 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_1   (0x0 << 24)

Definition at line 190 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_2   (0x1 << 24)

Definition at line 191 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_3   (0x2 << 24)

Definition at line 192 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_4   (0x3 << 24)

Definition at line 193 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_5   (0x4 << 24)

Definition at line 194 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_6   (0x5 << 24)

Definition at line 195 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_7   (0x6 << 24)

Definition at line 196 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_8   (0x7 << 24)

Definition at line 197 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_MASK   (0x7 << 24)

Definition at line 199 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_VSCNT_OFFSET   24

Definition at line 198 of file crmregs-imx3.h.

#define MXC_CCM_PMCR0_WFIM   0x00000400

Definition at line 218 of file crmregs-imx3.h.

#define MXC_CCM_PMCR1   0x60

Definition at line 66 of file crmregs-imx3.h.

#define MXC_CCM_PMCR1_DVGP_MASK   (0xF)

Definition at line 231 of file crmregs-imx3.h.

#define MXC_CCM_PMCR1_DVGP_OFFSET   0

Definition at line 230 of file crmregs-imx3.h.

#define MXC_CCM_PMCR1_EMIRQ_EN   (0x1 << 8)

Definition at line 234 of file crmregs-imx3.h.

#define MXC_CCM_PMCR1_PLLRDIS   (0x1 << 7)

Definition at line 233 of file crmregs-imx3.h.

#define MXC_CCM_RCSR   0x0C

Definition at line 34 of file crmregs-imx3.h.

#define MXC_CCM_RCSR_NF16B   0x80000000

Definition at line 125 of file crmregs-imx3.h.

#define MXC_CCM_SRPCTL   0x18

Definition at line 40 of file crmregs-imx3.h.

#define MXC_CCM_UPCTL   0x14

Definition at line 38 of file crmregs-imx3.h.

#define MXC_CCM_WIMR   0x2C

Definition at line 50 of file crmregs-imx3.h.

Variable Documentation

void __iomem* mx3_ccm_base

Definition at line 36 of file mm-imx3.c.