Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
dw_mmc.h File Reference
#include <linux/scatterlist.h>

Go to the source code of this file.

Data Structures

struct  dw_mci
 
struct  dw_mci_dma_ops
 
struct  block_settings
 
struct  dw_mci_board
 

Macros

#define MAX_MCI_SLOTS   2
 
#define DW_MCI_QUIRK_IDMAC_DTO   BIT(0)
 
#define DW_MCI_QUIRK_RETRY_DELAY   BIT(1)
 
#define DW_MCI_QUIRK_HIGHSPEED   BIT(2)
 
#define DW_MCI_QUIRK_BROKEN_CARD_DETECTION   BIT(3)
 
#define DW_MCI_QUIRK_NO_WRITE_PROTECT   BIT(4)
 

Enumerations

enum  dw_mci_state {
  STATE_IDLE = 0, STATE_SENDING_CMD, STATE_SENDING_DATA, STATE_DATA_BUSY,
  STATE_SENDING_STOP, STATE_DATA_ERROR
}
 
enum  {
  EVENT_CMD_COMPLETE = 0, EVENT_XFER_COMPLETE, EVENT_DATA_COMPLETE, EVENT_DATA_ERROR,
  EVENT_XFER_ERROR
}
 

Macro Definition Documentation

#define DW_MCI_QUIRK_BROKEN_CARD_DETECTION   BIT(3)

Definition at line 211 of file dw_mmc.h.

#define DW_MCI_QUIRK_HIGHSPEED   BIT(2)

Definition at line 209 of file dw_mmc.h.

#define DW_MCI_QUIRK_IDMAC_DTO   BIT(0)

Definition at line 205 of file dw_mmc.h.

#define DW_MCI_QUIRK_NO_WRITE_PROTECT   BIT(4)

Definition at line 213 of file dw_mmc.h.

#define DW_MCI_QUIRK_RETRY_DELAY   BIT(1)

Definition at line 207 of file dw_mmc.h.

#define MAX_MCI_SLOTS   2

Definition at line 19 of file dw_mmc.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
EVENT_CMD_COMPLETE 
EVENT_XFER_COMPLETE 
EVENT_DATA_COMPLETE 
EVENT_DATA_ERROR 
EVENT_XFER_ERROR 

Definition at line 30 of file dw_mmc.h.

Enumerator:
STATE_IDLE 
STATE_SENDING_CMD 
STATE_SENDING_DATA 
STATE_DATA_BUSY 
STATE_SENDING_STOP 
STATE_DATA_ERROR 

Definition at line 21 of file dw_mmc.h.