Lines Matching full:pdm
23 /* Base addresses (in PDM scope) of 2ch PDM controllers and coefficient RAM. */
129 static int dai_nhlt_get_clock_div(const struct dai_intel_dmic *dmic, const int pdm) in dai_nhlt_get_clock_div() argument
134 val = dai_dmic_read(dmic, dmic_base[pdm] + CIC_CONFIG); in dai_nhlt_get_clock_div()
137 val = dai_dmic_read(dmic, dmic_base[pdm] + MIC_CONTROL); in dai_nhlt_get_clock_div()
140 val = dai_dmic_read(dmic, dmic_base[pdm] + in dai_nhlt_get_clock_div()
142 LOG_INF("pdm = %d, FIR_CONFIG = 0x%08X", pdm, val); in dai_nhlt_get_clock_div()
158 static int dai_nhlt_update_rate(struct dai_intel_dmic *dmic, const int clock_source, const int pdm) in dai_nhlt_update_rate() argument
162 rate_div = dai_nhlt_get_clock_div(dmic, pdm); in dai_nhlt_update_rate()
231 LOG_ERR("nhlt_dmic_dai_params_get(): Illegal IPM PDM controllers count %d", in dai_nhlt_dmic_dai_params_get()
651 /* Array of pointers to pdm coefficient data. Used to reuse coefficient from another pdm. */ in dai_dmic_set_config_nhlt()
735 /* Set MIC_MUTE bit to unused PDM */ in dai_dmic_set_config_nhlt()
740 LOG_DBG("PDM%d", pdm_idx); in dai_dmic_set_config_nhlt()
785 /* get FIR coeffs from another pdm */ in dai_dmic_set_config_nhlt()
796 /* Update pdm_cfg ptr for next PDM Ctrl. */ in dai_dmic_set_config_nhlt()