/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5506/drivers/ |
D | fsl_clock.c | 990 uint32_t seli, selp; in pllFindSel() local 1003 seli = 1UL; in pllFindSel() 1007 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1011 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1014 if (seli >= 63UL) in pllFindSel() 1016 seli = 63UL; in pllFindSel() 1018 *pSelI = seli; in pllFindSel() 1872 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1887 seli = 1UL; in CLOCK_SetupPLL0Mult() 1891 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5502CPXXXX/drivers/ |
D | fsl_clock.c | 987 uint32_t seli, selp; in pllFindSel() local 1000 seli = 1UL; in pllFindSel() 1004 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1008 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1011 if (seli >= 63UL) in pllFindSel() 1013 seli = 63UL; in pllFindSel() 1015 *pSelI = seli; in pllFindSel() 1849 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1864 seli = 1UL; in CLOCK_SetupPLL0Mult() 1868 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5504/drivers/ |
D | fsl_clock.c | 990 uint32_t seli, selp; in pllFindSel() local 1003 seli = 1UL; in pllFindSel() 1007 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1011 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1014 if (seli >= 63UL) in pllFindSel() 1016 seli = 63UL; in pllFindSel() 1018 *pSelI = seli; in pllFindSel() 1872 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1887 seli = 1UL; in CLOCK_SetupPLL0Mult() 1891 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5504CPXXXX/drivers/ |
D | fsl_clock.c | 987 uint32_t seli, selp; in pllFindSel() local 1000 seli = 1UL; in pllFindSel() 1004 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1008 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1011 if (seli >= 63UL) in pllFindSel() 1013 seli = 63UL; in pllFindSel() 1015 *pSelI = seli; in pllFindSel() 1849 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1864 seli = 1UL; in CLOCK_SetupPLL0Mult() 1868 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5506CPXXXX/drivers/ |
D | fsl_clock.c | 987 uint32_t seli, selp; in pllFindSel() local 1000 seli = 1UL; in pllFindSel() 1004 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1008 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1011 if (seli >= 63UL) in pllFindSel() 1013 seli = 63UL; in pllFindSel() 1015 *pSelI = seli; in pllFindSel() 1849 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1864 seli = 1UL; in CLOCK_SetupPLL0Mult() 1868 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5502/drivers/ |
D | fsl_clock.c | 990 uint32_t seli, selp; in pllFindSel() local 1003 seli = 1UL; in pllFindSel() 1007 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1011 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1014 if (seli >= 63UL) in pllFindSel() 1016 seli = 63UL; in pllFindSel() 1018 *pSelI = seli; in pllFindSel() 1872 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1887 seli = 1UL; in CLOCK_SetupPLL0Mult() 1891 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S04/drivers/ |
D | fsl_clock.c | 990 uint32_t seli, selp; in pllFindSel() local 1003 seli = 1UL; in pllFindSel() 1007 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1011 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1014 if (seli >= 63UL) in pllFindSel() 1016 seli = 63UL; in pllFindSel() 1018 *pSelI = seli; in pllFindSel() 1872 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1887 seli = 1UL; in CLOCK_SetupPLL0Mult() 1891 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S06/drivers/ |
D | fsl_clock.c | 990 uint32_t seli, selp; in pllFindSel() local 1003 seli = 1UL; in pllFindSel() 1007 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1011 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1014 if (seli >= 63UL) in pllFindSel() 1016 seli = 63UL; in pllFindSel() 1018 *pSelI = seli; in pllFindSel() 1872 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1887 seli = 1UL; in CLOCK_SetupPLL0Mult() 1891 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5528/drivers/ |
D | fsl_clock.c | 1053 uint32_t seli, selp; in pllFindSel() local 1066 seli = 1UL; in pllFindSel() 1070 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1074 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1077 if (seli >= 63UL) in pllFindSel() 1079 seli = 63UL; in pllFindSel() 1081 *pSelI = seli; in pllFindSel() 1834 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1849 seli = 1UL; in CLOCK_SetupPLL0Mult() 1853 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S16/drivers/ |
D | fsl_clock.c | 1036 uint32_t seli, selp; in pllFindSel() local 1049 seli = 1UL; in pllFindSel() 1053 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1057 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1060 if (seli >= 63UL) in pllFindSel() 1062 seli = 63UL; in pllFindSel() 1064 *pSelI = seli; in pllFindSel() 1918 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1933 seli = 1UL; in CLOCK_SetupPLL0Mult() 1937 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5516/drivers/ |
D | fsl_clock.c | 1036 uint32_t seli, selp; in pllFindSel() local 1049 seli = 1UL; in pllFindSel() 1053 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1057 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1060 if (seli >= 63UL) in pllFindSel() 1062 seli = 63UL; in pllFindSel() 1064 *pSelI = seli; in pllFindSel() 1918 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1933 seli = 1UL; in CLOCK_SetupPLL0Mult() 1937 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5526/drivers/ |
D | fsl_clock.c | 1053 uint32_t seli, selp; in pllFindSel() local 1066 seli = 1UL; in pllFindSel() 1070 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1074 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1077 if (seli >= 63UL) in pllFindSel() 1079 seli = 63UL; in pllFindSel() 1081 *pSelI = seli; in pllFindSel() 1834 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1849 seli = 1UL; in CLOCK_SetupPLL0Mult() 1853 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5514/drivers/ |
D | fsl_clock.c | 1036 uint32_t seli, selp; in pllFindSel() local 1049 seli = 1UL; in pllFindSel() 1053 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1057 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1060 if (seli >= 63UL) in pllFindSel() 1062 seli = 63UL; in pllFindSel() 1064 *pSelI = seli; in pllFindSel() 1918 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1933 seli = 1UL; in CLOCK_SetupPLL0Mult() 1937 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S26/drivers/ |
D | fsl_clock.c | 1053 uint32_t seli, selp; in pllFindSel() local 1066 seli = 1UL; in pllFindSel() 1070 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1074 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1077 if (seli >= 63UL) in pllFindSel() 1079 seli = 63UL; in pllFindSel() 1081 *pSelI = seli; in pllFindSel() 1834 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1849 seli = 1UL; in CLOCK_SetupPLL0Mult() 1853 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5512/drivers/ |
D | fsl_clock.c | 1036 uint32_t seli, selp; in pllFindSel() local 1049 seli = 1UL; in pllFindSel() 1053 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1057 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1060 if (seli >= 63UL) in pllFindSel() 1062 seli = 63UL; in pllFindSel() 1064 *pSelI = seli; in pllFindSel() 1918 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1933 seli = 1UL; in CLOCK_SetupPLL0Mult() 1937 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S28/drivers/ |
D | fsl_clock.c | 1053 uint32_t seli, selp; in pllFindSel() local 1066 seli = 1UL; in pllFindSel() 1070 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1074 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1077 if (seli >= 63UL) in pllFindSel() 1079 seli = 63UL; in pllFindSel() 1081 *pSelI = seli; in pllFindSel() 1834 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1849 seli = 1UL; in CLOCK_SetupPLL0Mult() 1853 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S66/drivers/ |
D | fsl_clock.c | 1053 uint32_t seli, selp; in pllFindSel() local 1066 seli = 1UL; in pllFindSel() 1070 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1074 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1077 if (seli >= 63UL) in pllFindSel() 1079 seli = 63UL; in pllFindSel() 1081 *pSelI = seli; in pllFindSel() 1834 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1849 seli = 1UL; in CLOCK_SetupPLL0Mult() 1853 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S14/drivers/ |
D | fsl_clock.c | 1036 uint32_t seli, selp; in pllFindSel() local 1049 seli = 1UL; in pllFindSel() 1053 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1057 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1060 if (seli >= 63UL) in pllFindSel() 1062 seli = 63UL; in pllFindSel() 1064 *pSelI = seli; in pllFindSel() 1918 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1933 seli = 1UL; in CLOCK_SetupPLL0Mult() 1937 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S69/drivers/ |
D | fsl_clock.c | 1053 uint32_t seli, selp; in pllFindSel() local 1066 seli = 1UL; in pllFindSel() 1070 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1074 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1077 if (seli >= 63UL) in pllFindSel() 1079 seli = 63UL; in pllFindSel() 1081 *pSelI = seli; in pllFindSel() 1834 uint32_t seli; in CLOCK_SetupPLL0Mult() local 1849 seli = 1UL; in CLOCK_SetupPLL0Mult() 1853 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5534/drivers/ |
D | fsl_clock.c | 1178 uint32_t seli, selp; in pllFindSel() local 1191 seli = 1UL; in pllFindSel() 1195 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1199 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1202 if (seli >= 63UL) in pllFindSel() 1204 seli = 63UL; in pllFindSel() 1206 *pSelI = seli; in pllFindSel() 2040 uint32_t seli; in CLOCK_SetupPLL0Mult() local 2055 seli = 1UL; in CLOCK_SetupPLL0Mult() 2059 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S36/drivers/ |
D | fsl_clock.c | 1178 uint32_t seli, selp; in pllFindSel() local 1191 seli = 1UL; in pllFindSel() 1195 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1199 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1202 if (seli >= 63UL) in pllFindSel() 1204 seli = 63UL; in pllFindSel() 1206 *pSelI = seli; in pllFindSel() 2040 uint32_t seli; in CLOCK_SetupPLL0Mult() local 2055 seli = 1UL; in CLOCK_SetupPLL0Mult() 2059 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5536/drivers/ |
D | fsl_clock.c | 1178 uint32_t seli, selp; in pllFindSel() local 1191 seli = 1UL; in pllFindSel() 1195 seli = (uint32_t)(8000UL / M); /*floor(8000/M) */ in pllFindSel() 1199 seli = 2UL * ((uint32_t)(M / 4UL)) + 3UL; /* 2*floor(M/4) + 3 */ in pllFindSel() 1202 if (seli >= 63UL) in pllFindSel() 1204 seli = 63UL; in pllFindSel() 1206 *pSelI = seli; in pllFindSel() 2040 uint32_t seli; in CLOCK_SetupPLL0Mult() local 2055 seli = 1UL; in CLOCK_SetupPLL0Mult() 2059 seli = (uint32_t)(8000UL / multiply_by); /*floor(8000/M) */ in CLOCK_SetupPLL0Mult() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC51U68/drivers/ |
D | fsl_clock.c | 1559 uint32_t seli; in CLOCK_SetupSystemPLLMult() local 1574 seli = (multiply_by & 0x3cU) + 4U; in CLOCK_SetupSystemPLLMult() 1582 seli = 1U; in CLOCK_SetupSystemPLLMult() 1586 seli = 2U; in CLOCK_SetupSystemPLLMult() 1590 seli = 4U; in CLOCK_SetupSystemPLLMult() 1594 seli = 8U; in CLOCK_SetupSystemPLLMult() 1598 seli = 4U * (1024U / (multiply_by + 9U)); in CLOCK_SetupSystemPLLMult() 1637 … (selr << SYSCON_SYSPLLCTRL_SELR_SHIFT) | (seli << SYSCON_SYSPLLCTRL_SELI_SHIFT) | in CLOCK_SetupSystemPLLMult()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC54114/drivers/ |
D | fsl_clock.c | 1657 uint32_t seli; in CLOCK_SetupSystemPLLMult() local 1672 seli = (multiply_by & 0x3cU) + 4U; in CLOCK_SetupSystemPLLMult() 1680 seli = 1U; in CLOCK_SetupSystemPLLMult() 1684 seli = 2U; in CLOCK_SetupSystemPLLMult() 1688 seli = 4U; in CLOCK_SetupSystemPLLMult() 1692 seli = 8U; in CLOCK_SetupSystemPLLMult() 1696 seli = 4U * (1024U / (multiply_by + 9U)); in CLOCK_SetupSystemPLLMult() 1735 … (selr << SYSCON_SYSPLLCTRL_SELR_SHIFT) | (seli << SYSCON_SYSPLLCTRL_SELI_SHIFT) | in CLOCK_SetupSystemPLLMult()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC54113/drivers/ |
D | fsl_clock.c | 1657 uint32_t seli; in CLOCK_SetupSystemPLLMult() local 1672 seli = (multiply_by & 0x3cU) + 4U; in CLOCK_SetupSystemPLLMult() 1680 seli = 1U; in CLOCK_SetupSystemPLLMult() 1684 seli = 2U; in CLOCK_SetupSystemPLLMult() 1688 seli = 4U; in CLOCK_SetupSystemPLLMult() 1692 seli = 8U; in CLOCK_SetupSystemPLLMult() 1696 seli = 4U * (1024U / (multiply_by + 9U)); in CLOCK_SetupSystemPLLMult() 1735 … (selr << SYSCON_SYSPLLCTRL_SELR_SHIFT) | (seli << SYSCON_SYSPLLCTRL_SELI_SHIFT) | in CLOCK_SetupSystemPLLMult()
|