Lines Matching refs:sysclk
206 uint32_t sysclk = 0U; in WM8904_Init() local
379 sysclk = config->fll->outputClock_HZ; in WM8904_Init()
383 sysclk = config->mclk_HZ; in WM8904_Init()
386 result = WM8904_CheckAudioFormat(handle, &config->format, sysclk); in WM8904_Init()
401 …result = WM8904_SetMasterClock(handle, sysclk, (uint32_t)(WM8904_MAP_SAMPLERATE(config->format.sam… in WM8904_Init()
517 status_t WM8904_SetMasterClock(wm8904_handle_t *handle, uint32_t sysclk, uint32_t sampleRate, uint3… in WM8904_SetMasterClock() argument
526 sysclk = sysclk >> (sysclkDiv & 0x1U); in WM8904_SetMasterClock()
528 if ((sysclk / bclk > 48U) || (bclk / sampleRate > 2047U) || (bclk / sampleRate < 8U)) in WM8904_SetMasterClock()
540 bclkDiv = (sysclk * 10U) / bclk; in WM8904_SetMasterClock()
951 status_t WM8904_SetAudioFormat(wm8904_handle_t *handle, uint32_t sysclk, uint32_t sampleRate, uint3… in WM8904_SetAudioFormat() argument
1029 ratio = (sysclk >> (tempReg & 0x1U)) / sampleRate; in WM8904_SetAudioFormat()
1078 error = WM8904_SetMasterClock(handle, sysclk, sampleRate, bitWidth); in WM8904_SetAudioFormat()