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

Go to the source code of this file.

Macros

#define PLD_BASE   (0x10c00000 /* + NONCACHE_OFFSET */)
 
#define __reg8   (volatile unsigned char *)
 
#define __reg16   (volatile unsigned short *)
 
#define __reg32   (volatile unsigned int *)
 
#define PLD_CFRSTCR   __reg16(PLD_BASE + 0x0000)
 
#define PLD_CFSTS   __reg16(PLD_BASE + 0x0002)
 
#define PLD_CFIMASK   __reg16(PLD_BASE + 0x0004)
 
#define PLD_CFBUFCR   __reg16(PLD_BASE + 0x0006)
 
#define PLD_CFCR0   __reg16(PLD_BASE + 0x000a)
 
#define PLD_CFCR1   __reg16(PLD_BASE + 0x000c)
 
#define PLD_MMCCR   __reg16(PLD_BASE + 0x4000)
 
#define PLD_MMCMOD   __reg16(PLD_BASE + 0x4002)
 
#define PLD_MMCSTS   __reg16(PLD_BASE + 0x4006)
 
#define PLD_MMCBAUR   __reg16(PLD_BASE + 0x400a)
 
#define PLD_MMCCMDBCUT   __reg16(PLD_BASE + 0x400c)
 
#define PLD_MMCCDTBCUT   __reg16(PLD_BASE + 0x400e)
 
#define PLD_MMCDET   __reg16(PLD_BASE + 0x4010)
 
#define PLD_MMCWP   __reg16(PLD_BASE + 0x4012)
 
#define PLD_MMCWDATA   __reg16(PLD_BASE + 0x5000)
 
#define PLD_MMCRDATA   __reg16(PLD_BASE + 0x6000)
 
#define PLD_MMCCMDDATA   __reg16(PLD_BASE + 0x7000)
 
#define PLD_MMCRSPDATA   __reg16(PLD_BASE + 0x7006)
 
#define PLD_CPCR   __reg16(PLD_BASE + 0x14000)
 
#define M32R_IRQ_PC104   (5) /* INT4(PC/104) */
 
#define M32R_IRQ_I2C   (28) /* I2C-BUS */
 
#define PLD_IRQ_CFIREQ   (40) /* CFC Card Interrupt */
 
#define PLD_IRQ_CFC_INSERT   (41) /* CFC Card Insert */
 
#define PLD_IRQ_CFC_EJECT   (42) /* CFC Card Eject */
 
#define PLD_IRQ_MMCCARD   (43) /* MMC Card Insert */
 
#define PLD_IRQ_MMCIRQ   (44) /* MMC Transfer Done */
 
#define PLD_CRC7DATA   __reg16(PLD_BASE + 0x18000)
 
#define PLD_CRC7INDATA   __reg16(PLD_BASE + 0x18002)
 
#define PLD_CRC16DATA   __reg16(PLD_BASE + 0x18004)
 
#define PLD_CRC16INDATA   __reg16(PLD_BASE + 0x18006)
 
#define PLD_CRC16ADATA   __reg16(PLD_BASE + 0x18008)
 
#define PLD_CRC16AINDATA   __reg16(PLD_BASE + 0x1800a)
 

Macro Definition Documentation

#define __reg16   (volatile unsigned short *)

Definition at line 21 of file mappi2_pld.h.

#define __reg32   (volatile unsigned int *)

Definition at line 22 of file mappi2_pld.h.

#define __reg8   (volatile unsigned char *)

Definition at line 20 of file mappi2_pld.h.

#define M32R_IRQ_I2C   (28) /* I2C-BUS */

Definition at line 58 of file mappi2_pld.h.

#define M32R_IRQ_PC104   (5) /* INT4(PC/104) */

Definition at line 57 of file mappi2_pld.h.

#define PLD_BASE   (0x10c00000 /* + NONCACHE_OFFSET */)

Definition at line 19 of file mappi2_pld.h.

#define PLD_CFBUFCR   __reg16(PLD_BASE + 0x0006)

Definition at line 34 of file mappi2_pld.h.

