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

Go to the source code of this file.

Macros

#define OMAP2_L3_IO_OFFSET   0x90000000
 
#define OMAP2_L3_IO_ADDRESS(pa)   IOMEM((pa) + OMAP2_L3_IO_OFFSET) /* L3 */
 
#define OMAP2_L4_IO_OFFSET   0xb2000000
 
#define OMAP2_L4_IO_ADDRESS(pa)   IOMEM((pa) + OMAP2_L4_IO_OFFSET) /* L4 */
 
#define OMAP4_L3_IO_OFFSET   0xb4000000
 
#define OMAP4_L3_IO_ADDRESS(pa)   IOMEM((pa) + OMAP4_L3_IO_OFFSET) /* L3 */
 
#define AM33XX_L4_WK_IO_OFFSET   0xb5000000
 
#define AM33XX_L4_WK_IO_ADDRESS(pa)   IOMEM((pa) + AM33XX_L4_WK_IO_OFFSET)
 
#define OMAP4_L3_PER_IO_OFFSET   0xb1100000
 
#define OMAP4_L3_PER_IO_ADDRESS(pa)   IOMEM((pa) + OMAP4_L3_PER_IO_OFFSET)
 
#define OMAP2_EMU_IO_OFFSET   0xaa800000 /* Emulation */
 
#define OMAP2_EMU_IO_ADDRESS(pa)   IOMEM((pa) + OMAP2_EMU_IO_OFFSET)
 
#define L3_24XX_PHYS   L3_24XX_BASE /* 0x68000000 --> 0xf8000000*/
 
#define L3_24XX_VIRT   (L3_24XX_PHYS + OMAP2_L3_IO_OFFSET)
 
#define L3_24XX_SIZE   SZ_1M /* 44kB of 128MB used, want 1MB sect */
 
#define L4_24XX_PHYS   L4_24XX_BASE /* 0x48000000 --> 0xfa000000 */
 
#define L4_24XX_VIRT   (L4_24XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_24XX_SIZE   SZ_1M /* 1MB of 128MB used, want 1MB sect */
 
#define L4_WK_243X_PHYS   L4_WK_243X_BASE /* 0x49000000 --> 0xfb000000 */
 
#define L4_WK_243X_VIRT   (L4_WK_243X_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_WK_243X_SIZE   SZ_1M
 
#define OMAP243X_GPMC_PHYS   OMAP243X_GPMC_BASE
 
#define OMAP243X_GPMC_VIRT   (OMAP243X_GPMC_PHYS + OMAP2_L3_IO_OFFSET)
 
#define OMAP243X_GPMC_SIZE   SZ_1M
 
#define OMAP243X_SDRC_PHYS   OMAP243X_SDRC_BASE
 
#define OMAP243X_SDRC_VIRT   (OMAP243X_SDRC_PHYS + OMAP2_L3_IO_OFFSET)
 
#define OMAP243X_SDRC_SIZE   SZ_1M
 
#define OMAP243X_SMS_PHYS   OMAP243X_SMS_BASE
 
#define OMAP243X_SMS_VIRT   (OMAP243X_SMS_PHYS + OMAP2_L3_IO_OFFSET)
 
#define OMAP243X_SMS_SIZE   SZ_1M
 
#define DSP_MEM_2420_PHYS   OMAP2420_DSP_MEM_BASE
 
#define DSP_MEM_2420_VIRT   0xfc100000
 
#define DSP_MEM_2420_SIZE   0x28000
 
#define DSP_IPI_2420_PHYS   OMAP2420_DSP_IPI_BASE
 
#define DSP_IPI_2420_VIRT   0xfc128000
 
#define DSP_IPI_2420_SIZE   SZ_4K
 
#define DSP_MMU_2420_PHYS   OMAP2420_DSP_MMU_BASE
 
#define DSP_MMU_2420_VIRT   0xfc129000
 
#define DSP_MMU_2420_SIZE   SZ_4K
 
