summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/tmio_mmc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-01-13 04:57:33 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2015-01-20 10:22:09 +0100
commit7ecc09bab1e856e6730a4dd8a3bc1c28bb6ab3be (patch)
tree28bd3e18cf937772d289510546be20876ae356a2 /drivers/mmc/host/tmio_mmc.h
parent94b110aff8679b14f46fd6653ea87b42fe1555be (diff)
mmc: tmio: tmio_mmc_host has .dma
Current .dma is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r--drivers/mmc/host/tmio_mmc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index 60d6747f0df5..49a2559ff489 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -40,6 +40,16 @@
struct tmio_mmc_data;
+struct tmio_mmc_dma {
+ void *chan_priv_tx;
+ void *chan_priv_rx;
+ int slave_id_tx;
+ int slave_id_rx;
+ int alignment_shift;
+ dma_addr_t dma_rx_offset;
+ bool (*filter)(struct dma_chan *chan, void *arg);
+};
+
struct tmio_mmc_host {
void __iomem *ctl;
struct mmc_command *cmd;
@@ -59,6 +69,7 @@ struct tmio_mmc_host {
struct platform_device *pdev;
struct tmio_mmc_data *pdata;
+ struct tmio_mmc_dma *dma;
/* DMA support */
bool force_pio;