Lines Matching defs:mtk_hsdma_device
218 * struct mtk_hsdma_device - This is the struct holding info describing HSDMA
232 struct mtk_hsdma_device {
249 static struct mtk_hsdma_device *to_hsdma_dev(struct dma_chan *chan)
251 return container_of(chan->device, struct mtk_hsdma_device, ddev);
264 static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma)
269 static u32 mtk_dma_read(struct mtk_hsdma_device *hsdma, u32 reg)
274 static void mtk_dma_write(struct mtk_hsdma_device *hsdma, u32 reg, u32 val)
279 static void mtk_dma_rmw(struct mtk_hsdma_device *hsdma, u32 reg,
290 static void mtk_dma_set(struct mtk_hsdma_device *hsdma, u32 reg, u32 val)
295 static void mtk_dma_clr(struct mtk_hsdma_device *hsdma, u32 reg, u32 val)
305 static int mtk_hsdma_busy_wait(struct mtk_hsdma_device *hsdma)
315 static int mtk_hsdma_alloc_pchan(struct mtk_hsdma_device *hsdma,
388 static void mtk_hsdma_free_pchan(struct mtk_hsdma_device *hsdma,
412 static int mtk_hsdma_issue_pending_vdesc(struct mtk_hsdma_device *hsdma,
495 static void mtk_hsdma_issue_vchan_pending(struct mtk_hsdma_device *hsdma,
533 static void mtk_hsdma_free_rooms_in_ring(struct mtk_hsdma_device *hsdma)
647 struct mtk_hsdma_device *hsdma = devid;
708 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c);
810 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c);
836 struct mtk_hsdma_device *hsdma = to_hsdma_dev(c);
848 static int mtk_hsdma_hw_init(struct mtk_hsdma_device *hsdma)
865 static int mtk_hsdma_hw_deinit(struct mtk_hsdma_device *hsdma)
896 struct mtk_hsdma_device *hsdma;
1020 struct mtk_hsdma_device *hsdma = platform_get_drvdata(pdev);