diff options
author | Tony Lin <tony.lin@freescale.com> | 2012-02-27 15:53:02 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:23:46 +0800 |
commit | 1bf286df5c137b5b584001f946379cdce2640676 (patch) | |
tree | cfbfb7b5f76d1bf6b1257c6e3ac93a0dfea03529 /include | |
parent | dc4541aab2360a65a2207f28b6bd010f650cb0a8 (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.h | 6 |
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 */ |