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

Go to the source code of this file.

Macros

#define __ASM_ARM_REGS_SDI   "regs-sdi.h"
 
#define S3C2410_SDICON   (0x00)
 
#define S3C2410_SDIPRE   (0x04)
 
#define S3C2410_SDICMDARG   (0x08)
 
#define S3C2410_SDICMDCON   (0x0C)
 
#define S3C2410_SDICMDSTAT   (0x10)
 
#define S3C2410_SDIRSP0   (0x14)
 
#define S3C2410_SDIRSP1   (0x18)
 
#define S3C2410_SDIRSP2   (0x1C)
 
#define S3C2410_SDIRSP3   (0x20)
 
#define S3C2410_SDITIMER   (0x24)
 
#define S3C2410_SDIBSIZE   (0x28)
 
#define S3C2410_SDIDCON   (0x2C)
 
#define S3C2410_SDIDCNT   (0x30)
 
#define S3C2410_SDIDSTA   (0x34)
 
#define S3C2410_SDIFSTA   (0x38)
 
#define S3C2410_SDIDATA   (0x3C)
 
#define S3C2410_SDIIMSK   (0x40)
 
#define S3C2440_SDIDATA   (0x40)
 
#define S3C2440_SDIIMSK   (0x3C)
 
#define S3C2440_SDICON_SDRESET   (1<<8)
 
#define S3C2440_SDICON_MMCCLOCK   (1<<5)
 
#define S3C2410_SDICON_BYTEORDER   (1<<4)
 
#define S3C2410_SDICON_SDIOIRQ   (1<<3)
 
#define S3C2410_SDICON_RWAITEN   (1<<2)
 
#define S3C2410_SDICON_FIFORESET   (1<<1)
 
#define S3C2410_SDICON_CLOCKTYPE   (1<<0)
 
#define S3C2410_SDICMDCON_ABORT   (1<<12)
 
#define S3C2410_SDICMDCON_WITHDATA   (1<<11)
 
#define S3C2410_SDICMDCON_LONGRSP   (1<<10)
 
#define S3C2410_SDICMDCON_WAITRSP   (1<<9)
 
#define S3C2410_SDICMDCON_CMDSTART   (1<<8)
 
#define S3C2410_SDICMDCON_SENDERHOST   (1<<6)
 
#define S3C2410_SDICMDCON_INDEX   (0x3f)
 
#define S3C2410_SDICMDSTAT_CRCFAIL   (1<<12)
 
#define S3C2410_SDICMDSTAT_CMDSENT   (1<<11)
 
#define S3C2410_SDICMDSTAT_CMDTIMEOUT   (1<<10)
 
#define S3C2410_SDICMDSTAT_RSPFIN   (1<<9)
 
#define S3C2410_SDICMDSTAT_XFERING   (1<<8)
 
#define S3C2410_SDICMDSTAT_INDEX   (0xff)
 
#define S3C2440_SDIDCON_DS_BYTE   (0<<22)
 
#define S3C2440_SDIDCON_DS_HALFWORD   (1<<22)
 
#define S3C2440_SDIDCON_DS_WORD   (2<<22)
 
#define S3C2410_SDIDCON_IRQPERIOD   (1<<21)
 
#define S3C2410_SDIDCON_TXAFTERRESP   (1<<20)
 
#define S3C2410_SDIDCON_RXAFTERCMD   (1<<19)
 
#define S3C2410_SDIDCON_BUSYAFTERCMD   (1<<18)
 
#define S3C2410_SDIDCON_BLOCKMODE   (1<<17)
 
#define S3C2410_SDIDCON_WIDEBUS   (1<<16)
 
#define S3C2410_SDIDCON_DMAEN   (1<<15)
 
#define S3C2410_SDIDCON_STOP   (1<<14)
 
#define S3C2440_SDIDCON_DATSTART   (1<<14)
 
#define S3C2410_SDIDCON_DATMODE   (3<<12)
 
#define S3C2410_SDIDCON_BLKNUM   (0x7ff)
 
