Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dclk.c766 uint32_t CLK_EnablePLL(uint32_t u32PllClkSrc, uint32_t u32PllFreq) in CLK_EnablePLL() argument
803 if((u32PllFreq <= FREQ_144MHZ) && (u32PllFreq >= FREQ_24MHZ)) in CLK_EnablePLL()
807 if((u32PllFreq < FREQ_48MHZ) && (u32PllFreq >= FREQ_24MHZ)) in CLK_EnablePLL()
810 u32PllFreq = u32PllFreq << 2; in CLK_EnablePLL()
812 else if((u32PllFreq < FREQ_96MHZ) && (u32PllFreq >= FREQ_48MHZ)) in CLK_EnablePLL()
815 u32PllFreq = u32PllFreq << 1; in CLK_EnablePLL()
840 … u32Tmp3 = (u32Tmp2 > u32PllFreq) ? u32Tmp2 - u32PllFreq : u32PllFreq - u32Tmp2; in CLK_EnablePLL()
1075 uint32_t u32PllFreq = 0UL, u32PllReg; in CLK_GetPLLClockFreq() local
1083 u32PllFreq = 0UL; /* PLL is in power down mode or fix low */ in CLK_GetPLLClockFreq()
1101 u32PllFreq = u32FIN; /* PLL is in bypass mode */ in CLK_GetPLLClockFreq()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dclk.c888 uint32_t CLK_EnablePLL(uint32_t u32PllClkSrc, uint32_t u32PllFreq) in CLK_EnablePLL() argument
924 if((u32PllFreq <= FREQ_200MHZ) && (u32PllFreq >= FREQ_24MHZ)) in CLK_EnablePLL()
928 if((u32PllFreq < FREQ_48MHZ) && (u32PllFreq >= FREQ_24MHZ)) in CLK_EnablePLL()
931 u32PllFreq = u32PllFreq << 2; in CLK_EnablePLL()
933 else if((u32PllFreq < FREQ_96MHZ) && (u32PllFreq >= FREQ_48MHZ)) in CLK_EnablePLL()
936 u32PllFreq = u32PllFreq << 1; in CLK_EnablePLL()
961 … u32Tmp3 = (u32Tmp2 > u32PllFreq) ? u32Tmp2 - u32PllFreq : u32PllFreq - u32Tmp2; in CLK_EnablePLL()
1225 uint32_t u32PllFreq = 0UL, u32PllReg; in CLK_GetPLLClockFreq() local
1233 u32PllFreq = 0UL; /* PLL is in power down mode or fix low */ in CLK_GetPLLClockFreq()
1250 u32PllFreq = u32FIN; /* PLL is in bypass mode */ in CLK_GetPLLClockFreq()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dclk.h827 uint32_t CLK_EnablePLL(uint32_t u32PllClkSrc, uint32_t u32PllFreq);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dclk.h1043 uint32_t CLK_EnablePLL(uint32_t u32PllClkSrc, uint32_t u32PllFreq);