Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/dai/intel/dmic/
Ddmic_nhlt.c181 int source_pdm) in dai_ipm_source_to_enable() argument
185 if (source_pdm >= CONFIG_DAI_DMIC_HW_CONTROLLERS) in dai_ipm_source_to_enable()
191 dmic, dmic_base[source_pdm] + MIC_CONTROL)); in dai_ipm_source_to_enable()
193 dmic->enable[source_pdm] = 0x3; /* PDMi MIC A and B */ in dai_ipm_source_to_enable()
195 dmic->enable[source_pdm] = mic_swap ? 0x2 : 0x1; /* PDMi MIC B or MIC A */ in dai_ipm_source_to_enable()
204 int source_pdm; in dai_nhlt_dmic_dai_params_get() local
241 source_pdm = FIELD_GET(OUTCONTROL_IPM_SOURCE_1, outcontrol_val); in dai_nhlt_dmic_dai_params_get()
242 first_pdm = source_pdm; in dai_nhlt_dmic_dai_params_get()
243 ret = dai_ipm_source_to_enable(dmic, &n, num_pdm, stereo_pdm, source_pdm); in dai_nhlt_dmic_dai_params_get()
249 source_pdm = FIELD_GET(OUTCONTROL_IPM_SOURCE_2, outcontrol_val); in dai_nhlt_dmic_dai_params_get()
[all …]