Home
last modified time | relevance | path

Searched refs:mclk_div (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/audio/
Dtlv320dac310x.c264 int mdac, ndac, bclk_div, mclk_div; in codec_configure_clocks() local
347 mclk_div = DIV_ROUND_UP(cfg->mclk_freq, 1000000); in codec_configure_clocks()
350 TIMER_MCLK_DIV_EN_EXT | TIMER_MCLK_DIV_VAL(mclk_div)); in codec_configure_clocks()
351 LOG_DBG("Timer MCLK Divider: %u", mclk_div); in codec_configure_clocks()
/Zephyr-latest/drivers/i2s/
Di2s_esp32.c111 i2s_hal_clock_info->mclk_div = i2s_hal_clock_info->sclk / i2s_hal_clock_info->mclk; in i2s_esp32_calculate_clock()
112 if (i2s_hal_clock_info->mclk_div == 0) { in i2s_esp32_calculate_clock()