#define S3C2410_SDIDCON_XFER_READY   (0<<12)
 
#define S3C2410_SDIDCON_XFER_CHKSTART   (1<<12)
 
#define S3C2410_SDIDCON_XFER_RXSTART   (2<<12)
 
#define S3C2410_SDIDCON_XFER_TXSTART   (3<<12)
 
#define S3C2410_SDIDCON_BLKNUM_MASK   (0xFFF)
 
#define S3C2410_SDIDCNT_BLKNUM_SHIFT   (12)
 
#define S3C2410_SDIDSTA_RDYWAITREQ   (1<<10)
 
#define S3C2410_SDIDSTA_SDIOIRQDETECT   (1<<9)
 
#define S3C2410_SDIDSTA_FIFOFAIL   (1<<8) /* reserved on 2440 */
 
#define S3C2410_SDIDSTA_CRCFAIL   (1<<7)
 
#define S3C2410_SDIDSTA_RXCRCFAIL   (1<<6)
 
#define S3C2410_SDIDSTA_DATATIMEOUT   (1<<5)
 
#define S3C2410_SDIDSTA_XFERFINISH   (1<<4)
 
#define S3C2410_SDIDSTA_BUSYFINISH   (1<<3)
 
#define S3C2410_SDIDSTA_SBITERR   (1<<2) /* reserved on 2410a/2440 */
 
#define S3C2410_SDIDSTA_TXDATAON   (1<<1)
 
#define S3C2410_SDIDSTA_RXDATAON   (1<<0)
 
#define S3C2440_SDIFSTA_FIFORESET   (1<<16)
 
#define S3C2440_SDIFSTA_FIFOFAIL   (3<<14) /* 3 is correct (2 bits) */
 
#define S3C2410_SDIFSTA_TFDET   (1<<13)
 
#define S3C2410_SDIFSTA_RFDET   (1<<12)
 
#define S3C2410_SDIFSTA_TFHALF   (1<<11)
 
#define S3C2410_SDIFSTA_TFEMPTY   (1<<10)
 
#define S3C2410_SDIFSTA_RFLAST   (1<<9)
 
#define S3C2410_SDIFSTA_RFFULL   (1<<8)
 
#define S3C2410_SDIFSTA_RFHALF   (1<<7)
 
#define S3C2410_SDIFSTA_COUNTMASK   (0x7f)
 
#define S3C2410_SDIIMSK_RESPONSECRC   (1<<17)
 
#define S3C2410_SDIIMSK_CMDSENT   (1<<16)
 
#define S3C2410_SDIIMSK_CMDTIMEOUT   (1<<15)
 
#define S3C2410_SDIIMSK_RESPONSEND   (1<<14)
 
#define S3C2410_SDIIMSK_READWAIT   (1<<13)
 
#define S3C2410_SDIIMSK_SDIOIRQ   (1<<12)
 
#define S3C2410_SDIIMSK_FIFOFAIL   (1<<11)
 
#define S3C2410_SDIIMSK_CRCSTATUS   (1<<10)
 
#define S3C2410_SDIIMSK_DATACRC   (1<<9)
 
#define S3C2410_SDIIMSK_DATATIMEOUT   (1<<8)
 
#define S3C2410_SDIIMSK_DATAFINISH   (1<<7)
 
#define S3C2410_SDIIMSK_BUSYFINISH   (1<<6)
 
#define S3C2410_SDIIMSK_SBITERR   (1<<5) /* reserved 2440/2410a */
 
#define S3C2410_SDIIMSK_TXFIFOHALF   (1<<4)
 
#define S3C2410_SDIIMSK_TXFIFOEMPTY   (1<<3)
 
#define S3C2410_SDIIMSK_RXFIFOLAST   (1<<2)
 
#define S3C2410_SDIIMSK_RXFIFOFULL   (1<<1)
 
#define S3C2410_SDIIMSK_RXFIFOHALF   (1<<0)
 

Macro Definition Documentation

