Searched refs:cqdma (Results 1 – 2 of 2) sorted by relevance
164 static struct device *cqdma2dev(struct mtk_cqdma_device *cqdma) in cqdma2dev() argument166 return cqdma->ddev.dev; in cqdma2dev()388 struct mtk_cqdma_device *cqdma = devid; in mtk_cqdma_irq() local394 for (i = 0; i < cqdma->dma_channels; ++i, schedule_tasklet = false) { in mtk_cqdma_irq()395 spin_lock(&cqdma->pc[i]->lock); in mtk_cqdma_irq()396 if (mtk_dma_read(cqdma->pc[i], in mtk_cqdma_irq()399 mtk_dma_clr(cqdma->pc[i], MTK_CQDMA_INT_FLAG, in mtk_cqdma_irq()405 spin_unlock(&cqdma->pc[i]->lock); in mtk_cqdma_irq()409 disable_irq_nosync(cqdma->pc[i]->irq); in mtk_cqdma_irq()412 tasklet_schedule(&cqdma->pc[i]->tasklet); in mtk_cqdma_irq()[all …]
4 obj-$(CONFIG_MTK_CQDMA) += mtk-cqdma.o