Home
last modified time | relevance | path

Searched refs:qdma (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/Documentation/devicetree/bindings/dma/
Dfsl-qdma.txt9 "fsl,ls1021a-qdma": for LS1021A Board
10 "fsl,ls1028a-qdma": for LS1028A Board
11 "fsl,ls1043a-qdma": for ls1043A Board
12 "fsl,ls1046a-qdma": for ls1046A Board
17 "qdma-queue0": the block0 interrupt
18 "qdma-queue1": the block1 interrupt
19 "qdma-queue2": the block2 interrupt
20 "qdma-queue3": the block3 interrupt
21 "qdma-error": the error interrupt
39 qdma: dma-controller@8390000 {
[all …]
/linux-5.19.10/drivers/dma/
Dfsl-qdma.c179 struct fsl_qdma_engine *qdma; member
283 static u32 qdma_readl(struct fsl_qdma_engine *qdma, void __iomem *addr) in qdma_readl() argument
285 return FSL_DMA_IN(qdma, addr, 32); in qdma_readl()
288 static void qdma_writel(struct fsl_qdma_engine *qdma, u32 val, in qdma_writel() argument
291 FSL_DMA_OUT(qdma, addr, val, 32); in qdma_writel()
308 struct fsl_qdma_engine *fsl_qdma = fsl_chan->qdma; in fsl_qdma_free_chan_resources()
996 reg = qdma_readl(fsl_chan->qdma, block + FSL_QDMA_BCQSR(fsl_queue->id)); in fsl_qdma_enqueue_desc()
1012 reg = qdma_readl(fsl_chan->qdma, block + FSL_QDMA_BCQMR(fsl_queue->id)); in fsl_qdma_enqueue_desc()
1014 qdma_writel(fsl_chan->qdma, reg, block + FSL_QDMA_BCQMR(fsl_queue->id)); in fsl_qdma_enqueue_desc()
1070 struct fsl_qdma_engine *fsl_qdma = fsl_chan->qdma; in fsl_qdma_alloc_chan_resources()
[all …]
DMakefile36 obj-$(CONFIG_FSL_QDMA) += fsl-qdma.o
83 obj-$(CONFIG_FSL_DPAA2_QDMA) += fsl-dpaa2-qdma/
DKconfig224 The qdma driver only work on SoCs with a DPAA hardware block.
769 source "drivers/dma/fsl-dpaa2-qdma/Kconfig"
/linux-5.19.10/drivers/dma/fsl-dpaa2-qdma/
DMakefile3 obj-$(CONFIG_FSL_DPAA2_QDMA) += dpaa2-qdma.o dpdmai.o
Ddpaa2-qdma.c32 struct dpaa2_qdma_engine *dpaa2_qdma = dpaa2_chan->qdma; in dpaa2_qdma_alloc_chan_resources()
66 struct dpaa2_qdma_engine *dpaa2_qdma = dpaa2_chan->qdma; in dpaa2_qdma_free_chan_resources()
92 struct dpaa2_qdma_priv *qdma_priv = dpaa2_chan->qdma->priv; in dpaa2_qdma_request_desc()
248 dpaa2_qdma = dpaa2_chan->qdma; in dpaa2_qdma_prep_memcpy()
642 dpaa2_chan->qdma = dpaa2_qdma; in dpaa2_dpdmai_init_channels()
Ddpaa2-qdma.h70 struct dpaa2_qdma_engine *qdma; member
/linux-5.19.10/drivers/crypto/hisilicon/
Dqm.c1006 addr = (u32 *)(qp->qdma.va + qp->qdma.size) - offset; in qm_set_qp_disable()
2787 addr = (u64 *)(qp->qdma.va + qp->qdma.size) - QM_RESET_STOP_TX_OFFSET; in hisi_qm_unset_hw_reset()
3315 if (sz != qp->qdma.size) in hisi_qm_uacce_mmap()
3324 ret = dma_mmap_coherent(dev, vma, qp->qdma.va, in hisi_qm_uacce_mmap()
3325 qp->qdma.dma, sz); in hisi_qm_uacce_mmap()
3554 struct qm_dma *qdma; in hisi_qp_memory_uninit() local
3558 qdma = &qm->qp_array[i].qdma; in hisi_qp_memory_uninit()
3559 dma_free_coherent(dev, qdma->size, qdma->va, qdma->dma); in hisi_qp_memory_uninit()
3572 qp->qdma.va = dma_alloc_coherent(dev, dma_size, &qp->qdma.dma, in hisi_qp_memory_init()
3574 if (!qp->qdma.va) in hisi_qp_memory_init()
[all …]
/linux-5.19.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c51 .qdma = {
104 .qdma = {
960 mtk_w32(eth, eth->phy_scratch_ring, soc->reg_map->qdma.fq_head); in mtk_init_fq_dma()
961 mtk_w32(eth, phy_ring_tail, soc->reg_map->qdma.fq_tail); in mtk_init_fq_dma()
962 mtk_w32(eth, (cnt << 16) | cnt, soc->reg_map->qdma.fq_count); in mtk_init_fq_dma()
963 mtk_w32(eth, MTK_QDMA_PAGE_SIZE << 16, soc->reg_map->qdma.fq_blen); in mtk_init_fq_dma()
1261 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_tx_map()
1607 dma = mtk_r32(eth, reg_map->qdma.drx_ptr); in mtk_poll_tx_qdma()
1642 mtk_w32(eth, cpu, reg_map->qdma.crx_ptr); in mtk_poll_tx_qdma()
1859 mtk_w32(eth, ring->phys, soc->reg_map->qdma.ctx_ptr); in mtk_tx_alloc()
[all …]
Dmtk_eth_soc.h926 } qdma; member
/linux-5.19.10/arch/arm64/boot/dts/freescale/
Dfsl-ls1046a.dtsi882 qdma: dma-controller@8380000 { label
883 compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
892 interrupt-names = "qdma-error", "qdma-queue0",
893 "qdma-queue1", "qdma-queue2", "qdma-queue3";
Dfsl-ls1043a.dtsi948 qdma: dma-controller@8380000 { label
949 compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma";
958 interrupt-names = "qdma-error", "qdma-queue0",
959 "qdma-queue1", "qdma-queue2", "qdma-queue3";
Dfsl-ls1028a.dtsi801 qdma: dma-controller@8380000 { label
802 compatible = "fsl,ls1028a-qdma", "fsl,ls1021a-qdma";
811 interrupt-names = "qdma-error", "qdma-queue0",
812 "qdma-queue1", "qdma-queue2", "qdma-queue3";
/linux-5.19.10/include/linux/
Dhisi_acc_qm.h286 struct qm_dma qdma; member
351 struct qm_dma qdma; member
/linux-5.19.10/arch/arm/boot/dts/
Dls1021a.dtsi907 qdma: dma-controller@8390000 { label
908 compatible = "fsl,ls1021a-qdma";
915 interrupt-names = "qdma-error",
916 "qdma-queue0", "qdma-queue1";