Lines Matching refs:cpr_mconfig
480 struct skl_cpr_cfg *cpr_mconfig) in skl_copy_copier_caps() argument
485 memcpy(cpr_mconfig->gtw_cfg.config_data, in skl_copy_copier_caps()
489 cpr_mconfig->gtw_cfg.config_length = in skl_copy_copier_caps()
557 struct skl_cpr_cfg *cpr_mconfig) in skl_setup_cpr_gateway_cfg() argument
563 cpr_mconfig->gtw_cfg.node_id = skl_get_node_id(skl, mconfig); in skl_setup_cpr_gateway_cfg()
565 if (cpr_mconfig->gtw_cfg.node_id == SKL_NON_GATEWAY_CPR_NODE_ID) { in skl_setup_cpr_gateway_cfg()
566 cpr_mconfig->cpr_feature_mask = 0; in skl_setup_cpr_gateway_cfg()
572 cpr_mconfig->gtw_cfg.dma_buffer_size = res->dma_buffer_size; in skl_setup_cpr_gateway_cfg()
599 cpr_mconfig->gtw_cfg.dma_buffer_size = in skl_setup_cpr_gateway_cfg()
603 if (!cpr_mconfig->gtw_cfg.dma_buffer_size) { in skl_setup_cpr_gateway_cfg()
605 cpr_mconfig->gtw_cfg.dma_buffer_size = 2 * res->obs; in skl_setup_cpr_gateway_cfg()
607 cpr_mconfig->gtw_cfg.dma_buffer_size = 2 * res->ibs; in skl_setup_cpr_gateway_cfg()
611 cpr_mconfig->cpr_feature_mask = 0; in skl_setup_cpr_gateway_cfg()
612 cpr_mconfig->gtw_cfg.config_length = 0; in skl_setup_cpr_gateway_cfg()
614 skl_copy_copier_caps(mconfig, cpr_mconfig); in skl_setup_cpr_gateway_cfg()
729 struct skl_cpr_cfg *cpr_mconfig) in skl_set_copier_format() argument
731 struct skl_audio_data_format *out_fmt = &cpr_mconfig->out_fmt; in skl_set_copier_format()
732 struct skl_base_cfg *base_cfg = (struct skl_base_cfg *)cpr_mconfig; in skl_set_copier_format()
737 skl_setup_cpr_gateway_cfg(skl, mconfig, cpr_mconfig); in skl_set_copier_format()