#define L3_34XX_PHYS   L3_34XX_BASE /* 0x68000000 --> 0xf8000000 */
 
#define L3_34XX_VIRT   (L3_34XX_PHYS + OMAP2_L3_IO_OFFSET)
 
#define L3_34XX_SIZE   SZ_1M /* 44kB of 128MB used, want 1MB sect */
 
#define L4_34XX_PHYS   L4_34XX_BASE /* 0x48000000 --> 0xfa000000 */
 
#define L4_34XX_VIRT   (L4_34XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_34XX_SIZE   SZ_4M /* 1MB of 128MB used, want 1MB sect */
 
#define L4_WK_AM33XX_PHYS   L4_WK_AM33XX_BASE
 
#define L4_WK_AM33XX_VIRT   (L4_WK_AM33XX_PHYS + AM33XX_L4_WK_IO_OFFSET)
 
#define L4_WK_AM33XX_SIZE   SZ_4M /* 1MB of 128MB used, want 1MB sect */
 
#define L4_PER_34XX_PHYS   L4_PER_34XX_BASE
 
#define L4_PER_34XX_VIRT   (L4_PER_34XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_PER_34XX_SIZE   SZ_1M
 
#define L4_EMU_34XX_PHYS   L4_EMU_34XX_BASE
 
#define L4_EMU_34XX_VIRT   (L4_EMU_34XX_PHYS + OMAP2_EMU_IO_OFFSET)
 
#define L4_EMU_34XX_SIZE   SZ_8M
 
#define OMAP34XX_GPMC_PHYS   OMAP34XX_GPMC_BASE
 
#define OMAP34XX_GPMC_VIRT   (OMAP34XX_GPMC_PHYS + OMAP2_L3_IO_OFFSET)
 
#define OMAP34XX_GPMC_SIZE   SZ_1M
 
#define OMAP343X_SMS_PHYS   OMAP343X_SMS_BASE
 
#define OMAP343X_SMS_VIRT   (OMAP343X_SMS_PHYS + OMAP2_L3_IO_OFFSET)
 
#define OMAP343X_SMS_SIZE   SZ_1M
 
#define OMAP343X_SDRC_PHYS   OMAP343X_SDRC_BASE
 
#define OMAP343X_SDRC_VIRT   (OMAP343X_SDRC_PHYS + OMAP2_L3_IO_OFFSET)
 
#define OMAP343X_SDRC_SIZE   SZ_1M
 
#define L3_44XX_PHYS   L3_44XX_BASE /* 0x44000000 --> 0xf8000000 */
 
#define L3_44XX_VIRT   (L3_44XX_PHYS + OMAP4_L3_IO_OFFSET)
 
#define L3_44XX_SIZE   SZ_1M
 
#define L4_44XX_PHYS   L4_44XX_BASE /* 0x4a000000 --> 0xfc000000 */
 
#define L4_44XX_VIRT   (L4_44XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_44XX_SIZE   SZ_4M
 
#define L4_PER_44XX_PHYS   L4_PER_44XX_BASE
 
#define L4_PER_44XX_VIRT   (L4_PER_44XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_PER_44XX_SIZE   SZ_4M
 
#define L4_ABE_44XX_PHYS   L4_ABE_44XX_BASE
 
#define L4_ABE_44XX_VIRT   (L4_ABE_44XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_ABE_44XX_SIZE   SZ_1M
 
#define L3_54XX_PHYS   L3_54XX_BASE /* 0x44000000 --> 0xf8000000 */
 
#define L3_54XX_VIRT   (L3_54XX_PHYS + OMAP4_L3_IO_OFFSET)
 
#define L3_54XX_SIZE   SZ_1M
 
#define L4_54XX_PHYS   L4_54XX_BASE /* 0x4a000000 --> 0xfc000000 */
 
#define L4_54XX_VIRT   (L4_54XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_54XX_SIZE   SZ_4M
 