#define PLD_CFCR0   __reg16(PLD_BASE + 0x000a)

Definition at line 35 of file mappi2_pld.h.

#define PLD_CFCR1   __reg16(PLD_BASE + 0x000c)

Definition at line 36 of file mappi2_pld.h.

#define PLD_CFIMASK   __reg16(PLD_BASE + 0x0004)

Definition at line 33 of file mappi2_pld.h.

#define PLD_CFRSTCR   __reg16(PLD_BASE + 0x0000)

Definition at line 31 of file mappi2_pld.h.

#define PLD_CFSTS   __reg16(PLD_BASE + 0x0002)

Definition at line 32 of file mappi2_pld.h.

#define PLD_CPCR   __reg16(PLD_BASE + 0x14000)

Definition at line 53 of file mappi2_pld.h.

#define PLD_CRC16ADATA   __reg16(PLD_BASE + 0x18008)

Definition at line 104 of file mappi2_pld.h.

#define PLD_CRC16AINDATA   __reg16(PLD_BASE + 0x1800a)

Definition at line 105 of file mappi2_pld.h.

#define PLD_CRC16DATA   __reg16(PLD_BASE + 0x18004)

Definition at line 102 of file mappi2_pld.h.

#define PLD_CRC16INDATA   __reg16(PLD_BASE + 0x18006)

Definition at line 103 of file mappi2_pld.h.

#define PLD_CRC7DATA   __reg16(PLD_BASE + 0x18000)

Definition at line 100 of file mappi2_pld.h.

#define PLD_CRC7INDATA   __reg16(PLD_BASE + 0x18002)

Definition at line 101 of file mappi2_pld.h.

#define PLD_IRQ_CFC_EJECT   (42) /* CFC Card Eject */

Definition at line 62 of file mappi2_pld.h.

#define PLD_IRQ_CFC_INSERT   (41) /* CFC Card Insert */

Definition at line 61 of file mappi2_pld.h.

#define PLD_IRQ_CFIREQ   (40) /* CFC Card Interrupt */

Definition at line 60 of file mappi2_pld.h.

#define PLD_IRQ_MMCCARD   (43) /* MMC Card Insert */

Definition at line 63 of file mappi2_pld.h.

#define PLD_IRQ_MMCIRQ   (44) /* MMC Transfer Done */

Definition at line 64 of file mappi2_pld.h.

#define PLD_MMCBAUR   __reg16(PLD_BASE + 0x400a)

Definition at line 42 of file mappi2_pld.h.

#define PLD_MMCCDTBCUT   __reg16(PLD_BASE + 0x400e)

Definition at line 44 of file mappi2_pld.h.

#define PLD_MMCCMDBCUT   __reg16(PLD_BASE + 0x400c)

Definition at line 43 of file mappi2_pld.h.

#define PLD_MMCCMDDATA   __reg16(PLD_BASE + 0x7000)

Definition at line 49 of file mappi2_pld.h.

#define PLD_MMCCR   __reg16(PLD_BASE + 0x4000)

Definition at line 39 of file mappi2_pld.h.

#define PLD_MMCDET   __reg16(PLD_BASE + 0x4010)

Definition at line 45 of file mappi2_pld.h.

#define PLD_MMCMOD   __reg16(PLD_BASE + 0x4002)

Definition at line 40 of file mappi2_pld.h.

#define PLD_MMCRDATA   __reg16(PLD_BASE + 0x6000)

Definition at line 48 of file mappi2_pld.h.

#define PLD_MMCRSPDATA   __reg16(PLD_BASE + 0x7006)

Definition at line 50 of file mappi2_pld.h.

#define PLD_MMCSTS   __reg16(PLD_BASE + 0x4006)

Definition at line 41 of file mappi2_pld.h.

#define PLD_MMCWDATA   __reg16(PLD_BASE + 0x5000)

Definition at line 47 of file mappi2_pld.h.

#define PLD_MMCWP   __reg16(PLD_BASE + 0x4012)

Definition at line 46 of file mappi2_pld.h.