summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2012-02-27 15:53:02 +0800
committerTony Lin <tony.lin@freescale.com>2012-03-07 14:26:20 +0800
commitba81de88099550576886d3bc242bc843fe387ed3 (patch)
tree02e5dfd6be476fd0f6fc0188019237ead88cf266 /include
parent8a039e5df30dbb88bda7f5f2eb3a35f6d2a07b84 (diff)
ENGR00175864 [MMC]pipeline mmc requests
the patch is based on a series of patches by Per Forlin the patch is sdhci host side implementation. using a toshiba SDHC3.0 card, the performance increases from 48.5MB/s to 52.4MB/s. cmd: dd if=/dev/mmcblk0 of=/dev/null bs=1M count=500 the performance results running@1GHz, 200MHz CPU freq are: 52.4MB/s -> 20.7MB/s Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/sdhci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index d73ed4622881..d9dca2739cb5 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -17,6 +17,11 @@
#include <linux/io.h>
#include <linux/mmc/host.h>
+struct sdhci_host_next {
+ unsigned int dma_len;
+ s32 cookie;
+};
+
struct sdhci_host {
/* Data set by hardware interface driver */
const char *hw_name; /* Hardware bus name */
@@ -166,6 +171,7 @@ struct sdhci_host {
struct delayed_work clk_worker; /* Clock delayed worker */
unsigned int clk_mgr_en;
unsigned int clk_status;
+ struct sdhci_host_next next_data;
unsigned long private[0] ____cacheline_aligned;
};
#endif /* __SDHCI_H */