Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/i2s/i2s_codec/src/
Dmain.c115 audio_cfg.dai_cfg.i2s.word_size = SAMPLE_BIT_WIDTH; in main()
116 audio_cfg.dai_cfg.i2s.channels = 2; in main()
117 audio_cfg.dai_cfg.i2s.format = I2S_FMT_DATA_FORMAT_I2S; in main()
118 audio_cfg.dai_cfg.i2s.options = I2S_OPT_FRAME_CLK_MASTER; in main()
119 audio_cfg.dai_cfg.i2s.frame_clk_freq = SAMPLE_FREQUENCY; in main()
120 audio_cfg.dai_cfg.i2s.mem_slab = &mem_slab; in main()
121 audio_cfg.dai_cfg.i2s.block_size = BLOCK_SIZE; in main()
/Zephyr-latest/drivers/audio/
Dtlv320dac310x.c101 ret = codec_configure_dai(dev, &cfg->dai_cfg); in codec_configure()
104 ret = codec_configure_filters(dev, &cfg->dai_cfg); in codec_configure()
266 i2s = &cfg->dai_cfg.i2s; in codec_configure_clocks()
280 osr_multiple = codec_get_osr_multiple(&cfg->dai_cfg); in codec_configure_clocks()
Dwm8904.c505 wm8904_audio_fmt_config(dev, &cfg->dai_cfg, cfg->mclk_freq); in wm8904_configure()
507 if ((cfg->dai_cfg.i2s.options & I2S_OPT_FRAME_CLK_MASTER) == I2S_OPT_FRAME_CLK_MASTER) { in wm8904_configure()
508 wm8904_set_master_clock(dev, &cfg->dai_cfg, cfg->mclk_freq); in wm8904_configure()
Dtas6422dac.c101 ret = codec_configure_dai(dev, &cfg->dai_cfg); in codec_configure()
/Zephyr-latest/include/zephyr/audio/
Dcodec.h125 audio_dai_cfg_t dai_cfg; /**< DAI configuration info */ member