#define __ASM_ARM_REGS_SDI   "regs-sdi.h"

Definition at line 14 of file regs-sdi.h.

#define S3C2410_SDIBSIZE   (0x28)

Definition at line 26 of file regs-sdi.h.

#define S3C2410_SDICMDARG   (0x08)

Definition at line 18 of file regs-sdi.h.

#define S3C2410_SDICMDCON   (0x0C)

Definition at line 19 of file regs-sdi.h.

#define S3C2410_SDICMDCON_ABORT   (1<<12)

Definition at line 46 of file regs-sdi.h.

#define S3C2410_SDICMDCON_CMDSTART   (1<<8)

Definition at line 50 of file regs-sdi.h.

#define S3C2410_SDICMDCON_INDEX   (0x3f)

Definition at line 52 of file regs-sdi.h.

#define S3C2410_SDICMDCON_LONGRSP   (1<<10)

Definition at line 48 of file regs-sdi.h.

#define S3C2410_SDICMDCON_SENDERHOST   (1<<6)

Definition at line 51 of file regs-sdi.h.

#define S3C2410_SDICMDCON_WAITRSP   (1<<9)

Definition at line 49 of file regs-sdi.h.

#define S3C2410_SDICMDCON_WITHDATA   (1<<11)

Definition at line 47 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT   (0x10)

Definition at line 20 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT_CMDSENT   (1<<11)

Definition at line 55 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT_CMDTIMEOUT   (1<<10)

Definition at line 56 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT_CRCFAIL   (1<<12)

Definition at line 54 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT_INDEX   (0xff)

Definition at line 59 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT_RSPFIN   (1<<9)

Definition at line 57 of file regs-sdi.h.

#define S3C2410_SDICMDSTAT_XFERING   (1<<8)

Definition at line 58 of file regs-sdi.h.

#define S3C2410_SDICON   (0x00)

Definition at line 16 of file regs-sdi.h.

#define S3C2410_SDICON_BYTEORDER   (1<<4)

Definition at line 40 of file regs-sdi.h.

#define S3C2410_SDICON_CLOCKTYPE   (1<<0)

Definition at line 44 of file regs-sdi.h.

#define S3C2410_SDICON_FIFORESET   (1<<1)

Definition at line 43 of file regs-sdi.h.

#define S3C2410_SDICON_RWAITEN   (1<<2)

Definition at line 42 of file regs-sdi.h.

#define S3C2410_SDICON_SDIOIRQ   (1<<3)

Definition at line 41 of file regs-sdi.h.

#define S3C2410_SDIDATA   (0x3C)

Definition at line 32 of file regs-sdi.h.

#define S3C2410_SDIDCNT   (0x30)

Definition at line 28 of file regs-sdi.h.

#define S3C2410_SDIDCNT_BLKNUM_SHIFT   (12)

Definition at line 83 of file regs-sdi.h.

#define S3C2410_SDIDCON   (0x2C)

Definition at line 27 of file regs-sdi.h.

#define S3C2410_SDIDCON_BLKNUM   (0x7ff)

Definition at line 74 of file regs-sdi.h.

#define S3C2410_SDIDCON_BLKNUM_MASK   (0xFFF)

Definition at line 82 of file regs-sdi.h.

#define S3C2410_SDIDCON_BLOCKMODE   (1<<17)

Definition at line 68 of file regs-sdi.h.

#define S3C2410_SDIDCON_BUSYAFTERCMD   (1<<18)

Definition at line 67 of file regs-sdi.h.

#define S3C2410_SDIDCON_DATMODE   (3<<12)

Definition at line 73 of file regs-sdi.h.

#define S3C2410_SDIDCON_DMAEN   (1<<15)

Definition at line 70 of file regs-sdi.h.

#define S3C2410_SDIDCON_IRQPERIOD   (1<<21)

Definition at line 64 of file regs-sdi.h.

#define S3C2410_SDIDCON_RXAFTERCMD   (1<<19)

Definition at line 66 of file regs-sdi.h.

