aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/core.h3
-rw-r--r--include/linux/mmc/host.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h
index d0fbcacab52c..64e013f1cfb8 100644
--- a/include/linux/mmc/core.h
+++ b/include/linux/mmc/core.h
@@ -109,7 +109,6 @@ struct mmc_data {
109#define MMC_DATA_WRITE (1 << 8) 109#define MMC_DATA_WRITE (1 << 8)
110#define MMC_DATA_READ (1 << 9) 110#define MMC_DATA_READ (1 << 9)
111#define MMC_DATA_STREAM (1 << 10) 111#define MMC_DATA_STREAM (1 << 10)
112#define MMC_DDR_MODE (1 << 11)
113 112
114 unsigned int bytes_xfered; 113 unsigned int bytes_xfered;
115 114
@@ -154,6 +153,8 @@ extern int mmc_can_secure_erase_trim(struct mmc_card *card);
154extern int mmc_erase_group_aligned(struct mmc_card *card, unsigned int from, 153extern int mmc_erase_group_aligned(struct mmc_card *card, unsigned int from,
155 unsigned int nr); 154 unsigned int nr);
156 155
156extern int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen);
157
157extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *); 158extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *);
158extern unsigned int mmc_align_data_size(struct mmc_card *, unsigned int); 159extern unsigned int mmc_align_data_size(struct mmc_card *, unsigned int);
159 160
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 6711eb8715ba..c4fb1c5efc44 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -50,6 +50,11 @@ struct mmc_ios {
50#define MMC_TIMING_LEGACY 0 50#define MMC_TIMING_LEGACY 0
51#define MMC_TIMING_MMC_HS 1 51#define MMC_TIMING_MMC_HS 1
52#define MMC_TIMING_SD_HS 2 52#define MMC_TIMING_SD_HS 2
53
54 unsigned char ddr; /* dual data rate used */
55
56#define MMC_SDR_MODE 0
57#define MMC_DDR_MODE 1
53}; 58};
54 59
55struct mmc_host_ops { 60struct mmc_host_ops {