/Zephyr-latest/drivers/audio/ |
D | tlv320dac310x.c | 268 i2s->frame_clk_freq); in codec_configure_clocks() 287 osr_min = (DAC_MOD_CLK_FREQ_MIN + i2s->frame_clk_freq - 1) / in codec_configure_clocks() 288 i2s->frame_clk_freq; in codec_configure_clocks() 289 osr_max = DAC_MOD_CLK_FREQ_MAX / i2s->frame_clk_freq; in codec_configure_clocks() 297 mod_clk = i2s->frame_clk_freq * osr; in codec_configure_clocks() 324 i2s->frame_clk_freq * i2s->word_size * 2U, in codec_configure_clocks() 362 if (cfg->i2s.frame_clk_freq >= AUDIO_PCM_RATE_192K) { in codec_configure_filters() 365 cfg->i2s.frame_clk_freq); in codec_configure_filters() 366 } else if (cfg->i2s.frame_clk_freq >= AUDIO_PCM_RATE_96K) { in codec_configure_filters() 369 cfg->i2s.frame_clk_freq); in codec_configure_filters() [all …]
|
D | wm8904.c | 77 switch (cfg->i2s.frame_clk_freq) { in wm8904_audio_fmt_config() 106 LOG_WRN("Invalid codec sample rate: %d", cfg->i2s.frame_clk_freq); in wm8904_audio_fmt_config() 111 fs = (mclk >> (mclkDiv & 0x1U)) / cfg->i2s.frame_clk_freq; in wm8904_audio_fmt_config() 312 uint32_t sampleRate = cfg->i2s.frame_clk_freq; in wm8904_set_master_clock()
|
D | tas6422dac.c | 259 switch (cfg->i2s.frame_clk_freq) { in codec_configure_dai() 270 LOG_ERR("Invalid sampling rate %zu", cfg->i2s.frame_clk_freq); in codec_configure_dai()
|
D | mpxxdtyy-i2s.c | 132 i2s_cfg.frame_clk_freq = audio_freq * factor / chan_size; in mpxxdtyy_i2s_configure()
|
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_errors.c | 20 .frame_clk_freq = FRAME_CLK_FREQ, in ZTEST_USER() 58 .frame_clk_freq = FRAME_CLK_FREQ, in ZTEST_USER() 91 .frame_clk_freq = FRAME_CLK_FREQ, in ZTEST_USER() 115 .frame_clk_freq = 0, in ZTEST_USER() 139 .frame_clk_freq = FRAME_CLK_FREQ, in ZTEST_USER()
|
D | test_i2s_states.c | 26 i2s_cfg.frame_clk_freq = 0U; in ZTEST_USER() 50 i2s_cfg.frame_clk_freq = 0U; in ZTEST_USER()
|
D | common.c | 164 i2s_cfg.frame_clk_freq = FRAME_CLK_FREQ; in configure_stream()
|
/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/src/ |
D | main.c | 50 i2s_rx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init() 75 i2s_tx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_nrfx.c | 105 i2s_cfg->frame_clk_freq * ratios[r].ratio_val; in find_suitable_clock() 125 uint32_t diff = lrck_freq >= i2s_cfg->frame_clk_freq in find_suitable_clock() 126 ? (lrck_freq - i2s_cfg->frame_clk_freq) in find_suitable_clock() 127 : (i2s_cfg->frame_clk_freq - lrck_freq); in find_suitable_clock() 161 lrck_freq >= i2s_cfg->frame_clk_freq in find_suitable_clock() 162 ? (lrck_freq - i2s_cfg->frame_clk_freq) in find_suitable_clock() 163 : (i2s_cfg->frame_clk_freq - lrck_freq); in find_suitable_clock() 177 if (lrck_freq < i2s_cfg->frame_clk_freq) { in find_suitable_clock() 430 if (i2s_cfg->frame_clk_freq == 0) { /* -> reset state */ in i2s_nrfx_configure()
|
D | i2s_esp32.c | 101 i2s_cfg->frame_clk_freq * i2s_cfg->channels * channel_length; in i2s_esp32_calculate_clock() 102 i2s_hal_clock_info->mclk = i2s_cfg->frame_clk_freq * i2s_hal_clock_info->bclk_div; in i2s_esp32_calculate_clock() 105 i2s_cfg->frame_clk_freq * i2s_cfg->channels * channel_length; in i2s_esp32_calculate_clock() 106 i2s_hal_clock_info->mclk = i2s_cfg->frame_clk_freq * mclk_multiple; in i2s_esp32_calculate_clock() 535 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_esp32_configure()
|
D | i2s_mcux_sai.c | 461 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_mcux_config() 462 LOG_ERR("Invalid frame_clk_freq %u", i2s_cfg->frame_clk_freq); in i2s_mcux_config() 647 SAI_TxSetBitClockRate(base, mclk, i2s_cfg->frame_clk_freq, word_size_bits, in i2s_mcux_config() 670 SAI_RxSetBitClockRate(base, mclk, i2s_cfg->frame_clk_freq, word_size_bits, in i2s_mcux_config()
|
D | i2s_mcux_flexcomm.c | 140 i2s_cfg->frame_clk_freq / in i2s_mcux_flexcomm_cfg_convert() 215 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_mcux_configure()
|
D | i2s_sam_ssc.c | 578 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_sam_configure() 611 bit_clk_freq = i2s_cfg->frame_clk_freq * word_size_bits * num_words; in i2s_sam_configure()
|
D | i2s_ll_stm32.c | 226 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_stm32_configure() 239 bit_clk_freq = i2s_cfg->frame_clk_freq * in i2s_stm32_configure()
|
D | i2s_litex.c | 356 if (i2s_cfg->frame_clk_freq != dev_audio_freq) { in i2s_litex_configure()
|
/Zephyr-latest/samples/drivers/i2s/i2s_codec/src/ |
D | main.c | 119 audio_cfg.dai_cfg.i2s.frame_clk_freq = SAMPLE_FREQUENCY; in main() 147 config.frame_clk_freq = SAMPLE_FREQUENCY; in main()
|
/Zephyr-latest/samples/drivers/i2s/output/src/ |
D | main.c | 75 i2s_cfg.frame_clk_freq = 44100; in main()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i2s.h | 305 uint32_t frame_clk_freq; member
|
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/ |
D | main.c | 274 config.frame_clk_freq = SAMPLE_FREQUENCY; in main()
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_i2s.c | 176 config.frame_clk_freq = lrck_hz; /* WS (or LRCK) */ in ws2812_i2s_init()
|
/Zephyr-latest/samples/drivers/i2s/echo/src/ |
D | main.c | 279 config.frame_clk_freq = SAMPLE_FREQUENCY; in main()
|
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/ |
D | main.c | 537 config.frame_clk_freq = SAMPLE_FREQUENCY; in main()
|
/Zephyr-latest/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 138 i2s_cfg.frame_clk_freq = FRAME_CLK_FREQ; in configure_stream()
|