Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/dai/intel/dmic/
Ddmic_nhlt.c61 uint32_t outcontrol_val = outcontrol[dmic->dai_config_params.dai_index]; in dai_nhlt_dmic_dai_params_get()
136 switch (OUTCONTROL0_OF_GET(outcontrol[dmic->dai_config_params.dai_index])) { in dai_nhlt_dmic_dai_params_get()
149 switch (OUTCONTROL0_IPM_GET(outcontrol[dmic->dai_config_params.dai_index])) { in dai_nhlt_dmic_dai_params_get()
243 if (dmic->dai_config_params.dai_index >= DMIC_HW_FIFOS_MAX) { in dai_dmic_set_config_nhlt()
245 dmic->dai_config_params.dai_index); in dai_dmic_set_config_nhlt()
320 val = (out_control[dmic->dai_config_params.dai_index] & in dai_dmic_set_config_nhlt()
323 if (dmic->dai_config_params.dai_index == 0) in dai_dmic_set_config_nhlt()
329 dmic->dai_config_params.dai_index, val); in dai_dmic_set_config_nhlt()
429 if (dmic->dai_config_params.dai_index == 0) { in dai_dmic_set_config_nhlt()
491 if (dmic->dai_config_params.dai_index == 1) { in dai_dmic_set_config_nhlt()
[all …]
Ddmic.c520 switch (dmic->dai_config_params.dai_index) { in dai_dmic_gain_ramp()
531 switch (dmic->dai_config_params.dai_index) { in dai_dmic_gain_ramp()
570 switch (dmic->dai_config_params.dai_index) { in dai_dmic_start()
639 switch (dmic->dai_config_params.dai_index) { in dai_dmic_start()
667 dai_dmic_global.active_fifos_mask |= BIT(dmic->dai_config_params.dai_index); in dai_dmic_start()
668 dai_dmic_global.pause_mask &= ~BIT(dmic->dai_config_params.dai_index); in dai_dmic_start()
687 dai_dmic_stop_fifo_packers(dmic, dmic->dai_config_params.dai_index); in dai_dmic_stop()
697 dai_dmic_global.active_fifos_mask &= ~BIT(dmic->dai_config_params.dai_index); in dai_dmic_stop()
699 dai_dmic_global.pause_mask |= BIT(dmic->dai_config_params.dai_index); in dai_dmic_stop()
701 dai_dmic_global.pause_mask &= ~BIT(dmic->dai_config_params.dai_index); in dai_dmic_stop()
[all …]
/Zephyr-Core-3.4.0/drivers/dai/intel/ssp/
Dssp.c589 static int dai_ssp_mn_set_bclk(struct dai_intel_ssp *dp, uint32_t dai_index, uint32_t bclk_rate, in dai_ssp_mn_set_bclk() argument
601 mp->bclk_sources[dai_index] = MN_BCLK_SOURCE_NONE; in dai_ssp_mn_set_bclk()
606 mp->bclk_sources[dai_index] = MN_BCLK_SOURCE_XTAL; in dai_ssp_mn_set_bclk()
620 mp->bclk_sources[dai_index] = MN_BCLK_SOURCE_MN; in dai_ssp_mn_set_bclk()
625 sys_write32(m, dai_mn_base(dp) + MN_MDIV_M_VAL(dai_index)); in dai_ssp_mn_set_bclk()
626 sys_write32(n, dai_mn_base(dp) + MN_MDIV_N_VAL(dai_index)); in dai_ssp_mn_set_bclk()
636 static void dai_ssp_mn_release_bclk(struct dai_intel_ssp *dp, uint32_t dai_index) in dai_ssp_mn_release_bclk() argument
643 mp->bclk_sources[dai_index] = MN_BCLK_SOURCE_NONE; in dai_ssp_mn_release_bclk()
654 static void dai_ssp_mn_reset_bclk_divider(struct dai_intel_ssp *dp, uint32_t dai_index) in dai_ssp_mn_reset_bclk_divider() argument
661 sys_write32(1, dai_mn_base(dp) + MN_MDIV_M_VAL(dai_index)); in dai_ssp_mn_reset_bclk_divider()
[all …]
/Zephyr-Core-3.4.0/drivers/dai/intel/hda/
Dhda.c114 .dai_index = DT_INST_REG_ADDR(n), \
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Ddai.h207 uint32_t dai_index; member
/Zephyr-Core-3.4.0/drivers/dai/intel/alh/
Dalh.c208 .dai_index = (n / DAI_NUM_ALH_BI_DIR_LINKS_GROUP) << 8 | \
/Zephyr-Core-3.4.0/tests/boards/intel_adsp/ssp/src/
Dmain.c353 config.dai_index = 0; in ZTEST()