Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8904/
Dfsl_wm8904.c519 uint32_t bclk = sampleRate * bitWidth * 2U; in WM8904_SetMasterClock() local
528 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()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c1856 uint32_t bclk = 0; in SAI_TxSetFormat() local
1863 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() local
2006 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()