Lines Matching refs:cpr_mconfig
549 struct skl_cpr_cfg *cpr_mconfig) in skl_copy_copier_caps() argument
554 memcpy(cpr_mconfig->gtw_cfg.config_data, in skl_copy_copier_caps()
558 cpr_mconfig->gtw_cfg.config_length = in skl_copy_copier_caps()
626 struct skl_cpr_cfg *cpr_mconfig) in skl_setup_cpr_gateway_cfg() argument
632 cpr_mconfig->gtw_cfg.node_id = skl_get_node_id(skl, mconfig); in skl_setup_cpr_gateway_cfg()
634 if (cpr_mconfig->gtw_cfg.node_id == SKL_NON_GATEWAY_CPR_NODE_ID) { in skl_setup_cpr_gateway_cfg()
635 cpr_mconfig->cpr_feature_mask = 0; in skl_setup_cpr_gateway_cfg()
641 cpr_mconfig->gtw_cfg.dma_buffer_size = res->dma_buffer_size; in skl_setup_cpr_gateway_cfg()
668 cpr_mconfig->gtw_cfg.dma_buffer_size = in skl_setup_cpr_gateway_cfg()
672 if (!cpr_mconfig->gtw_cfg.dma_buffer_size) { in skl_setup_cpr_gateway_cfg()
674 cpr_mconfig->gtw_cfg.dma_buffer_size = 2 * res->obs; in skl_setup_cpr_gateway_cfg()
676 cpr_mconfig->gtw_cfg.dma_buffer_size = 2 * res->ibs; in skl_setup_cpr_gateway_cfg()
680 cpr_mconfig->cpr_feature_mask = 0; in skl_setup_cpr_gateway_cfg()
681 cpr_mconfig->gtw_cfg.config_length = 0; in skl_setup_cpr_gateway_cfg()
683 skl_copy_copier_caps(mconfig, cpr_mconfig); in skl_setup_cpr_gateway_cfg()
798 struct skl_cpr_cfg *cpr_mconfig) in skl_set_copier_format() argument
800 struct skl_audio_data_format *out_fmt = &cpr_mconfig->out_fmt; in skl_set_copier_format()
801 struct skl_base_cfg *base_cfg = (struct skl_base_cfg *)cpr_mconfig; in skl_set_copier_format()
806 skl_setup_cpr_gateway_cfg(skl, mconfig, cpr_mconfig); in skl_set_copier_format()