Lines Matching defs:hsdma

263 static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma)  in hsdma2dev()
268 static u32 mtk_dma_read(struct mtk_hsdma_device *hsdma, u32 reg) in mtk_dma_read()
273 static void mtk_dma_write(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_write()
278 static void mtk_dma_rmw(struct mtk_hsdma_device *hsdma, u32 reg, in mtk_dma_rmw()
289 static void mtk_dma_set(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_set()
294 static void mtk_dma_clr(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) in mtk_dma_clr()
304 static int mtk_hsdma_busy_wait(struct mtk_hsdma_device *hsdma) in mtk_hsdma_busy_wait()
314 static int mtk_hsdma_alloc_pchan(struct mtk_hsdma_device *hsdma, in mtk_hsdma_alloc_pchan()
387 static void mtk_hsdma_free_pchan(struct mtk_hsdma_device *hsdma, in mtk_hsdma_free_pchan()
411 static int mtk_hsdma_issue_pending_vdesc(struct mtk_hsdma_device *hsdma, in mtk_hsdma_issue_pending_vdesc()
494 static void mtk_hsdma_issue_vchan_pending(struct mtk_hsdma_device *hsdma, in mtk_hsdma_issue_vchan_pending()
532 static void mtk_hsdma_free_rooms_in_ring(struct mtk_hsdma_device *hsdma) in mtk_hsdma_free_rooms_in_ring()
646 struct mtk_hsdma_device *hsdma = devid; in mtk_hsdma_irq() local
707 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); in mtk_hsdma_issue_pending() local
809 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); in mtk_hsdma_alloc_chan_resources() local
835 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); in mtk_hsdma_free_chan_resources() local
847 static int mtk_hsdma_hw_init(struct mtk_hsdma_device *hsdma) in mtk_hsdma_hw_init()
864 static int mtk_hsdma_hw_deinit(struct mtk_hsdma_device *hsdma) in mtk_hsdma_hw_deinit()
895 struct mtk_hsdma_device *hsdma; in mtk_hsdma_probe() local
1014 struct mtk_hsdma_device *hsdma = platform_get_drvdata(pdev); in mtk_hsdma_remove() local