#define L4_WK_54XX_PHYS   L4_WK_54XX_BASE /* 0x4ae00000 --> 0xfce00000 */
 
#define L4_WK_54XX_VIRT   (L4_WK_54XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_WK_54XX_SIZE   SZ_2M
 
#define L4_PER_54XX_PHYS   L4_PER_54XX_BASE /* 0x48000000 --> 0xfa000000 */
 
#define L4_PER_54XX_VIRT   (L4_PER_54XX_PHYS + OMAP2_L4_IO_OFFSET)
 
#define L4_PER_54XX_SIZE   SZ_4M
 

Macro Definition Documentation

#define AM33XX_L4_WK_IO_ADDRESS (   pa)    IOMEM((pa) + AM33XX_L4_WK_IO_OFFSET)

Definition at line 43 of file iomap.h.

#define AM33XX_L4_WK_IO_OFFSET   0xb5000000

Definition at line 42 of file iomap.h.

#define DSP_IPI_2420_PHYS   OMAP2420_DSP_IPI_BASE

Definition at line 86 of file iomap.h.

#define DSP_IPI_2420_SIZE   SZ_4K

Definition at line 89 of file iomap.h.

#define DSP_IPI_2420_VIRT   0xfc128000

Definition at line 88 of file iomap.h.

#define DSP_MEM_2420_PHYS   OMAP2420_DSP_MEM_BASE

Definition at line 82 of file iomap.h.

#define DSP_MEM_2420_SIZE   0x28000

Definition at line 85 of file iomap.h.

#define DSP_MEM_2420_VIRT   0xfc100000

Definition at line 84 of file iomap.h.

#define DSP_MMU_2420_PHYS   OMAP2420_DSP_MMU_BASE

Definition at line 90 of file iomap.h.

#define DSP_MMU_2420_SIZE   SZ_4K

Definition at line 93 of file iomap.h.

#define DSP_MMU_2420_VIRT   0xfc129000

Definition at line 92 of file iomap.h.

#define L3_24XX_PHYS   L3_24XX_BASE /* 0x68000000 --> 0xf8000000*/

Definition at line 58 of file iomap.h.

#define L3_24XX_SIZE   SZ_1M /* 44kB of 128MB used, want 1MB sect */

Definition at line 60 of file iomap.h.

#define L3_24XX_VIRT   (L3_24XX_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 59 of file iomap.h.

#define L3_34XX_PHYS   L3_34XX_BASE /* 0x68000000 --> 0xf8000000 */

Definition at line 104 of file iomap.h.

#define L3_34XX_SIZE   SZ_1M /* 44kB of 128MB used, want 1MB sect */

Definition at line 106 of file iomap.h.

#define L3_34XX_VIRT   (L3_34XX_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 105 of file iomap.h.

#define L3_44XX_PHYS   L3_44XX_BASE /* 0x44000000 --> 0xf8000000 */

Definition at line 160 of file iomap.h.

#define L3_44XX_SIZE   SZ_1M

Definition at line 162 of file iomap.h.

#define L3_44XX_VIRT   (L3_44XX_PHYS + OMAP4_L3_IO_OFFSET)

Definition at line 161 of file iomap.h.

#define L3_54XX_PHYS   L3_54XX_BASE /* 0x44000000 --> 0xf8000000 */

Definition at line 182 of file iomap.h.

#define L3_54XX_SIZE   SZ_1M

Definition at line 184 of file iomap.h.

#define L3_54XX_VIRT   (L3_54XX_PHYS + OMAP4_L3_IO_OFFSET)

Definition at line 183 of file iomap.h.

#define L4_24XX_PHYS   L4_24XX_BASE /* 0x48000000 --> 0xfa000000 */

Definition at line 61 of file iomap.h.

#define L4_24XX_SIZE   SZ_1M /* 1MB of 128MB used, want 1MB sect */

Definition at line 63 of file iomap.h.

#define L4_24XX_VIRT   (L4_24XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 62 of file iomap.h.

