From 1bf286df5c137b5b584001f946379cdce2640676 Mon Sep 17 00:00:00 2001 From: Tony Lin Date: Mon, 27 Feb 2012 15:53:02 +0800 Subject: 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 --- include/linux/mmc/sdhci.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 #include +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 */ -- cgit v1.2.3