Home
last modified time | relevance | path

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

/Zephyr-latest/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()
192 dmic, dmic_base[source_pdm] + MIC_CONTROL)); in dai_ipm_source_to_enable()
194 dmic->enable[source_pdm] = 0x3; /* PDMi MIC A and B */ in dai_ipm_source_to_enable()
196 dmic->enable[source_pdm] = mic_swap ? 0x2 : 0x1; /* PDMi MIC B or MIC A */ in dai_ipm_source_to_enable()
206 int source_pdm; in dai_nhlt_dmic_dai_params_get() local
244 source_pdm = FIELD_GET(OUTCONTROL_IPM_SOURCE_1, outcontrol_val); in dai_nhlt_dmic_dai_params_get()
245 first_pdm = source_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()
252 source_pdm = FIELD_GET(OUTCONTROL_IPM_SOURCE_2, outcontrol_val); in dai_nhlt_dmic_dai_params_get()
[all …]