#define L4_34XX_PHYS   L4_34XX_BASE /* 0x48000000 --> 0xfa000000 */

Definition at line 108 of file iomap.h.

#define L4_34XX_SIZE   SZ_4M /* 1MB of 128MB used, want 1MB sect */

Definition at line 110 of file iomap.h.

#define L4_34XX_VIRT   (L4_34XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 109 of file iomap.h.

#define L4_44XX_PHYS   L4_44XX_BASE /* 0x4a000000 --> 0xfc000000 */

Definition at line 164 of file iomap.h.

#define L4_44XX_SIZE   SZ_4M

Definition at line 166 of file iomap.h.

#define L4_44XX_VIRT   (L4_44XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 165 of file iomap.h.

#define L4_54XX_PHYS   L4_54XX_BASE /* 0x4a000000 --> 0xfc000000 */

Definition at line 186 of file iomap.h.

#define L4_54XX_SIZE   SZ_4M

Definition at line 188 of file iomap.h.

#define L4_54XX_VIRT   (L4_54XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 187 of file iomap.h.

#define L4_ABE_44XX_PHYS   L4_ABE_44XX_BASE

Definition at line 173 of file iomap.h.

#define L4_ABE_44XX_SIZE   SZ_1M

Definition at line 176 of file iomap.h.

#define L4_ABE_44XX_VIRT   (L4_ABE_44XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 175 of file iomap.h.

#define L4_EMU_34XX_PHYS   L4_EMU_34XX_BASE

Definition at line 131 of file iomap.h.

#define L4_EMU_34XX_SIZE   SZ_8M

Definition at line 134 of file iomap.h.

#define L4_EMU_34XX_VIRT   (L4_EMU_34XX_PHYS + OMAP2_EMU_IO_OFFSET)

Definition at line 133 of file iomap.h.

#define L4_PER_34XX_PHYS   L4_PER_34XX_BASE

Definition at line 126 of file iomap.h.

#define L4_PER_34XX_SIZE   SZ_1M

Definition at line 129 of file iomap.h.

#define L4_PER_34XX_VIRT   (L4_PER_34XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 128 of file iomap.h.

#define L4_PER_44XX_PHYS   L4_PER_44XX_BASE

Definition at line 168 of file iomap.h.

#define L4_PER_44XX_SIZE   SZ_4M

Definition at line 171 of file iomap.h.

#define L4_PER_44XX_VIRT   (L4_PER_44XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 170 of file iomap.h.

#define L4_PER_54XX_PHYS   L4_PER_54XX_BASE /* 0x48000000 --> 0xfa000000 */

Definition at line 194 of file iomap.h.

#define L4_PER_54XX_SIZE   SZ_4M

Definition at line 196 of file iomap.h.

#define L4_PER_54XX_VIRT   (L4_PER_54XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 195 of file iomap.h.

#define L4_WK_243X_PHYS   L4_WK_243X_BASE /* 0x49000000 --> 0xfb000000 */

Definition at line 65 of file iomap.h.

#define L4_WK_243X_SIZE   SZ_1M

Definition at line 67 of file iomap.h.

#define L4_WK_243X_VIRT   (L4_WK_243X_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 66 of file iomap.h.

#define L4_WK_54XX_PHYS   L4_WK_54XX_BASE /* 0x4ae00000 --> 0xfce00000 */

Definition at line 190 of file iomap.h.

#define L4_WK_54XX_SIZE   SZ_2M

Definition at line 192 of file iomap.h.

#define L4_WK_54XX_VIRT   (L4_WK_54XX_PHYS + OMAP2_L4_IO_OFFSET)

Definition at line 191 of file iomap.h.

#define L4_WK_AM33XX_PHYS   L4_WK_AM33XX_BASE

Definition at line 117 of file iomap.h.

#define L4_WK_AM33XX_SIZE   SZ_4M /* 1MB of 128MB used, want 1MB sect */

Definition at line 119 of file iomap.h.

