Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/audio/
Dtlv320dac310x.c268 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 …]
Dtas6422dac.c257 switch (cfg->i2s.frame_clk_freq) { in codec_configure_dai()
268 LOG_ERR("Invalid sampling rate %zu", cfg->i2s.frame_clk_freq); in codec_configure_dai()
Dmpxxdtyy-i2s.c132 i2s_cfg.frame_clk_freq = audio_freq * factor / chan_size; in mpxxdtyy_i2s_configure()
/Zephyr-Core-3.5.0/samples/boards/litex/i2s/src/
Dmain.c50 i2s_rx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()
75 i2s_tx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()
/Zephyr-Core-3.5.0/drivers/i2s/
Di2s_nrfx.c100 i2s_cfg->frame_clk_freq * ratios[r].ratio_val; in find_suitable_clock()
114 uint32_t diff = lrck_freq >= i2s_cfg->frame_clk_freq in find_suitable_clock()
115 ? (lrck_freq - i2s_cfg->frame_clk_freq) in find_suitable_clock()
116 : (i2s_cfg->frame_clk_freq - lrck_freq); in find_suitable_clock()
155 lrck_freq >= i2s_cfg->frame_clk_freq in find_suitable_clock()
156 ? (lrck_freq - i2s_cfg->frame_clk_freq) in find_suitable_clock()
157 : (i2s_cfg->frame_clk_freq - lrck_freq); in find_suitable_clock()
176 if (lrck_freq < i2s_cfg->frame_clk_freq) { in find_suitable_clock()
411 if (i2s_cfg->frame_clk_freq == 0) { /* -> reset state */ in i2s_nrfx_configure()
Di2s_mcux_sai.c490 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_mcux_config()
492 i2s_cfg->frame_clk_freq); in i2s_mcux_config()
694 i2s_cfg->frame_clk_freq, in i2s_mcux_config()
725 i2s_cfg->frame_clk_freq, in i2s_mcux_config()
Di2s_ll_stm32.c212 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_stm32_configure()
225 bit_clk_freq = i2s_cfg->frame_clk_freq * in i2s_stm32_configure()
Di2s_mcux_flexcomm.c141 i2s_cfg->frame_clk_freq / in i2s_mcux_flexcomm_cfg_convert()
219 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_mcux_configure()
Di2s_sam_ssc.c578 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()
Di2s_litex.c356 if (i2s_cfg->frame_clk_freq != dev_audio_freq) { in i2s_litex_configure()
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_states.c26 i2s_cfg.frame_clk_freq = 0U; in ZTEST_USER()
50 i2s_cfg.frame_clk_freq = 0U; in ZTEST_USER()
Dcommon.c164 i2s_cfg.frame_clk_freq = FRAME_CLK_FREQ; in configure_stream()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Di2s.h303 uint32_t frame_clk_freq; member
/Zephyr-Core-3.5.0/samples/drivers/i2s/echo/src/
Dmain.c279 config.frame_clk_freq = SAMPLE_FREQUENCY; in main()
/Zephyr-Core-3.5.0/drivers/led_strip/
Dws2812_i2s.c189 config.frame_clk_freq = lrck_hz; /* WS (or LRCK) */ in ws2812_i2s_init()
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_speed/src/
Dtest_i2s_speed.c138 i2s_cfg.frame_clk_freq = FRAME_CLK_FREQ; in configure_stream()