mtk_cqdma_device
static struct mtk_cqdma_device *to_cqdma_dev(struct dma_chan *chan)
return container_of(chan->device, struct mtk_cqdma_device, ddev);
static struct device *cqdma2dev(struct mtk_cqdma_device *cqdma)
struct mtk_cqdma_device *cqdma = devid;
struct mtk_cqdma_device *cqdma = to_cqdma_dev(c);
static int mtk_cqdma_hw_init(struct mtk_cqdma_device *cqdma)
static void mtk_cqdma_hw_deinit(struct mtk_cqdma_device *cqdma)
struct mtk_cqdma_device *cqdma;
struct mtk_cqdma_device *cqdma = platform_get_drvdata(pdev);