#define L4_WK_AM33XX_VIRT   (L4_WK_AM33XX_PHYS + AM33XX_L4_WK_IO_OFFSET)

Definition at line 118 of file iomap.h.

#define OMAP243X_GPMC_PHYS   OMAP243X_GPMC_BASE

Definition at line 68 of file iomap.h.

#define OMAP243X_GPMC_SIZE   SZ_1M

Definition at line 71 of file iomap.h.

#define OMAP243X_GPMC_VIRT   (OMAP243X_GPMC_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 69 of file iomap.h.

#define OMAP243X_SDRC_PHYS   OMAP243X_SDRC_BASE

Definition at line 72 of file iomap.h.

#define OMAP243X_SDRC_SIZE   SZ_1M

Definition at line 75 of file iomap.h.

#define OMAP243X_SDRC_VIRT   (OMAP243X_SDRC_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 74 of file iomap.h.

#define OMAP243X_SMS_PHYS   OMAP243X_SMS_BASE

Definition at line 76 of file iomap.h.

#define OMAP243X_SMS_SIZE   SZ_1M

Definition at line 79 of file iomap.h.

#define OMAP243X_SMS_VIRT   (OMAP243X_SMS_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 78 of file iomap.h.

#define OMAP2_EMU_IO_ADDRESS (   pa)    IOMEM((pa) + OMAP2_EMU_IO_OFFSET)

Definition at line 49 of file iomap.h.

#define OMAP2_EMU_IO_OFFSET   0xaa800000 /* Emulation */

Definition at line 48 of file iomap.h.

#define OMAP2_L3_IO_ADDRESS (   pa)    IOMEM((pa) + OMAP2_L3_IO_OFFSET) /* L3 */

Definition at line 34 of file iomap.h.

#define OMAP2_L3_IO_OFFSET   0x90000000

Definition at line 33 of file iomap.h.

#define OMAP2_L4_IO_ADDRESS (   pa)    IOMEM((pa) + OMAP2_L4_IO_OFFSET) /* L4 */

Definition at line 37 of file iomap.h.

#define OMAP2_L4_IO_OFFSET   0xb2000000

Definition at line 36 of file iomap.h.

#define OMAP343X_SDRC_PHYS   OMAP343X_SDRC_BASE

Definition at line 146 of file iomap.h.

#define OMAP343X_SDRC_SIZE   SZ_1M

Definition at line 149 of file iomap.h.

#define OMAP343X_SDRC_VIRT   (OMAP343X_SDRC_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 148 of file iomap.h.

#define OMAP343X_SMS_PHYS   OMAP343X_SMS_BASE

Definition at line 141 of file iomap.h.

#define OMAP343X_SMS_SIZE   SZ_1M

Definition at line 144 of file iomap.h.

#define OMAP343X_SMS_VIRT   (OMAP343X_SMS_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 143 of file iomap.h.

#define OMAP34XX_GPMC_PHYS   OMAP34XX_GPMC_BASE

Definition at line 136 of file iomap.h.

#define OMAP34XX_GPMC_SIZE   SZ_1M

Definition at line 139 of file iomap.h.

#define OMAP34XX_GPMC_VIRT   (OMAP34XX_GPMC_PHYS + OMAP2_L3_IO_OFFSET)

Definition at line 138 of file iomap.h.

#define OMAP4_L3_IO_ADDRESS (   pa)    IOMEM((pa) + OMAP4_L3_IO_OFFSET) /* L3 */

Definition at line 40 of file iomap.h.

#define OMAP4_L3_IO_OFFSET   0xb4000000

Definition at line 39 of file iomap.h.

#define OMAP4_L3_PER_IO_ADDRESS (   pa)    IOMEM((pa) + OMAP4_L3_PER_IO_OFFSET)

Definition at line 46 of file iomap.h.

#define OMAP4_L3_PER_IO_OFFSET   0xb1100000

Definition at line 45 of file iomap.h.