Lines Matching defs:hsdma
264 static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma) in hsdma2dev()
269 static u32 mtk_dma_read(struct mtk_hsdma_device *hsdma, u32 reg) in mtk_dma_read()
274 static void mtk_dma_write(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_write()
279 static void mtk_dma_rmw(struct mtk_hsdma_device *hsdma, u32 reg, in mtk_dma_rmw()
290 static void mtk_dma_set(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_set()
295 static void mtk_dma_clr(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_clr()
305 static int mtk_hsdma_busy_wait(struct mtk_hsdma_device *hsdma) in mtk_hsdma_busy_wait()
315 static int mtk_hsdma_alloc_pchan(struct mtk_hsdma_device *hsdma, in mtk_hsdma_alloc_pchan()
388 static void mtk_hsdma_free_pchan(struct mtk_hsdma_device *hsdma, in mtk_hsdma_free_pchan()
412 static int mtk_hsdma_issue_pending_vdesc(struct mtk_hsdma_device *hsdma, in mtk_hsdma_issue_pending_vdesc()
495 static void mtk_hsdma_issue_vchan_pending(struct mtk_hsdma_device *hsdma, in mtk_hsdma_issue_vchan_pending()
533 static void mtk_hsdma_free_rooms_in_ring(struct mtk_hsdma_device *hsdma) in mtk_hsdma_free_rooms_in_ring()
647 struct mtk_hsdma_device *hsdma = devid; in mtk_hsdma_irq() local
708 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); in mtk_hsdma_issue_pending() local
810 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); in mtk_hsdma_alloc_chan_resources() local
836 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); in mtk_hsdma_free_chan_resources() local
848 static int mtk_hsdma_hw_init(struct mtk_hsdma_device *hsdma) in mtk_hsdma_hw_init()
865 static int mtk_hsdma_hw_deinit(struct mtk_hsdma_device *hsdma) in mtk_hsdma_hw_deinit()
896 struct mtk_hsdma_device *hsdma; in mtk_hsdma_probe() local
1019 struct mtk_hsdma_device *hsdma = platform_get_drvdata(pdev); in mtk_hsdma_remove() local