Lines Matching refs:mconfig

219 	struct skl_module_cfg *mconfig;  in skl_pcm_open()  local
253 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_open()
254 if (!mconfig) in skl_pcm_open()
257 skl_tplg_d0i3_get(skl, mconfig->d0i3_caps); in skl_pcm_open()
266 struct skl_module_cfg *mconfig; in skl_pcm_prepare() local
271 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_prepare()
277 if (mconfig && in skl_pcm_prepare()
279 mconfig->pipe->state == SKL_PIPE_CREATED || in skl_pcm_prepare()
280 mconfig->pipe->state == SKL_PIPE_PAUSED)) { in skl_pcm_prepare()
282 ret = skl_reset_pipe(skl, mconfig->pipe); in skl_pcm_prepare()
288 mconfig->pipe->p_params); in skl_pcm_prepare()
345 struct skl_module_cfg *mconfig; in skl_pcm_close() local
369 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_close()
370 if (mconfig) in skl_pcm_close()
371 skl_tplg_d0i3_put(skl, mconfig->d0i3_caps); in skl_pcm_close()
381 struct skl_module_cfg *mconfig; in skl_pcm_hw_free() local
386 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_hw_free()
388 if (mconfig) { in skl_pcm_hw_free()
389 ret = skl_reset_pipe(skl, mconfig->pipe); in skl_pcm_hw_free()
465 struct skl_module_cfg *mconfig; in skl_pcm_trigger() local
471 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_trigger()
472 if (!mconfig) in skl_pcm_trigger()
504 return skl_run_pipe(skl, mconfig->pipe); in skl_pcm_trigger()
515 ret = skl_stop_pipe(skl, mconfig->pipe); in skl_pcm_trigger()
592 struct skl_module_cfg *mconfig = NULL; in skl_link_pcm_prepare() local
595 mconfig = skl_tplg_be_get_cpr_module(dai, substream->stream); in skl_link_pcm_prepare()
596 if (mconfig && !mconfig->pipe->passthru && in skl_link_pcm_prepare()
598 skl_reset_pipe(skl, mconfig->pipe); in skl_link_pcm_prepare()
1306 struct skl_module_cfg *mconfig) in skl_get_module_info() argument
1314 uuid_mod = (guid_t *)mconfig->guid; in skl_get_module_info()
1323 mconfig->id.module_id = module->id; in skl_get_module_info()
1324 if (mconfig->module) in skl_get_module_info()
1325 mconfig->module->loadable = module->is_loadable; in skl_get_module_info()
1340 mconfig->module = skl_module; in skl_get_module_info()
1350 pin_id = &mconfig->m_in_pin[i].id; in skl_get_module_info()
1356 pin_id = &mconfig->m_out_pin[i].id; in skl_get_module_info()
1370 struct skl_module_cfg *mconfig; in skl_populate_modules() local
1376 mconfig = w->priv; in skl_populate_modules()
1378 ret = skl_get_module_info(skl, mconfig); in skl_populate_modules()