Lines Matching refs:num_pdm
208 int num_pdm; in dai_nhlt_dmic_dai_params_get() local
229 num_pdm = FIELD_GET(OUTCONTROL_IPM, outcontrol_val); in dai_nhlt_dmic_dai_params_get()
230 if (num_pdm > CONFIG_DAI_DMIC_HW_CONTROLLERS) { in dai_nhlt_dmic_dai_params_get()
232 num_pdm); in dai_nhlt_dmic_dai_params_get()
238 dmic->dai_config_params.channels = (stereo_pdm + 1) * num_pdm; in dai_nhlt_dmic_dai_params_get()
246 ret = dai_ipm_source_to_enable(dmic, &n, num_pdm, stereo_pdm, source_pdm); in dai_nhlt_dmic_dai_params_get()
253 ret = dai_ipm_source_to_enable(dmic, &n, num_pdm, stereo_pdm, source_pdm); in dai_nhlt_dmic_dai_params_get()
260 ret = dai_ipm_source_to_enable(dmic, &n, num_pdm, stereo_pdm, source_pdm); in dai_nhlt_dmic_dai_params_get()
267 ret = dai_ipm_source_to_enable(dmic, &n, num_pdm, stereo_pdm, source_pdm); in dai_nhlt_dmic_dai_params_get()
645 int num_pdm; in dai_dmic_set_config_nhlt() local
721 num_pdm = POPCOUNT(pdm_ctrl_mask); /* Count set bits */ in dai_dmic_set_config_nhlt()
724 if (num_pdm < 1 || num_pdm > CONFIG_DAI_DMIC_HW_CONTROLLERS) { in dai_dmic_set_config_nhlt()
725 LOG_ERR("dmic_set_config_nhlt(): illegal number of PDMs %d", num_pdm); in dai_dmic_set_config_nhlt()