Home
last modified time | relevance | path

Searched refs:edma (Results 1 - 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/dma/
H A Dfsl-edma-common.c11 #include "fsl-edma-common.h"
47 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_enable_request()
50 if (fsl_chan->edma->drvdata->version == v1) { in fsl_edma_enable_request()
51 edma_writeb(fsl_chan->edma, EDMA_SEEI_SEEI(ch), regs->seei); in fsl_edma_enable_request()
52 edma_writeb(fsl_chan->edma, ch, regs->serq); in fsl_edma_enable_request()
64 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_disable_request()
67 if (fsl_chan->edma->drvdata->version == v1) { in fsl_edma_disable_request()
68 edma_writeb(fsl_chan->edma, ch, regs->cerq); in fsl_edma_disable_request()
69 edma_writeb(fsl_chan->edma, EDMA_CEEI_CEEI(ch), regs->ceei); in fsl_edma_disable_request()
113 u32 dmamux_nr = fsl_chan->edma in fsl_edma_chan_mux()
348 struct fsl_edma_engine *edma = fsl_chan->edma; fsl_edma_set_tcd_regs() local
679 fsl_edma_setup_regs(struct fsl_edma_engine *edma) fsl_edma_setup_regs() argument
[all...]
H A Dfsl-edma-common.h120 struct fsl_edma_engine *edma; member
177 static inline u32 edma_readl(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readl() argument
179 if (edma->big_endian) in edma_readl()
185 static inline void edma_writeb(struct fsl_edma_engine *edma, in edma_writeb() argument
189 if (edma->big_endian) in edma_writeb()
195 static inline void edma_writew(struct fsl_edma_engine *edma, in edma_writew() argument
199 if (edma->big_endian) in edma_writew()
205 static inline void edma_writel(struct fsl_edma_engine *edma, in edma_writel() argument
208 if (edma->big_endian) in edma_writel()
248 void fsl_edma_setup_regs(struct fsl_edma_engine *edma);
[all...]
H A Dep93xx_dma.c135 * @edma: pointer to to the engine device
166 const struct ep93xx_dma_engine *edma; member
744 edmac->edma->hw_submit(edmac); in ep93xx_dma_advance_work()
802 switch (edmac->edma->hw_interrupt(edmac)) { in ep93xx_dma_interrupt()
850 edmac->edma->hw_submit(edmac); in ep93xx_dma_tx_submit()
875 if (!edmac->edma->m2m) { in ep93xx_dma_alloc_chan_resources()
910 ret = edmac->edma->hw_setup(edmac); in ep93xx_dma_alloc_chan_resources()
962 edmac->edma->hw_shutdown(edmac); in ep93xx_dma_free_chan_resources()
1044 if (!edmac->edma->m2m && dir != ep93xx_dma_chan_direction(chan)) { in ep93xx_dma_prep_slave_sg()
1125 if (!edmac->edma in ep93xx_dma_prep_dma_cyclic()
1321 struct ep93xx_dma_engine *edma; ep93xx_dma_probe() local
[all...]
H A Dmcf-edma.c10 #include <linux/platform_data/dma-mcf-edma.h>
12 #include "fsl-edma-common.h"
107 IORESOURCE_IRQ, "edma-tx-00-15"); in mcf_edma_irq_init()
117 IORESOURCE_IRQ, "edma-tx-16-55"); in mcf_edma_irq_init()
126 ret = platform_get_irq_byname(pdev, "edma-tx-56-63"); in mcf_edma_irq_init()
134 ret = platform_get_irq_byname(pdev, "edma-err"); in mcf_edma_irq_init()
152 IORESOURCE_IRQ, "edma-tx-00-15"); in mcf_edma_irq_free()
159 IORESOURCE_IRQ, "edma-tx-16-55"); in mcf_edma_irq_free()
165 irq = platform_get_irq_byname(pdev, "edma-tx-56-63"); in mcf_edma_irq_free()
169 irq = platform_get_irq_byname(pdev, "edma in mcf_edma_irq_free()
[all...]
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
H A DMakefile3 obj-$(CONFIG_DW_EDMA) += dw-edma.o
4 dw-edma-$(CONFIG_DEBUG_FS) := dw-edma-v0-debugfs.o
5 dw-edma-objs := dw-edma-core.o \
6 dw-edma-v0-core.o $(dw-edma-y)
7 obj-$(CONFIG_DW_EDMA_PCIE) += dw-edma-pcie.o
H A Ddw-edma-v0-debugfs.h12 #include <linux/dma/edma.h>
H A Ddw-edma-v0-core.h12 #include <linux/dma/edma.h>
/kernel/linux/linux-6.6/drivers/dma/
H A Dfsl-edma-common.c13 #include "fsl-edma-common.h"
77 /* Remote/local swapped wrongly on iMX8 QM Audio edma */ in fsl_edma3_enable_request()
111 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_enable_request()
117 if (fsl_chan->edma->drvdata->flags & FSL_EDMA_DRV_WRAP_IO) { in fsl_edma_enable_request()
118 edma_writeb(fsl_chan->edma, EDMA_SEEI_SEEI(ch), regs->seei); in fsl_edma_enable_request()
119 edma_writeb(fsl_chan->edma, ch, regs->serq); in fsl_edma_enable_request()
145 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_disable_request()
151 if (fsl_chan->edma->drvdata->flags & FSL_EDMA_DRV_WRAP_IO) { in fsl_edma_disable_request()
152 edma_writeb(fsl_chan->edma, ch, regs->cerq); in fsl_edma_disable_request()
153 edma_writeb(fsl_chan->edma, EDMA_CEEI_CEE in fsl_edma_disable_request()
814 struct fsl_edma_engine *edma = fsl_chan->edma; fsl_edma_free_chan_resources() local
853 fsl_edma_setup_regs(struct fsl_edma_engine *edma) fsl_edma_setup_regs() argument
[all...]
H A Dfsl-edma-common.h138 struct fsl_edma_engine *edma; member
180 /* imx8 QM audio edma remote local swapped */
234 edma_readl(chan->edma, &chan->tcd->__name) : \
235 edma_readw(chan->edma, &chan->tcd->__name))
239 edma_writel(chan->edma, (u32 __force)val, &chan->tcd->__name) : \
240 edma_writew(chan->edma, (u16 __force)val, &chan->tcd->__name))
243 edma_readl(chan->edma, \
247 edma_writel(chan->edma, val, \
256 static inline u32 edma_readl(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readl() argument
258 if (edma in edma_readl()
264 edma_readw(struct fsl_edma_engine *edma, void __iomem *addr) edma_readw() argument
272 edma_writeb(struct fsl_edma_engine *edma, u8 val, void __iomem *addr) edma_writeb() argument
282 edma_writew(struct fsl_edma_engine *edma, u16 val, void __iomem *addr) edma_writew() argument
292 edma_writel(struct fsl_edma_engine *edma, u32 val, void __iomem *addr) edma_writel() argument
[all...]
H A Dep93xx_dma.c135 * @edma: pointer to the engine device
166 const struct ep93xx_dma_engine *edma; member
744 edmac->edma->hw_submit(edmac); in ep93xx_dma_advance_work()
802 switch (edmac->edma->hw_interrupt(edmac)) { in ep93xx_dma_interrupt()
850 edmac->edma->hw_submit(edmac); in ep93xx_dma_tx_submit()
875 if (!edmac->edma->m2m) { in ep93xx_dma_alloc_chan_resources()
910 ret = edmac->edma->hw_setup(edmac); in ep93xx_dma_alloc_chan_resources()
962 edmac->edma->hw_shutdown(edmac); in ep93xx_dma_free_chan_resources()
1044 if (!edmac->edma->m2m && dir != ep93xx_dma_chan_direction(chan)) { in ep93xx_dma_prep_slave_sg()
1125 if (!edmac->edma in ep93xx_dma_prep_dma_cyclic()
1321 struct ep93xx_dma_engine *edma; ep93xx_dma_probe() local
[all...]
H A DMakefile32 obj-$(CONFIG_DW_EDMA) += dw-edma/
35 fsl-edma-objs := fsl-edma-main.o fsl-edma-common.o
36 obj-$(CONFIG_FSL_EDMA) += fsl-edma.o
37 mcf-edma-objs := mcf-edma-main.o fsl-edma-common.o
38 obj-$(CONFIG_MCF_EDMA) += mcf-edma.o
H A Dmcf-edma-main.c10 #include <linux/platform_data/dma-mcf-edma.h>
12 #include "fsl-edma-common.h"
81 IORESOURCE_IRQ, "edma-tx-00-15"); in mcf_edma_irq_init()
91 IORESOURCE_IRQ, "edma-tx-16-55"); in mcf_edma_irq_init()
100 ret = platform_get_irq_byname(pdev, "edma-tx-56-63"); in mcf_edma_irq_init()
108 ret = platform_get_irq_byname(pdev, "edma-err"); in mcf_edma_irq_init()
126 IORESOURCE_IRQ, "edma-tx-00-15"); in mcf_edma_irq_free()
133 IORESOURCE_IRQ, "edma-tx-16-55"); in mcf_edma_irq_free()
139 irq = platform_get_irq_byname(pdev, "edma-tx-56-63"); in mcf_edma_irq_free()
143 irq = platform_get_irq_byname(pdev, "edma in mcf_edma_irq_free()
[all...]
/kernel/linux/linux-6.6/drivers/dma/dw-edma/
H A DMakefile3 obj-$(CONFIG_DW_EDMA) += dw-edma.o
4 dw-edma-$(CONFIG_DEBUG_FS) := dw-edma-v0-debugfs.o \
6 dw-edma-objs := dw-edma-core.o \
7 dw-edma-v0-core.o \
8 dw-hdma-v0-core.o $(dw-edma-y)
9 obj-$(CONFIG_DW_EDMA_PCIE) += dw-edma-pcie.o
H A Ddw-edma-v0-core.h12 #include <linux/dma/edma.h>
H A Ddw-hdma-v0-core.h12 #include <linux/dma/edma.h>
H A Ddw-edma-v0-debugfs.h12 #include <linux/dma/edma.h>
H A Ddw-hdma-v0-debugfs.h12 #include <linux/dma/edma.h>
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/
H A Dpcie-designware.c15 #include <linux/dma/edma.h>
147 if (!pci->edma.reg_base) { in dw_pcie_get_resources()
150 pci->edma.reg_base = devm_ioremap_resource(pci->dev, res); in dw_pcie_get_resources()
151 if (IS_ERR(pci->edma.reg_base)) in dw_pcie_get_resources()
152 return PTR_ERR(pci->edma.reg_base); in dw_pcie_get_resources()
154 pci->edma.reg_base = pci->atu_base + DEFAULT_DBI_DMA_OFFSET; in dw_pcie_get_resources()
851 return pci->ops->read_dbi(pci, pci->edma.reg_base, reg, 4); in dw_pcie_readl_dma()
853 ret = dw_pcie_read(pci->edma.reg_base + reg, 4, &val); in dw_pcie_readl_dma()
896 if (val == 0xFFFFFFFF && pci->edma.reg_base) { in dw_pcie_edma_find_chip()
897 pci->edma in dw_pcie_edma_find_chip()
[all...]
/kernel/linux/linux-5.10/sound/soc/ti/
H A DMakefile4 snd-soc-ti-edma-objs := edma-pcm.o
8 obj-$(CONFIG_SND_SOC_TI_EDMA_PCM) += snd-soc-ti-edma.o
/kernel/linux/linux-6.6/sound/soc/ti/
H A DMakefile4 snd-soc-ti-edma-objs := edma-pcm.o
8 obj-$(CONFIG_SND_SOC_TI_EDMA_PCM) += snd-soc-ti-edma.o
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dspi-davinci.h9 #include <linux/platform_data/edma.h>
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dspi-davinci.h9 #include <linux/platform_data/edma.h>
/kernel/linux/linux-6.6/drivers/dma/ti/
H A DMakefile3 obj-$(CONFIG_TI_EDMA) += edma.o
/kernel/linux/linux-5.10/include/linux/mfd/
H A Ddavinci_voicecodec.h16 #include <linux/platform_data/edma.h>
/kernel/linux/linux-6.6/include/linux/mfd/
H A Ddavinci_voicecodec.h16 #include <linux/platform_data/edma.h>

Completed in 12 milliseconds

123