Searched refs:frame_clk_freq (Results 1 – 16 of 16) sorted by relevance
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 …]
257 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()
132 i2s_cfg.frame_clk_freq = audio_freq * factor / chan_size; in mpxxdtyy_i2s_configure()
50 i2s_rx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()75 i2s_tx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()
100 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()
490 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()
212 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_stm32_configure()225 bit_clk_freq = i2s_cfg->frame_clk_freq * in i2s_stm32_configure()
141 i2s_cfg->frame_clk_freq / in i2s_mcux_flexcomm_cfg_convert()219 if (i2s_cfg->frame_clk_freq == 0U) { in i2s_mcux_configure()
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()
356 if (i2s_cfg->frame_clk_freq != dev_audio_freq) { in i2s_litex_configure()
26 i2s_cfg.frame_clk_freq = 0U; in ZTEST_USER()50 i2s_cfg.frame_clk_freq = 0U; in ZTEST_USER()
164 i2s_cfg.frame_clk_freq = FRAME_CLK_FREQ; in configure_stream()
303 uint32_t frame_clk_freq; member
279 config.frame_clk_freq = SAMPLE_FREQUENCY; in main()
189 config.frame_clk_freq = lrck_hz; /* WS (or LRCK) */ in ws2812_i2s_init()
138 i2s_cfg.frame_clk_freq = FRAME_CLK_FREQ; in configure_stream()