Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/easrc/
Dfsl_asrc.c226 uint32_t temp = 0U, gcd = inputSampleRate; in ASRC_GetSampleRateGCD() local
231 outputSampleRate = gcd % outputSampleRate; in ASRC_GetSampleRateGCD()
232 gcd = temp; in ASRC_GetSampleRateGCD()
235 return gcd; in ASRC_GetSampleRateGCD()
301 uint32_t gcd = ASRC_GetSampleRateGCD(inputSampleRate, outputSampleRate); in ASRC_SetSampleRateRatioConfig() local
302 uint32_t inRate = inputSampleRate / gcd; in ASRC_SetSampleRateRatioConfig()
303 uint32_t outRate = outputSampleRate / gcd; in ASRC_SetSampleRateRatioConfig()
332 uint32_t gcd = ASRC_GetSampleRateGCD(inputSampleRate, outputSampleRate); in ASRC_GetPrefilterConfig() local
333 uint32_t inSampleRate = inputSampleRate / gcd; in ASRC_GetPrefilterConfig()
334 uint32_t outSampleRate = outputSampleRate / gcd; in ASRC_GetPrefilterConfig()