Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mediatek/
H A Dairoha_eth.c733 struct airoha_qdma *qdma; member
752 struct airoha_qdma *qdma; member
810 struct airoha_qdma *qdma; member
828 struct airoha_qdma qdma[AIROHA_MAX_NUM_QDMA]; member
861 #define airoha_qdma_rr(qdma, offset) \ argument
862 airoha_rr((qdma)->regs, (offset))
863 #define airoha_qdma_wr(qdma, offset, val) \ argument
864 airoha_wr((qdma)->regs, (offset), (val))
865 #define airoha_qdma_rmw(qdma, offset, mask, val) \ argument
866 airoha_rmw((qdma)->regs, (offset), (mask), (val))
[all …]
H A Dmtk_eth_soc.c60 .qdma = {
126 .qdma = {
177 .qdma = {
775 mtk_w32(eth, val, soc->reg_map->qdma.qtx_sch + ofs); in mtk_set_queue_speed()
1197 mtk_w32(eth, eth->phy_scratch_ring, soc->reg_map->qdma.fq_head); in mtk_init_fq_dma()
1198 mtk_w32(eth, phy_ring_tail, soc->reg_map->qdma.fq_tail); in mtk_init_fq_dma()
1199 mtk_w32(eth, (cnt << 16) | cnt, soc->reg_map->qdma.fq_count); in mtk_init_fq_dma()
1200 mtk_w32(eth, MTK_QDMA_PAGE_SIZE << 16, soc->reg_map->qdma.fq_blen); in mtk_init_fq_dma()
1527 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_tx_map()
1893 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_xdp_submit_frame()
[all …]
H A Dmtk_eth_soc.h1119 } qdma; member
/linux/drivers/dma/amd/qdma/
H A DMakefile3 obj-$(CONFIG_AMD_QDMA) += amd-qdma.o
5 amd-qdma-$(CONFIG_AMD_QDMA) := qdma.o qdma-comm-regs.o
/linux/drivers/crypto/hisilicon/
H A Dqm.c980 addr = (u32 *)(qp->qdma.va + qp->qdma.size) - offset; in qm_set_qp_disable()
1825 addr = (u64 *)(qp->qdma.va + qp->qdma.size) - QM_RESET_STOP_TX_OFFSET; in hisi_qm_unset_hw_reset()
2324 if (sz != qp->qdma.size) in hisi_qm_uacce_mmap()
2333 ret = dma_mmap_coherent(dev, vma, qp->qdma.va, in hisi_qm_uacce_mmap()
2334 qp->qdma.dma, sz); in hisi_qm_uacce_mmap()
2729 struct qm_dma *qdma; in hisi_qp_memory_uninit() local
2733 qdma = &qm->qp_array[i].qdma; in hisi_qp_memory_uninit()
2734 dma_free_coherent(dev, qdma->size, qdma->va, qdma->dma); in hisi_qp_memory_uninit()
2756 qp->qdma.va = dma_alloc_coherent(dev, dma_size, &qp->qdma.dma, in hisi_qp_memory_init()
2758 if (!qp->qdma.va) in hisi_qp_memory_init()
[all …]
/linux/drivers/dma/
H A Dfsl-qdma.c184 struct fsl_qdma_engine *qdma; member
288 static u32 qdma_readl(struct fsl_qdma_engine *qdma, void __iomem *addr) in qdma_readl() argument
290 return FSL_DMA_IN(qdma, addr, 32); in qdma_readl()
293 static void qdma_writel(struct fsl_qdma_engine *qdma, u32 val, in qdma_writel() argument
296 FSL_DMA_OUT(qdma, addr, val, 32); in qdma_writel()
313 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 …]
H A DMakefile41 obj-$(CONFIG_FSL_QDMA) += fsl-qdma.o
85 obj-$(CONFIG_FSL_DPAA2_QDMA) += fsl-dpaa2-qdma/
H A DKconfig234 The qdma driver only work on SoCs with a DPAA hardware block.
759 source "drivers/dma/fsl-dpaa2-qdma/Kconfig"
/linux/drivers/dma/amd/
H A DMakefile3 obj-$(CONFIG_AMD_QDMA) += qdma/
/linux/drivers/dma/fsl-dpaa2-qdma/
H A DMakefile3 obj-$(CONFIG_FSL_DPAA2_QDMA) += dpaa2-qdma.o dpdmai.o
H A Ddpaa2-qdma.h71 struct dpaa2_qdma_engine *qdma; member
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1043a.dtsi957 qdma: dma-controller@8380000 { label
958 compatible = "fsl,ls1043a-qdma", "fsl,ls1021a-qdma";
967 interrupt-names = "qdma-error", "qdma-queue0",
968 "qdma-queue1", "qdma-queue2", "qdma-queue3";
H A Dfsl-ls1046a.dtsi913 qdma: dma-controller@8380000 { label
914 compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
923 interrupt-names = "qdma-error", "qdma-queue0",
924 "qdma-queue1", "qdma-queue2", "qdma-queue3";
H A Dfsl-ls1028a.dtsi816 qdma: dma-controller@8380000 { label
817 compatible = "fsl,ls1028a-qdma", "fsl,ls1021a-qdma";
826 interrupt-names = "qdma-error", "qdma-queue0",
827 "qdma-queue1", "qdma-queue2", "qdma-queue3";
/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a.dtsi920 qdma: dma-controller@8390000 { label
921 compatible = "fsl,ls1021a-qdma";
928 interrupt-names = "qdma-error",
929 "qdma-queue0", "qdma-queue1";
/linux/include/linux/
H A Dhisi_acc_qm.h350 struct qm_dma qdma; member
420 struct qm_dma qdma; member