mtk_hsdma_device 249 drivers/dma/mediatek/mtk-hsdma.c static struct mtk_hsdma_device *to_hsdma_dev(struct dma_chan *chan) mtk_hsdma_device 251 drivers/dma/mediatek/mtk-hsdma.c return container_of(chan->device, struct mtk_hsdma_device, ddev); mtk_hsdma_device 264 drivers/dma/mediatek/mtk-hsdma.c static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma) mtk_hsdma_device 269 drivers/dma/mediatek/mtk-hsdma.c static u32 mtk_dma_read(struct mtk_hsdma_device *hsdma, u32 reg) mtk_hsdma_device 274 drivers/dma/mediatek/mtk-hsdma.c static void mtk_dma_write(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) mtk_hsdma_device 279 drivers/dma/mediatek/mtk-hsdma.c static void mtk_dma_rmw(struct mtk_hsdma_device *hsdma, u32 reg, mtk_hsdma_device 290 drivers/dma/mediatek/mtk-hsdma.c static void mtk_dma_set(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) mtk_hsdma_device 295 drivers/dma/mediatek/mtk-hsdma.c static void mtk_dma_clr(struct mtk_hsdma_device *hsdma, u32 reg, u32 val) mtk_hsdma_device 305 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_busy_wait(struct mtk_hsdma_device *hsdma) mtk_hsdma_device 315 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_alloc_pchan(struct mtk_hsdma_device *hsdma, mtk_hsdma_device 388 drivers/dma/mediatek/mtk-hsdma.c static void mtk_hsdma_free_pchan(struct mtk_hsdma_device *hsdma, mtk_hsdma_device 412 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_issue_pending_vdesc(struct mtk_hsdma_device *hsdma, mtk_hsdma_device 495 drivers/dma/mediatek/mtk-hsdma.c static void mtk_hsdma_issue_vchan_pending(struct mtk_hsdma_device *hsdma, mtk_hsdma_device 533 drivers/dma/mediatek/mtk-hsdma.c static void mtk_hsdma_free_rooms_in_ring(struct mtk_hsdma_device *hsdma) mtk_hsdma_device 647 drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_device *hsdma = devid; mtk_hsdma_device 708 drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); mtk_hsdma_device 810 drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); mtk_hsdma_device 836 drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_device *hsdma = to_hsdma_dev(c); mtk_hsdma_device 848 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_hw_init(struct mtk_hsdma_device *hsdma) mtk_hsdma_device 865 drivers/dma/mediatek/mtk-hsdma.c static int mtk_hsdma_hw_deinit(struct mtk_hsdma_device *hsdma) mtk_hsdma_device 896 drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_device *hsdma; mtk_hsdma_device 1017 drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_device *hsdma = platform_get_drvdata(pdev);