summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2012-02-27 15:53:02 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:44:10 -0700
commitf8e33745fdefd78a81d4cb28b6a08ddc14d867df (patch)
tree092a89f01d62a4558c01fbc5ee7c54a4c199ba7a /include
parent30e2bf1de9bed47e691b4fbc40e6cb91f2d6fc7a (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 */