Lines Matching refs:md_ctrl
259 static void t7xx_cldma_exception(struct cldma_ctrl *md_ctrl, enum hif_ex_stage stage) in t7xx_cldma_exception() argument
263 t7xx_cldma_stop_all_qs(md_ctrl, MTK_TX); in t7xx_cldma_exception()
264 t7xx_cldma_clear_all_qs(md_ctrl, MTK_TX); in t7xx_cldma_exception()
271 t7xx_cldma_stop_all_qs(md_ctrl, MTK_RX); in t7xx_cldma_exception()
272 t7xx_cldma_stop(md_ctrl); in t7xx_cldma_exception()
274 if (md_ctrl->hif_id == CLDMA_ID_MD) in t7xx_cldma_exception()
275 t7xx_cldma_hw_reset(md_ctrl->t7xx_dev->base_addr.infracfg_ao_base); in t7xx_cldma_exception()
277 t7xx_cldma_clear_all_qs(md_ctrl, MTK_RX); in t7xx_cldma_exception()
281 t7xx_cldma_hw_init(&md_ctrl->hw_info); in t7xx_cldma_exception()
282 t7xx_cldma_start(md_ctrl); in t7xx_cldma_exception()
300 t7xx_cldma_exception(md->md_ctrl[CLDMA_ID_MD], stage); in t7xx_md_exception()
530 t7xx_cldma_switch_cfg(md->md_ctrl[CLDMA_ID_MD]); in t7xx_md_hk_wq()
531 t7xx_cldma_start(md->md_ctrl[CLDMA_ID_MD]); in t7xx_md_hk_wq()
642 t7xx_cldma_reset(md->md_ctrl[CLDMA_ID_MD]); in t7xx_md_reset()
680 ret = t7xx_cldma_init(md->md_ctrl[CLDMA_ID_MD]); in t7xx_md_init()
700 t7xx_cldma_exit(md->md_ctrl[CLDMA_ID_MD]); in t7xx_md_init()
725 t7xx_cldma_exit(md->md_ctrl[CLDMA_ID_MD]); in t7xx_md_exit()