Searched refs:cqdma (Results 1 – 2 of 2) sorted by relevance
163 static struct device *cqdma2dev(struct mtk_cqdma_device *cqdma) in cqdma2dev() argument165 return cqdma->ddev.dev; in cqdma2dev()387 struct mtk_cqdma_device *cqdma = devid; in mtk_cqdma_irq() local393 for (i = 0; i < cqdma->dma_channels; ++i, schedule_tasklet = false) { in mtk_cqdma_irq()394 spin_lock(&cqdma->pc[i]->lock); in mtk_cqdma_irq()395 if (mtk_dma_read(cqdma->pc[i], in mtk_cqdma_irq()398 mtk_dma_clr(cqdma->pc[i], MTK_CQDMA_INT_FLAG, in mtk_cqdma_irq()404 spin_unlock(&cqdma->pc[i]->lock); in mtk_cqdma_irq()408 disable_irq_nosync(cqdma->pc[i]->irq); in mtk_cqdma_irq()411 tasklet_schedule(&cqdma->pc[i]->tasklet); in mtk_cqdma_irq()[all …]
4 obj-$(CONFIG_MTK_CQDMA) += mtk-cqdma.o