Home
last modified time | relevance | path

Searched refs:mtk_dma_set (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/dma/mediatek/
Dmtk-cqdma.c189 static void mtk_dma_set(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_set() function
224 mtk_dma_set(pc, MTK_CQDMA_RESET, MTK_CQDMA_HARD_RST_BIT); in mtk_cqdma_hard_reset()
238 mtk_dma_set(pc, MTK_CQDMA_RESET, MTK_CQDMA_WARM_RST_BIT); in mtk_cqdma_start()
243 mtk_dma_set(pc, MTK_CQDMA_SRC, cvd->src & MTK_CQDMA_ADDR_LIMIT); in mtk_cqdma_start()
245 mtk_dma_set(pc, MTK_CQDMA_SRC2, cvd->src >> MTK_CQDMA_ADDR2_SHFIT); in mtk_cqdma_start()
247 mtk_dma_set(pc, MTK_CQDMA_SRC2, 0); in mtk_cqdma_start()
251 mtk_dma_set(pc, MTK_CQDMA_DST, cvd->dest & MTK_CQDMA_ADDR_LIMIT); in mtk_cqdma_start()
253 mtk_dma_set(pc, MTK_CQDMA_DST2, cvd->dest >> MTK_CQDMA_ADDR2_SHFIT); in mtk_cqdma_start()
255 mtk_dma_set(pc, MTK_CQDMA_DST2, 0); in mtk_cqdma_start()
259 mtk_dma_set(pc, MTK_CQDMA_LEN1, cvd->len); in mtk_cqdma_start()
[all …]
Dmtk-hsdma.c289 static void mtk_dma_set(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_set() function
352 mtk_dma_set(hsdma, MTK_HSDMA_RESET, in mtk_hsdma_alloc_pchan()
368 mtk_dma_set(hsdma, MTK_HSDMA_GLO, MTK_HSDMA_GLO_DMA); in mtk_hsdma_alloc_pchan()
374 mtk_dma_set(hsdma, MTK_HSDMA_INT_ENABLE, MTK_HSDMA_INT_RXDONE); in mtk_hsdma_alloc_pchan()
641 mtk_dma_set(hsdma, MTK_HSDMA_INT_ENABLE, MTK_HSDMA_INT_RXDONE); in mtk_hsdma_free_rooms_in_ring()