Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic_nhlt.c183 int mic_swap; in dai_ipm_source_to_enable() local
191 mic_swap = FIELD_GET(MIC_CONTROL_CLK_EDGE, dai_dmic_read( 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()
345 int mic_swap; in dai_nhlt_dmic_dai_params_get() local
384 mic_swap = FIELD_GET(MIC_CONTROL_CLK_EDGE, mic_control[0]); in dai_nhlt_dmic_dai_params_get()
385 dmic->enable[0] = mic_swap ? 0x2 : 0x1; /* PDM0 MIC B or MIC A */ in dai_nhlt_dmic_dai_params_get()
398 mic_swap = FIELD_GET(MIC_CONTROL_CLK_EDGE, mic_control[1]); in dai_nhlt_dmic_dai_params_get()
399 dmic->enable[1] = mic_swap ? 0x2 : 0x1; /* PDM1 MIC B or MIC A */ in dai_nhlt_dmic_dai_params_get()