Home
last modified time | relevance | path

Searched refs:edma (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/linux/drivers/dma/
H A Dfsl-edma-common.c93 if (!edma_readl(fsl_chan->edma, fsl_chan->mux_addr)) in fsl_edma3_enable_request()
94 edma_writel(fsl_chan->edma, fsl_chan->srcid, fsl_chan->mux_addr); in fsl_edma3_enable_request()
104 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_enable_request()
110 if (fsl_chan->edma->drvdata->flags & FSL_EDMA_DRV_WRAP_IO) { in fsl_edma_enable_request()
111 edma_writeb(fsl_chan->edma, EDMA_SEEI_SEEI(ch), regs->seei); in fsl_edma_enable_request()
112 edma_writeb(fsl_chan->edma, ch, regs->serq); in fsl_edma_enable_request()
130 edma_writel(fsl_chan->edma, 0, fsl_chan->mux_addr); in fsl_edma3_disable_request()
138 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_disable_request()
144 if (fsl_chan->edma->drvdata->flags & FSL_EDMA_DRV_WRAP_IO) { in fsl_edma_disable_request()
145 edma_writeb(fsl_chan->edma, ch, regs->cerq); in fsl_edma_disable_request()
[all …]
H A Dfsl-edma-common.h138 struct fsl_edma_engine *edma; member
237 edma_readl(chan->edma, &chan->tcd->__name) : \
238 edma_readw(chan->edma, &chan->tcd->__name))
242 edma_writel(chan->edma, (u32 __force)val, &chan->tcd->__name) : \
243 edma_writew(chan->edma, (u16 __force)val, &chan->tcd->__name))
246 edma_readl(chan->edma, \
250 edma_writel(chan->edma, val, \
259 static inline u32 edma_readl(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readl() argument
261 if (edma->big_endian) in edma_readl()
267 static inline u16 edma_readw(struct fsl_edma_engine *edma, void __iomem *addr) in edma_readw() argument
[all …]
H A Dep93xx_dma.c166 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->m2m && dir != ep93xx_dma_chan_direction(chan)) { in ep93xx_dma_prep_dma_cyclic()
1195 if (edmac->edma->hw_synchronize) in ep93xx_dma_synchronize()
[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
/openbmc/linux/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
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c147 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.mf = EDMA_MF_EDMA_UNROLL; in dw_pcie_edma_find_chip()
901 pci->edma.mf = EDMA_MF_EDMA_LEGACY; in dw_pcie_edma_find_chip()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Ddm816x.dtsi134 edma: edma@49000000 { label
181 dmas = <&edma 52>;
198 dmas = <&edma 58 &edma 59>;
209 dmas = <&edma 60 &edma 61>;
300 dmas = <&edma 16 &edma 17
301 &edma 18 &edma 19
302 &edma 20 &edma 21
303 &edma 22 &edma 23>;
313 dmas = <&edma 24 &edma 25>;
377 dmas = <&edma 26 &edma 27>;
[all …]
H A Dam33xx.dtsi240 compatible = "ti,am335x-edma-crossbar";
244 dma-masters = <&edma>;
259 edma: edma@49000000 { label
273 ti,edma-memcpy-channels = <20 21>;
351 dmas = <&edma 26 0>, <&edma 27 0>;
362 dmas = <&edma 28 0>, <&edma 29 0>;
373 dmas = <&edma 30 0>, <&edma 31 0>;
452 dmas = <&edma 2 0
453 &edma 3 0>;
596 dmas = <&edma 16 0
[all …]
H A Dam4372.dtsi138 edma: edma@49000000 { label
454 dmas = <&edma 24
455 &edma 25>;
466 dmas = <&edma 2
467 &edma 3>;
732 dmas = <&edma 36>;
742 dmas = <&edma 6
743 &edma 5>;
752 dmas = <&edma 34
753 &edma 33>;
[all …]
H A Dls1021a.dtsi337 edma0: edma@2c00000 {
339 compatible = "fsl,vf610-edma";
345 interrupt-names = "edma-tx", "edma-err";
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Dti-edma.txt40 - ti,edma-memcpy-channels: List of channels allocated to be used for memcpy, iow
42 - ti,edma-reserved-slot-ranges: PaRAM slot ranges which should not be used by
83 edma: edma@49000000 {
96 ti,edma-memcpy-channels = <20 21>;
98 ti,edma-reserved-slot-ranges = <35 10>, <100 10>;
134 dmas = <&edma 36 0>;
147 dmas = <&edma 8 2>,
148 <&edma 9 2>;
153 edma1: edma@2728000 {
169 * ti,edma-memcpy-channels = <12 13 14 15>;
[all …]
H A Dti-dma-crossbar.txt5 "ti,am335x-edma-crossbar" for AM335x and AM437x
8 for ti,dra7-dma-crossbar and <3> for ti,am335x-edma-crossbar.
26 For ti,am335x-edma-crossbar: the meaning of parameters of dmas for clients:
29 When mux 0 is used the DMA channel can be requested directly from edma node.
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Ddm814x.dtsi267 dmas = <&edma 16 0 &edma 17 0
268 &edma 18 0 &edma 19 0
269 &edma 20 0 &edma 21 0
270 &edma 22 0 &edma 23 0>;
284 dmas = <&edma 42 0 &edma 43 0
285 &edma 44 0 &edma 45 0>;
342 dmas = <&edma 26 0 &edma 27 0>;
352 dmas = <&edma 28 0 &edma 29 0>;
362 dmas = <&edma 30 0 &edma 31 0>;
401 dmas = <&edma 24 0
[all …]
H A Ddm816x.dtsi149 edma: dma@0 { label
162 ti,edma-memcpy-channels = <20 21>;
296 dmas = <&edma 52 0>;
418 dmas = <&edma 16 0 &edma 17 0
419 &edma 18 0 &edma 19 0
420 &edma 20 0 &edma 21 0
421 &edma 22 0 &edma 23 0>;
431 dmas = <&edma 24 0 &edma 25 0>;
531 dmas = <&edma 26 0 &edma 27 0>;
541 dmas = <&edma 28 0 &edma 29 0>;
[all …]
H A Dam33xx-l4.dtsi208 dmas = <&edma 26 0>, <&edma 27 0>;
269 dmas = <&edma 53 0>, <&edma 57 0>;
345 compatible = "ti,am335x-edma-crossbar";
349 dma-masters = <&edma>;
1116 dmas = <&edma 28 0>, <&edma 29 0>;
1147 dmas = <&edma 30 0>, <&edma 31 0>;
1211 dmas = <&edma 16 0
1212 &edma 17 0
1213 &edma 18 0
1214 &edma 19 0>;
[all …]
H A Dam4372.dtsi214 edma: dma@0 { label
229 ti,edma-memcpy-channels = <58 59>;
353 dmas = <&edma 36 0>;
383 dmas = <&edma 6 0>,
384 <&edma 5 0>;
413 dmas = <&edma 34 0>,
414 <&edma 33 0>;
625 dmas = <&edma 52 0>;
H A Dam33xx.dtsi233 edma: dma@0 { label
246 ti,edma-memcpy-channels = <20 21>;
551 dmas = <&edma 52 0>;
588 dmas = <&edma 36 0>;
617 dmas = <&edma 6 0>,
618 <&edma 5 0>;
/openbmc/linux/arch/arm/boot/dts/ti/davinci/
H A Dda850-enbw-cmc.dts39 ti,edma-reserved-slot-ranges = <32 50>;
43 ti,edma-reserved-slot-ranges = <32 90>;
/openbmc/linux/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
/openbmc/linux/Documentation/devicetree/bindings/crypto/
H A Domap-aes.txt28 dmas = <&edma 6>,
29 <&edma 5>;
H A Domap-sham.txt26 dmas = <&edma 36>;
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Ddavinci_mmc.txt29 dmas = <&edma 16
30 &edma 17>;
/openbmc/linux/drivers/dma/ti/
H A DMakefile3 obj-$(CONFIG_TI_EDMA) += edma.o
/openbmc/linux/arch/arm/boot/dts/nxp/vf/
H A Dvfxxx.dtsi84 compatible = "fsl,vf610-edma";
91 interrupt-names = "edma-tx", "edma-err";
478 compatible = "fsl,vf610-edma";
485 interrupt-names = "edma-tx", "edma-err";
/openbmc/qemu/hw/s390x/
H A Ds390-pci-vfio.c124 pbdev->zpci_fn.edma = cap->end_dma; in s390_pci_read_base()
140 pbdev->zpci_fn.edma = cap->start_dma + vfio_size - 1; in s390_pci_read_base()

123