Searched refs:u32NO (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | clk.c | 212 uint32_t u32PllReg, u32FIN, u32NF, u32NR, u32NO; in CLK_GetCPUFreq() local 244 u32NO = au8NoTbl[((u32PllReg & CLK_PLLCTL_OUTDIV_Msk) >> CLK_PLLCTL_OUTDIV_Pos)]; in CLK_GetCPUFreq() 249 PllClock = (((u32FIN >> 2) * (u32NF << 1)) / (u32NR * u32NO) << 2); in CLK_GetCPUFreq() 768 uint32_t u32PllSrcClk, u32NR, u32NF, u32NO, u32PllClk; in CLK_EnablePLL() local 809 u32NO = 3UL; in CLK_EnablePLL() 814 u32NO = 1UL; in CLK_EnablePLL() 819 u32NO = 0UL; in CLK_EnablePLL() 859 CLK->PLLCTL = u32PllClkSrc | (u32NO << 14) | ((u32MinNR - 1UL) << 9) | (u32MinNF - 2UL); in CLK_EnablePLL() 862 u32PllClk = u32PllSrcClk / ((u32NO + 1UL) * u32MinNR) * (u32MinNF << 1); in CLK_EnablePLL() 1076 uint32_t u32FIN, u32NF, u32NR, u32NO; in CLK_GetPLLClockFreq() local [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | clk.c | 222 uint32_t u32PllReg, u32FIN, u32NF, u32NR, u32NO; in CLK_GetCPUFreq() local 254 u32NO = au8NoTbl[((u32PllReg & CLK_PLLCTL_OUTDIV_Msk) >> CLK_PLLCTL_OUTDIV_Pos)]; in CLK_GetCPUFreq() 259 PllClock = (((u32FIN >> 2) * (u32NF << 1)) / (u32NR * u32NO) << 2); in CLK_GetCPUFreq() 890 uint32_t u32PllSrcClk, u32NR, u32NF, u32NO, u32PllClk; in CLK_EnablePLL() local 930 u32NO = 3UL; in CLK_EnablePLL() 935 u32NO = 1UL; in CLK_EnablePLL() 940 u32NO = 0UL; in CLK_EnablePLL() 981 (u32NO << CLK_PLLCTL_OUTDIV_Pos) | in CLK_EnablePLL() 986 u32PllClk = u32PllSrcClk / ((u32NO + 1UL) * u32MinNR) * (u32MinNF << 1); in CLK_EnablePLL() 1226 uint32_t u32FIN, u32NF, u32NR, u32NO; in CLK_GetPLLClockFreq() local [all …]
|