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

Go to the source code of this file.

Macros

#define MMC_STRPCL   0x0000
 
#define STOP_CLOCK   (1 << 0)
 
#define START_CLOCK   (2 << 0)
 
#define MMC_STAT   0x0004
 
#define STAT_END_CMD_RES   (1 << 13)
 
#define STAT_PRG_DONE   (1 << 12)
 
#define STAT_DATA_TRAN_DONE   (1 << 11)
 
#define STAT_CLK_EN   (1 << 8)
 
#define STAT_RECV_FIFO_FULL   (1 << 7)
 
#define STAT_XMIT_FIFO_EMPTY   (1 << 6)
 
#define STAT_RES_CRC_ERR   (1 << 5)
 
#define STAT_SPI_READ_ERROR_TOKEN   (1 << 4)
 
#define STAT_CRC_READ_ERROR   (1 << 3)
 
#define STAT_CRC_WRITE_ERROR   (1 << 2)
 
#define STAT_TIME_OUT_RESPONSE   (1 << 1)
 
#define STAT_READ_TIME_OUT   (1 << 0)
 
#define MMC_CLKRT   0x0008 /* 3 bit */
 
#define MMC_SPI   0x000c
 
#define SPI_CS_ADDRESS   (1 << 3)
 
#define SPI_CS_EN   (1 << 2)
 
#define CRC_ON   (1 << 1)
 
#define SPI_EN   (1 << 0)
 
#define MMC_CMDAT   0x0010
 
#define CMDAT_SDIO_INT_EN   (1 << 11)
 
#define CMDAT_SD_4DAT   (1 << 8)
 
#define CMDAT_DMAEN   (1 << 7)
 
#define CMDAT_INIT   (1 << 6)
 
#define CMDAT_BUSY   (1 << 5)
 
#define CMDAT_STREAM   (1 << 4) /* 1 = stream */
 
#define CMDAT_WRITE   (1 << 3) /* 1 = write */
 
#define CMDAT_DATAEN   (1 << 2)
 
#define CMDAT_RESP_NONE   (0 << 0)
 
#define CMDAT_RESP_SHORT   (1 << 0)
 
#define CMDAT_RESP_R2   (2 << 0)
 
#define CMDAT_RESP_R3   (3 << 0)
 
#define MMC_RESTO   0x0014 /* 7 bit */
 
#define MMC_RDTO   0x0018 /* 16 bit */
 
#define MMC_BLKLEN   0x001c /* 10 bit */
 
#define MMC_NOB   0x0020 /* 16 bit */
 
#define MMC_PRTBUF   0x0024
 
#define BUF_PART_FULL   (1 << 0)
 
#define MMC_I_MASK   0x0028
 
#define SDIO_SUSPEND_ACK   (1 << 12)
 
#define SDIO_INT   (1 << 11)
 
#define RD_STALLED   (1 << 10)
 
#define RES_ERR   (1 << 9)
 
#define DAT_ERR   (1 << 8)
 
#define TINT   (1 << 7)
 
#define TXFIFO_WR_REQ   (1 << 6)
 
#define RXFIFO_RD_REQ   (1 << 5)
 
#define CLK_IS_OFF   (1 << 4)
 
#define STOP_CMD   (1 << 3)
 
#define END_CMD_RES   (1 << 2)
 
#define PRG_DONE   (1 << 1)
 
#define DATA_TRAN_DONE   (1 << 0)
 
#define MMC_I_MASK_ALL   0x0000007f
 
#define MMC_I_REG   0x002c
 
#define MMC_CMD   0x0030
 
#define MMC_ARGH   0x0034 /* 16 bit */
 
#define MMC_ARGL   0x0038 /* 16 bit */
 
#define MMC_RES   0x003c /* 16 bit */
 
#define MMC_RXFIFO   0x0040 /* 8 bit */
 
#define MMC_TXFIFO   0x0044 /* 8 bit */
 

Macro Definition Documentation

#define BUF_PART_FULL   (1 << 0)

Definition at line 50 of file pxamci.h.

#define CLK_IS_OFF   (1 << 4)

Definition at line 65 of file pxamci.h.

#define CMDAT_BUSY   (1 << 5)

Definition at line 32 of file pxamci.h.

#define CMDAT_DATAEN   (1 << 2)

Definition at line 35 of file pxamci.h.

#define CMDAT_DMAEN   (1 << 7)

Definition at line 30 of file pxamci.h.

#define CMDAT_INIT   (1 << 6)

Definition at line 31 of file pxamci.h.

#define CMDAT_RESP_NONE   (0 << 0)

Definition at line 36 of file pxamci.h.

#define CMDAT_RESP_R2   (2 << 0)

Definition at line 38 of file pxamci.h.

#define CMDAT_RESP_R3   (3 << 0)

Definition at line 39 of file pxamci.h.

#define CMDAT_RESP_SHORT   (1 << 0)

Definition at line 37 of file pxamci.h.

#define CMDAT_SD_4DAT   (1 << 8)

Definition at line 29 of file pxamci.h.

#define CMDAT_SDIO_INT_EN   (1 << 11)

Definition at line 28 of file pxamci.h.

