Lines Matching refs:dst_mcfg

677 			struct skl_module_cfg *dst_mcfg)  in skl_unbind_modules()  argument
682 struct skl_module_inst_id dst_id = dst_mcfg->id; in skl_unbind_modules()
683 int in_max = dst_mcfg->max_in_queue; in skl_unbind_modules()
687 skl_dump_bind_info(ctx, src_mcfg, dst_mcfg); in skl_unbind_modules()
696 if ((src_mcfg->pipe->ppl_id != dst_mcfg->pipe->ppl_id) && in skl_unbind_modules()
697 dst_mcfg->m_state != SKL_MODULE_BIND_DONE) in skl_unbind_modules()
700 dst_mcfg->m_state < SKL_MODULE_INIT_DONE) in skl_unbind_modules()
711 dst_index = skl_get_queue_index(dst_mcfg->m_in_pin, src_id, in_max); in skl_unbind_modules()
715 msg.dst_queue = dst_mcfg->m_in_pin[dst_index].pin_index; in skl_unbind_modules()
719 msg.dst_module_id = dst_mcfg->id.module_id; in skl_unbind_modules()
720 msg.dst_instance_id = dst_mcfg->id.instance_id; in skl_unbind_modules()
728 skl_free_queue(dst_mcfg->m_in_pin, dst_index); in skl_unbind_modules()
743 struct skl_module_cfg *dst_mcfg) in skl_bind_modules() argument
748 struct skl_module_inst_id dst_id = dst_mcfg->id; in skl_bind_modules()
749 int in_max = dst_mcfg->max_in_queue; in skl_bind_modules()
753 skl_dump_bind_info(ctx, src_mcfg, dst_mcfg); in skl_bind_modules()
756 dst_mcfg->m_state < SKL_MODULE_INIT_DONE) in skl_bind_modules()
764 dst_index = skl_alloc_queue(dst_mcfg->m_in_pin, src_id, in_max); in skl_bind_modules()
770 msg.dst_queue = dst_mcfg->m_in_pin[dst_index].pin_index; in skl_bind_modules()
777 msg.dst_module_id = dst_mcfg->id.module_id; in skl_bind_modules()
778 msg.dst_instance_id = dst_mcfg->id.instance_id; in skl_bind_modules()
788 skl_free_queue(dst_mcfg->m_in_pin, dst_index); in skl_bind_modules()