Lines Matching refs:cqdma2dev
163 static struct device *cqdma2dev(struct mtk_cqdma_device *cqdma) in cqdma2dev() function
235 dev_err(cqdma2dev(to_cqdma_dev(cvd->ch)), "cqdma wait transaction timeout\n"); in mtk_cqdma_start()
240 dev_err(cqdma2dev(to_cqdma_dev(cvd->ch)), "cqdma warm reset timeout\n"); in mtk_cqdma_start()
674 dev_err(cqdma2dev(to_cqdma_dev(c)), "cqdma flush timeout\n"); in mtk_cqdma_free_chan_resources()
694 pm_runtime_enable(cqdma2dev(cqdma)); in mtk_cqdma_hw_init()
695 pm_runtime_get_sync(cqdma2dev(cqdma)); in mtk_cqdma_hw_init()
700 pm_runtime_put_sync(cqdma2dev(cqdma)); in mtk_cqdma_hw_init()
701 pm_runtime_disable(cqdma2dev(cqdma)); in mtk_cqdma_hw_init()
709 dev_err(cqdma2dev(cqdma), "cqdma hard reset timeout\n"); in mtk_cqdma_hw_init()
713 pm_runtime_put_sync(cqdma2dev(cqdma)); in mtk_cqdma_hw_init()
714 pm_runtime_disable(cqdma2dev(cqdma)); in mtk_cqdma_hw_init()
732 dev_err(cqdma2dev(cqdma), "cqdma hard reset timeout\n"); in mtk_cqdma_hw_deinit()
738 pm_runtime_put_sync(cqdma2dev(cqdma)); in mtk_cqdma_hw_deinit()
739 pm_runtime_disable(cqdma2dev(cqdma)); in mtk_cqdma_hw_deinit()