#define CMDAT_STREAM   (1 << 4) /* 1 = stream */

Definition at line 33 of file pxamci.h.

#define CMDAT_WRITE   (1 << 3) /* 1 = write */

Definition at line 34 of file pxamci.h.

#define CRC_ON   (1 << 1)

Definition at line 24 of file pxamci.h.

#define DAT_ERR   (1 << 8)

Definition at line 59 of file pxamci.h.

#define DATA_TRAN_DONE   (1 << 0)

Definition at line 69 of file pxamci.h.

#define END_CMD_RES   (1 << 2)

Definition at line 67 of file pxamci.h.

#define MMC_ARGH   0x0034 /* 16 bit */

Definition at line 82 of file pxamci.h.

#define MMC_ARGL   0x0038 /* 16 bit */

Definition at line 84 of file pxamci.h.

#define MMC_BLKLEN   0x001c /* 10 bit */

Definition at line 45 of file pxamci.h.

#define MMC_CLKRT   0x0008 /* 3 bit */

Definition at line 19 of file pxamci.h.

#define MMC_CMD   0x0030

Definition at line 80 of file pxamci.h.

#define MMC_CMDAT   0x0010

Definition at line 27 of file pxamci.h.

#define MMC_I_MASK   0x0028

Definition at line 52 of file pxamci.h.

#define MMC_I_MASK_ALL   0x0000007f

Definition at line 74 of file pxamci.h.

#define MMC_I_REG   0x002c

Definition at line 77 of file pxamci.h.

#define MMC_NOB   0x0020 /* 16 bit */

Definition at line 47 of file pxamci.h.

#define MMC_PRTBUF   0x0024

Definition at line 49 of file pxamci.h.

#define MMC_RDTO   0x0018 /* 16 bit */

Definition at line 43 of file pxamci.h.

#define MMC_RES   0x003c /* 16 bit */

Definition at line 86 of file pxamci.h.

#define MMC_RESTO   0x0014 /* 7 bit */

Definition at line 41 of file pxamci.h.

#define MMC_RXFIFO   0x0040 /* 8 bit */

Definition at line 88 of file pxamci.h.

#define MMC_SPI   0x000c

Definition at line 21 of file pxamci.h.

#define MMC_STAT   0x0004

Definition at line 5 of file pxamci.h.

#define MMC_STRPCL   0x0000

Definition at line 1 of file pxamci.h.

#define MMC_TXFIFO   0x0044 /* 8 bit */

Definition at line 90 of file pxamci.h.

#define PRG_DONE   (1 << 1)

Definition at line 68 of file pxamci.h.

#define RD_STALLED   (1 << 10)

Definition at line 57 of file pxamci.h.

#define RES_ERR   (1 << 9)

Definition at line 58 of file pxamci.h.

#define RXFIFO_RD_REQ   (1 << 5)

Definition at line 64 of file pxamci.h.

#define SDIO_INT   (1 << 11)

Definition at line 56 of file pxamci.h.

#define SDIO_SUSPEND_ACK   (1 << 12)

Definition at line 55 of file pxamci.h.

#define SPI_CS_ADDRESS   (1 << 3)

Definition at line 22 of file pxamci.h.

#define SPI_CS_EN   (1 << 2)

Definition at line 23 of file pxamci.h.

#define SPI_EN   (1 << 0)

Definition at line 25 of file pxamci.h.

#define START_CLOCK   (2 << 0)

Definition at line 3 of file pxamci.h.

#define STAT_CLK_EN   (1 << 8)

Definition at line 9 of file pxamci.h.

#define STAT_CRC_READ_ERROR   (1 << 3)

Definition at line 14 of file pxamci.h.

#define STAT_CRC_WRITE_ERROR   (1 << 2)

Definition at line 15 of file pxamci.h.

#define STAT_DATA_TRAN_DONE   (1 << 11)

Definition at line 8 of file pxamci.h.

#define STAT_END_CMD_RES   (1 << 13)

Definition at line 6 of file pxamci.h.

#define STAT_PRG_DONE   (1 << 12)

Definition at line 7 of file pxamci.h.

#define STAT_READ_TIME_OUT   (1 << 0)

Definition at line 17 of file pxamci.h.

#define STAT_RECV_FIFO_FULL   (1 << 7)

Definition at line 10 of file pxamci.h.

#define STAT_RES_CRC_ERR   (1 << 5)

Definition at line 12 of file pxamci.h.

#define STAT_SPI_READ_ERROR_TOKEN   (1 << 4)

Definition at line 13 of file pxamci.h.

#define STAT_TIME_OUT_RESPONSE   (1 << 1)

Definition at line 16 of file pxamci.h.

#define STAT_XMIT_FIFO_EMPTY   (1 << 6)

Definition at line 11 of file pxamci.h.

#define STOP_CLOCK   (1 << 0)

Definition at line 2 of file pxamci.h.

#define STOP_CMD   (1 << 3)

Definition at line 66 of file pxamci.h.

#define TINT   (1 << 7)

Definition at line 60 of file pxamci.h.

#define TXFIFO_WR_REQ   (1 << 6)

Definition at line 63 of file pxamci.h.