Lines Matching full:edma

153 	struct fsl_edma_engine		*edma;  member
252 return fsl_chan->edma->drvdata->flags; in fsl_edma_drvflags()
257 __iomem __le64 : edma_readq(chan->edma, &(_tcd)->__name), \
258 __iomem __le32 : edma_readl(chan->edma, &(_tcd)->__name), \
259 __iomem __le16 : edma_readw(chan->edma, &(_tcd)->__name) \
270 __iomem __le64 : edma_writeq(chan->edma, (u64 __force)(_val), &_tcd->__name), \
271 __iomem __le32 : edma_writel(chan->edma, (u32 __force)(_val), &_tcd->__name), \
272 __iomem __le16 : edma_writew(chan->edma, (u16 __force)(_val), &_tcd->__name), \
273 __iomem u8 : edma_writeb(chan->edma, _val, &_tcd->__name) \
301 edma_readl(chan->edma, \
306 edma_writel(chan->edma, val, \
342 #include "fsl-edma-trace.h"
346 * The eDMA controller's endian is independent of the CPU core's endian.
350 static inline u64 edma_readq(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readq() argument
354 if (edma->big_endian) { in edma_readq()
362 trace_edma_readl(edma, addr, l); in edma_readq()
363 trace_edma_readl(edma, addr + 4, h); in edma_readq()
368 static inline u32 edma_readl(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readl() argument
372 if (edma->big_endian) in edma_readl()
377 trace_edma_readl(edma, addr, val); in edma_readl()
382 static inline u16 edma_readw(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readw() argument
386 if (edma->big_endian) in edma_readw()
391 trace_edma_readw(edma, addr, val); in edma_readw()
396 static inline void edma_writeb(struct fsl_edma_engine *edma, in edma_writeb() argument
400 if (edma->big_endian) in edma_writeb()
405 trace_edma_writeb(edma, addr, val); in edma_writeb()
408 static inline void edma_writew(struct fsl_edma_engine *edma, in edma_writew() argument
412 if (edma->big_endian) in edma_writew()
417 trace_edma_writew(edma, addr, val); in edma_writew()
420 static inline void edma_writel(struct fsl_edma_engine *edma, in edma_writel() argument
423 if (edma->big_endian) in edma_writel()
428 trace_edma_writel(edma, addr, val); in edma_writel()
431 static inline void edma_writeq(struct fsl_edma_engine *edma, in edma_writeq() argument
434 if (edma->big_endian) { in edma_writeq()
442 trace_edma_writel(edma, addr, val & 0xFFFFFFFF); in edma_writeq()
443 trace_edma_writel(edma, addr + 4, val >> 32); in edma_writeq()
489 void fsl_edma_setup_regs(struct fsl_edma_engine *edma);