Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/audio/
Dwm8904.c312 uint32_t sampleRate = cfg->i2s.frame_clk_freq; in wm8904_set_master_clock() local
314 uint32_t bclk = sampleRate * bitWidth * 2U; in wm8904_set_master_clock()
323 if ((sysclk / bclk > 48U) || (bclk / sampleRate > 2047U) || (bclk / sampleRate < 8U)) { in wm8904_set_master_clock()
410 audioInterface = (uint16_t)((1UL << 11U) | (bclk / sampleRate)); in wm8904_set_master_clock()