Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mmci.h
Go to the documentation of this file.
1 /*
2  * include/linux/amba/mmci.h
3  */
4 #ifndef AMBA_MMCI_H
5 #define AMBA_MMCI_H
6 
7 #include <linux/mmc/host.h>
8 
9 
10 /*
11  * These defines is places here due to access is needed from machine
12  * configuration files. The ST Micro version does not have ROD and
13  * reuse the voltage registers for direction settings.
14  */
15 #define MCI_ST_DATA2DIREN (1 << 2)
16 #define MCI_ST_CMDDIREN (1 << 3)
17 #define MCI_ST_DATA0DIREN (1 << 4)
18 #define MCI_ST_DATA31DIREN (1 << 5)
19 #define MCI_ST_FBCLKEN (1 << 7)
20 #define MCI_ST_DATA74DIREN (1 << 8)
21 
22 /* Just some dummy forwarding */
23 struct dma_chan;
24 
63  unsigned int f_max;
64  unsigned int ocr_mask;
65  int (*ios_handler)(struct device *, struct mmc_ios *);
66  unsigned int (*status)(struct device *);
67  int gpio_wp;
68  int gpio_cd;
69  bool cd_invert;
70  unsigned long capabilities;
71  unsigned long capabilities2;
73  bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
74  void *dma_rx_param;
75  void *dma_tx_param;
76 };
77 
78 #endif