Home
last modified time | relevance | path

Searched refs:pdm_cfg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/drivers/dai/intel/dmic/
Ddmic_nhlt.c90 const struct nhlt_pdm_ctrl_cfg * const pdm_cfg, in dai_dmic_configure_coeff() argument
98 fir_length_a = FIELD_GET(FIR_CONFIG_FIR_LENGTH, pdm_cfg->fir_config[0].fir_config) + 1; in dai_dmic_configure_coeff()
99 fir_length_b = FIELD_GET(FIR_CONFIG_FIR_LENGTH, pdm_cfg->fir_config[1].fir_config) + 1; in dai_dmic_configure_coeff()
549 static void print_pdm_ctrl(const struct nhlt_pdm_ctrl_cfg *pdm_cfg) in print_pdm_ctrl() argument
554 LOG_DBG("CIC_CONTROL = %08x", pdm_cfg->cic_control); in print_pdm_ctrl()
556 val = pdm_cfg->cic_config; in print_pdm_ctrl()
562 val = pdm_cfg->mic_control; in print_pdm_ctrl()
631 const struct nhlt_pdm_ctrl_cfg *pdm_cfg; in dai_dmic_set_config_nhlt() local
724 pdm_cfg = (const struct nhlt_pdm_ctrl_cfg *)p; in dai_dmic_set_config_nhlt()
739 print_pdm_ctrl(pdm_cfg); in dai_dmic_set_config_nhlt()
[all …]
/Zephyr-Core-3.7.0/drivers/audio/
Ddmic_nrfx_pdm.c126 const struct dmic_cfg *pdm_cfg, in check_pdm_frequencies() argument
132 uint32_t req_rate = pdm_cfg->streams[0].pcm_rate; in check_pdm_frequencies()
161 if (act_freq >= pdm_cfg->io.min_pdm_clk_freq && in check_pdm_frequencies()
162 act_freq <= pdm_cfg->io.max_pdm_clk_freq && in check_pdm_frequencies()
191 if (freq_val < pdm_cfg->io.min_pdm_clk_freq) { in check_pdm_frequencies()
194 if (freq_val > pdm_cfg->io.max_pdm_clk_freq) { in check_pdm_frequencies()
228 const struct dmic_cfg *pdm_cfg) in find_suitable_clock() argument
246 if (check_pdm_frequencies(drv_cfg, config, pdm_cfg, ratio, in find_suitable_clock()
261 (void)check_pdm_frequencies(drv_cfg, config, pdm_cfg, ratio, in find_suitable_clock()