Searched refs:bclk_div (Results 1 – 2 of 2) sorted by relevance
264 int mdac, ndac, bclk_div, mclk_div; in codec_configure_clocks() local321 bclk_div = osr * mdac / (i2s->word_size * 2U); /* stereo */ in codec_configure_clocks()322 if ((bclk_div * i2s->word_size * 2) != (osr * mdac)) { in codec_configure_clocks()328 LOG_DBG("I2S Master BCLKDIV: %u", bclk_div); in codec_configure_clocks()330 BCLK_DIV_POWER_UP | BCLK_DIV(bclk_div)); in codec_configure_clocks()343 BCLK_DIV(bclk_div) | BCLK_DIV_POWER_UP); in codec_configure_clocks()
99 i2s_hal_clock_info->bclk_div = 8; 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()107 i2s_hal_clock_info->bclk_div = i2s_hal_clock_info->mclk / i2s_hal_clock_info->bclk; in i2s_esp32_calculate_clock()