summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsldma.h
diff options
context:
space:
mode:
authorWen He <wen.he_1@nxp.com>2018-10-30 10:35:58 +0800
committerVinod Koul <vkoul@kernel.org>2019-01-07 09:50:16 +0530
commita7359e762fdd6eea432fefd9d38851540192e7e3 (patch)
tree37a5cf2283e5b4fc048ca17aa32d63d83c320d31 /drivers/dma/fsldma.h
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-a7359e762fdd6eea432fefd9d38851540192e7e3.tar.gz
linux-a7359e762fdd6eea432fefd9d38851540192e7e3.tar.bz2
linux-a7359e762fdd6eea432fefd9d38851540192e7e3.zip
dmaengine: fsldma: Replace DMA_IN/OUT by FSL_DMA_IN/OUT
This patch implement a standard macro call functions is used to NXP dma drivers. Signed-off-by: Wen He <wen.he_1@nxp.com> Signed-off-by: Peng Ma <peng.ma@nxp.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsldma.h')
-rw-r--r--drivers/dma/fsldma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/fsldma.h b/drivers/dma/fsldma.h
index 4787d485dd76..982845b830c7 100644
--- a/drivers/dma/fsldma.h
+++ b/drivers/dma/fsldma.h
@@ -223,10 +223,10 @@ static void out_le64(u64 __iomem *addr, u64 val)
}
#endif
-#define DMA_IN(fsl_chan, addr, width) \
+#define FSL_DMA_IN(fsl_chan, addr, width) \
(((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \
in_be##width(addr) : in_le##width(addr))
-#define DMA_OUT(fsl_chan, addr, val, width) \
+#define FSL_DMA_OUT(fsl_chan, addr, val, width) \
(((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \
out_be##width(addr, val) : out_le##width(addr, val))