Searched refs:bclk (Results 1 – 2 of 2) sorted by relevance
519 uint32_t bclk = sampleRate * bitWidth * 2U; in WM8904_SetMasterClock() local528 if ((sysclk / bclk > 48U) || (bclk / sampleRate > 2047U) || (bclk / sampleRate < 8U)) in WM8904_SetMasterClock()540 bclkDiv = (sysclk * 10U) / bclk; in WM8904_SetMasterClock()636 audioInterface = (uint16_t)((1UL << 11U) | (bclk / sampleRate)); in WM8904_SetMasterClock()
1856 uint32_t bclk = 0; in SAI_TxSetFormat() local1863 bclk = format->sampleRate_Hz * format->bitWidth * (format->stereo == kSAI_Stereo ? 2U : 1U); in SAI_TxSetFormat()1870 bclk = format->sampleRate_Hz * 32U * 2U; in SAI_TxSetFormat()1887 divider = bclkSourceClockHz / bclk; in SAI_TxSetFormat()1894 if ((bclkSourceClockHz / divider) > bclk) in SAI_TxSetFormat()1999 uint32_t bclk = 0; in SAI_RxSetFormat() local2006 bclk = format->sampleRate_Hz * format->bitWidth * (format->stereo == kSAI_Stereo ? 2U : 1U); in SAI_RxSetFormat()2013 bclk = format->sampleRate_Hz * 32U * 2U; in SAI_RxSetFormat()2030 divider = bclkSourceClockHz / bclk; in SAI_RxSetFormat()2037 if ((bclkSourceClockHz / divider) > bclk) in SAI_RxSetFormat()