#define S3C2410_SDIDCON_STOP   (1<<14)

Definition at line 71 of file regs-sdi.h.

#define S3C2410_SDIDCON_TXAFTERRESP   (1<<20)

Definition at line 65 of file regs-sdi.h.

#define S3C2410_SDIDCON_WIDEBUS   (1<<16)

Definition at line 69 of file regs-sdi.h.

#define S3C2410_SDIDCON_XFER_CHKSTART   (1<<12)

Definition at line 78 of file regs-sdi.h.

#define S3C2410_SDIDCON_XFER_READY   (0<<12)

Definition at line 77 of file regs-sdi.h.

#define S3C2410_SDIDCON_XFER_RXSTART   (2<<12)

Definition at line 79 of file regs-sdi.h.

#define S3C2410_SDIDCON_XFER_TXSTART   (3<<12)

Definition at line 80 of file regs-sdi.h.

#define S3C2410_SDIDSTA   (0x34)

Definition at line 29 of file regs-sdi.h.

#define S3C2410_SDIDSTA_BUSYFINISH   (1<<3)

Definition at line 92 of file regs-sdi.h.

#define S3C2410_SDIDSTA_CRCFAIL   (1<<7)

Definition at line 88 of file regs-sdi.h.

#define S3C2410_SDIDSTA_DATATIMEOUT   (1<<5)

Definition at line 90 of file regs-sdi.h.

#define S3C2410_SDIDSTA_FIFOFAIL   (1<<8) /* reserved on 2440 */

Definition at line 87 of file regs-sdi.h.

#define S3C2410_SDIDSTA_RDYWAITREQ   (1<<10)

Definition at line 85 of file regs-sdi.h.

#define S3C2410_SDIDSTA_RXCRCFAIL   (1<<6)

Definition at line 89 of file regs-sdi.h.

#define S3C2410_SDIDSTA_RXDATAON   (1<<0)

Definition at line 95 of file regs-sdi.h.

#define S3C2410_SDIDSTA_SBITERR   (1<<2) /* reserved on 2410a/2440 */

Definition at line 93 of file regs-sdi.h.

#define S3C2410_SDIDSTA_SDIOIRQDETECT   (1<<9)

Definition at line 86 of file regs-sdi.h.

#define S3C2410_SDIDSTA_TXDATAON   (1<<1)

Definition at line 94 of file regs-sdi.h.

#define S3C2410_SDIDSTA_XFERFINISH   (1<<4)

Definition at line 91 of file regs-sdi.h.

#define S3C2410_SDIFSTA   (0x38)

Definition at line 30 of file regs-sdi.h.

#define S3C2410_SDIFSTA_COUNTMASK   (0x7f)

Definition at line 106 of file regs-sdi.h.

#define S3C2410_SDIFSTA_RFDET   (1<<12)

Definition at line 100 of file regs-sdi.h.

#define S3C2410_SDIFSTA_RFFULL   (1<<8)

Definition at line 104 of file regs-sdi.h.

#define S3C2410_SDIFSTA_RFHALF   (1<<7)

Definition at line 105 of file regs-sdi.h.

#define S3C2410_SDIFSTA_RFLAST   (1<<9)

Definition at line 103 of file regs-sdi.h.

#define S3C2410_SDIFSTA_TFDET   (1<<13)

Definition at line 99 of file regs-sdi.h.

#define S3C2410_SDIFSTA_TFEMPTY   (1<<10)

Definition at line 102 of file regs-sdi.h.

#define S3C2410_SDIFSTA_TFHALF   (1<<11)

Definition at line 101 of file regs-sdi.h.

#define S3C2410_SDIIMSK   (0x40)

Definition at line 33 of file regs-sdi.h.

#define S3C2410_SDIIMSK_BUSYFINISH   (1<<6)

Definition at line 119 of file regs-sdi.h.

#define S3C2410_SDIIMSK_CMDSENT   (1<<16)

Definition at line 109 of file regs-sdi.h.

