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

Go to the source code of this file.

Macros

#define CTL_SD_CMD   0x00
 
#define CTL_ARG_REG   0x04
 
#define CTL_STOP_INTERNAL_ACTION   0x08
 
#define CTL_XFER_BLK_COUNT   0xa
 
#define CTL_RESPONSE   0x0c
 
#define CTL_STATUS   0x1c
 
#define CTL_STATUS2   0x1e
 
#define CTL_IRQ_MASK   0x20
 
#define CTL_SD_CARD_CLK_CTL   0x24
 
#define CTL_SD_XFER_LEN   0x26
 
#define CTL_SD_MEM_CARD_OPT   0x28
 
#define CTL_SD_ERROR_DETAIL_STATUS   0x2c
 
#define CTL_SD_DATA_PORT   0x30
 
#define CTL_TRANSACTION_CTL   0x34
 
#define CTL_SDIO_STATUS   0x36
 
#define CTL_SDIO_IRQ_MASK   0x38
 
#define CTL_DMA_ENABLE   0xd8
 
#define CTL_RESET_SD   0xe0
 
#define CTL_SDIO_REGS   0x100
 
#define CTL_CLK_AND_WAIT_CTL   0x138
 
#define CTL_RESET_SDIO   0x1e0
 
#define TMIO_STAT_CMDRESPEND   0x00000001
 
#define TMIO_STAT_DATAEND   0x00000004
 
#define TMIO_STAT_CARD_REMOVE   0x00000008
 
#define TMIO_STAT_CARD_INSERT   0x00000010
 
#define TMIO_STAT_SIGSTATE   0x00000020
 
#define TMIO_STAT_WRPROTECT   0x00000080
 
#define TMIO_STAT_CARD_REMOVE_A   0x00000100
 
#define TMIO_STAT_CARD_INSERT_A   0x00000200
 
#define TMIO_STAT_SIGSTATE_A   0x00000400
 
#define TMIO_STAT_CMD_IDX_ERR   0x00010000
 
#define TMIO_STAT_CRCFAIL   0x00020000
 
#define TMIO_STAT_STOPBIT_ERR   0x00040000
 
#define TMIO_STAT_DATATIMEOUT   0x00080000
 
#define TMIO_STAT_RXOVERFLOW   0x00100000
 
#define TMIO_STAT_TXUNDERRUN   0x00200000
 
#define TMIO_STAT_CMDTIMEOUT   0x00400000
 
#define TMIO_STAT_RXRDY   0x01000000
 
#define TMIO_STAT_TXRQ   0x02000000
 
#define TMIO_STAT_ILL_FUNC   0x20000000
 
#define TMIO_STAT_CMD_BUSY   0x40000000
 
#define TMIO_STAT_ILL_ACCESS   0x80000000
 
#define TMIO_BBS   512 /* Boot block size */
 

Macro Definition Documentation

#define CTL_ARG_REG   0x04

Definition at line 19 of file tmio.h.

#define CTL_CLK_AND_WAIT_CTL   0x138

Definition at line 37 of file tmio.h.

#define CTL_DMA_ENABLE   0xd8

Definition at line 34 of file tmio.h.

#define CTL_IRQ_MASK   0x20

Definition at line 25 of file tmio.h.

#define CTL_RESET_SD   0xe0

Definition at line 35 of file tmio.h.

#define CTL_RESET_SDIO   0x1e0

Definition at line 38 of file tmio.h.

#define CTL_RESPONSE   0x0c

Definition at line 22 of file tmio.h.

#define CTL_SD_CARD_CLK_CTL   0x24

Definition at line 26 of file tmio.h.

#define CTL_SD_CMD   0x00

Definition at line 18 of file tmio.h.

#define CTL_SD_DATA_PORT   0x30

Definition at line 30 of file tmio.h.

#define CTL_SD_ERROR_DETAIL_STATUS   0x2c

Definition at line 29 of file tmio.h.

#define CTL_SD_MEM_CARD_OPT   0x28

Definition at line 28 of file tmio.h.

#define CTL_SD_XFER_LEN   0x26

Definition at line 27 of file tmio.h.

#define CTL_SDIO_IRQ_MASK   0x38

Definition at line 33 of file tmio.h.

#define CTL_SDIO_REGS   0x100

Definition at line 36 of file tmio.h.

#define CTL_SDIO_STATUS   0x36

Definition at line 32 of file tmio.h.

#define CTL_STATUS   0x1c

Definition at line 23 of file tmio.h.

#define CTL_STATUS2   0x1e

Definition at line 24 of file tmio.h.

#define CTL_STOP_INTERNAL_ACTION   0x08

Definition at line 20 of file tmio.h.

#define CTL_TRANSACTION_CTL   0x34

Definition at line 31 of file tmio.h.

#define CTL_XFER_BLK_COUNT   0xa

Definition at line 21 of file tmio.h.

#define TMIO_BBS   512 /* Boot block size */

Definition at line 63 of file tmio.h.

#define TMIO_STAT_CARD_INSERT   0x00000010

Definition at line 44 of file tmio.h.

#define TMIO_STAT_CARD_INSERT_A   0x00000200

Definition at line 48 of file tmio.h.

#define TMIO_STAT_CARD_REMOVE   0x00000008

Definition at line 43 of file tmio.h.

#define TMIO_STAT_CARD_REMOVE_A   0x00000100

Definition at line 47 of file tmio.h.

#define TMIO_STAT_CMD_BUSY   0x40000000

Definition at line 60 of file tmio.h.

#define TMIO_STAT_CMD_IDX_ERR   0x00010000

Definition at line 50 of file tmio.h.

#define TMIO_STAT_CMDRESPEND   0x00000001

Definition at line 41 of file tmio.h.

#define TMIO_STAT_CMDTIMEOUT   0x00400000

Definition at line 56 of file tmio.h.

#define TMIO_STAT_CRCFAIL   0x00020000

Definition at line 51 of file tmio.h.

#define TMIO_STAT_DATAEND   0x00000004

Definition at line 42 of file tmio.h.

#define TMIO_STAT_DATATIMEOUT   0x00080000

Definition at line 53 of file tmio.h.

#define TMIO_STAT_ILL_ACCESS   0x80000000

Definition at line 61 of file tmio.h.

#define TMIO_STAT_ILL_FUNC   0x20000000

Definition at line 59 of file tmio.h.

#define TMIO_STAT_RXOVERFLOW   0x00100000

Definition at line 54 of file tmio.h.

#define TMIO_STAT_RXRDY   0x01000000

Definition at line 57 of file tmio.h.

#define TMIO_STAT_SIGSTATE   0x00000020

Definition at line 45 of file tmio.h.

#define TMIO_STAT_SIGSTATE_A   0x00000400

Definition at line 49 of file tmio.h.

#define TMIO_STAT_STOPBIT_ERR   0x00040000

Definition at line 52 of file tmio.h.

#define TMIO_STAT_TXRQ   0x02000000

Definition at line 58 of file tmio.h.

#define TMIO_STAT_TXUNDERRUN   0x00200000

Definition at line 55 of file tmio.h.

#define TMIO_STAT_WRPROTECT   0x00000080

Definition at line 46 of file tmio.h.