Lines Matching refs:fsRatio
47 wm8904_fs_ratio_t fsRatio,
75 wm8904_fs_ratio_t fsRatio, in WM8904_UpdateFormat() argument
90 … (uint16_t)(((uint16_t)(fsRatio) << 10U) | (uint16_t)(sampleRate))); in WM8904_UpdateFormat()
842 uint32_t fsRatio = 0U; in WM8904_CheckAudioFormat() local
894 fsRatio = (mclkFreq >> (mclkDiv & 0x1U)) / sampleRate; in WM8904_CheckAudioFormat()
896 switch (fsRatio) in WM8904_CheckAudioFormat()
899 format->fsRatio = kWM8904_FsRatio64X; in WM8904_CheckAudioFormat()
902 format->fsRatio = kWM8904_FsRatio128X; in WM8904_CheckAudioFormat()
905 format->fsRatio = kWM8904_FsRatio192X; in WM8904_CheckAudioFormat()
908 format->fsRatio = kWM8904_FsRatio256X; in WM8904_CheckAudioFormat()
911 format->fsRatio = kWM8904_FsRatio384X; in WM8904_CheckAudioFormat()
914 format->fsRatio = kWM8904_FsRatio512X; in WM8904_CheckAudioFormat()
917 format->fsRatio = kWM8904_FsRatio768X; in WM8904_CheckAudioFormat()
920 format->fsRatio = kWM8904_FsRatio1024X; in WM8904_CheckAudioFormat()
923 format->fsRatio = kWM8904_FsRatio1408X; in WM8904_CheckAudioFormat()
926 format->fsRatio = kWM8904_FsRatio1536X; in WM8904_CheckAudioFormat()
938 return WM8904_UpdateFormat(handle, format->fsRatio, regSamplerate, format->bitWidth); in WM8904_CheckAudioFormat()