#define S3C2410_SDIIMSK_CMDTIMEOUT   (1<<15)

Definition at line 110 of file regs-sdi.h.

#define S3C2410_SDIIMSK_CRCSTATUS   (1<<10)

Definition at line 115 of file regs-sdi.h.

#define S3C2410_SDIIMSK_DATACRC   (1<<9)

Definition at line 116 of file regs-sdi.h.

#define S3C2410_SDIIMSK_DATAFINISH   (1<<7)

Definition at line 118 of file regs-sdi.h.

#define S3C2410_SDIIMSK_DATATIMEOUT   (1<<8)

Definition at line 117 of file regs-sdi.h.

#define S3C2410_SDIIMSK_FIFOFAIL   (1<<11)

Definition at line 114 of file regs-sdi.h.

#define S3C2410_SDIIMSK_READWAIT   (1<<13)

Definition at line 112 of file regs-sdi.h.

#define S3C2410_SDIIMSK_RESPONSECRC   (1<<17)

Definition at line 108 of file regs-sdi.h.

#define S3C2410_SDIIMSK_RESPONSEND   (1<<14)

Definition at line 111 of file regs-sdi.h.

#define S3C2410_SDIIMSK_RXFIFOFULL   (1<<1)

Definition at line 124 of file regs-sdi.h.

#define S3C2410_SDIIMSK_RXFIFOHALF   (1<<0)

Definition at line 125 of file regs-sdi.h.

#define S3C2410_SDIIMSK_RXFIFOLAST   (1<<2)

Definition at line 123 of file regs-sdi.h.

#define S3C2410_SDIIMSK_SBITERR   (1<<5) /* reserved 2440/2410a */

Definition at line 120 of file regs-sdi.h.

#define S3C2410_SDIIMSK_SDIOIRQ   (1<<12)

Definition at line 113 of file regs-sdi.h.

#define S3C2410_SDIIMSK_TXFIFOEMPTY   (1<<3)

Definition at line 122 of file regs-sdi.h.

#define S3C2410_SDIIMSK_TXFIFOHALF   (1<<4)

Definition at line 121 of file regs-sdi.h.

#define S3C2410_SDIPRE   (0x04)

Definition at line 17 of file regs-sdi.h.

#define S3C2410_SDIRSP0   (0x14)

Definition at line 21 of file regs-sdi.h.

#define S3C2410_SDIRSP1   (0x18)

Definition at line 22 of file regs-sdi.h.

#define S3C2410_SDIRSP2   (0x1C)

Definition at line 23 of file regs-sdi.h.

#define S3C2410_SDIRSP3   (0x20)

Definition at line 24 of file regs-sdi.h.

#define S3C2410_SDITIMER   (0x24)

Definition at line 25 of file regs-sdi.h.

#define S3C2440_SDICON_MMCCLOCK   (1<<5)

Definition at line 39 of file regs-sdi.h.

#define S3C2440_SDICON_SDRESET   (1<<8)

Definition at line 38 of file regs-sdi.h.

#define S3C2440_SDIDATA   (0x40)

Definition at line 35 of file regs-sdi.h.

#define S3C2440_SDIDCON_DATSTART   (1<<14)

Definition at line 72 of file regs-sdi.h.

#define S3C2440_SDIDCON_DS_BYTE   (0<<22)

Definition at line 61 of file regs-sdi.h.

#define S3C2440_SDIDCON_DS_HALFWORD   (1<<22)

Definition at line 62 of file regs-sdi.h.

#define S3C2440_SDIDCON_DS_WORD   (2<<22)

Definition at line 63 of file regs-sdi.h.

#define S3C2440_SDIFSTA_FIFOFAIL   (3<<14) /* 3 is correct (2 bits) */

Definition at line 98 of file regs-sdi.h.

#define S3C2440_SDIFSTA_FIFORESET   (1<<16)

Definition at line 97 of file regs-sdi.h.

#define S3C2440_SDIIMSK   (0x3C)

Definition at line 36 of file regs-sdi.h.