Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/devices/MIMXRT1051/
Dfsl_clock.c857 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
890 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
891 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
902 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
914 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
915 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
917 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
980 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_NUM))); in CLOCK_GetPllFreq()
981 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_DENOM)); in CLOCK_GetPllFreq()
982 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1061/
Dfsl_clock.c872 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
905 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
906 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
917 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
929 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
930 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
932 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
995 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_NUM))); in CLOCK_GetPllFreq()
996 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_DENOM)); in CLOCK_GetPllFreq()
997 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1052/
Dfsl_clock.c943 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
976 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
977 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
988 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
1000 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
1001 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
1003 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
1066 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_NUM))); in CLOCK_GetPllFreq()
1067 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_DENOM)); in CLOCK_GetPllFreq()
1068 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1062/
Dfsl_clock.c954 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
987 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
988 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
999 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
1011 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
1012 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
1014 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
1077 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_NUM))); in CLOCK_GetPllFreq()
1078 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_DENOM)); in CLOCK_GetPllFreq()
1079 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1064/
Dfsl_clock.c954 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
987 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
988 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
999 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
1011 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
1012 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
1014 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
1077 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_NUM))); in CLOCK_GetPllFreq()
1078 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_VIDEO_DENOM)); in CLOCK_GetPllFreq()
1079 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1011/
Dfsl_clock.c781 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
802 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
803 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
814 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
826 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
827 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
829 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1015/
Dfsl_clock.c742 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
763 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
764 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
775 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
787 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
788 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
790 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1021/
Dfsl_clock.c760 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
788 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
789 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
800 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
812 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
813 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
815 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1024/
Dfsl_clock.c760 clock_64b_t freqTmp; in CLOCK_GetPllFreq() local
788 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_SYS_NUM))); in CLOCK_GetPllFreq()
789 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_SYS_DENOM)); in CLOCK_GetPllFreq()
800 freq += (uint32_t)freqTmp; in CLOCK_GetPllFreq()
812 freqTmp = ((clock_64b_t)freq * ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_NUM))); in CLOCK_GetPllFreq()
813 freqTmp /= ((clock_64b_t)(CCM_ANALOG->PLL_AUDIO_DENOM)); in CLOCK_GetPllFreq()
815 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
/hal_nxp-2.7.6/mcux/devices/MIMXRT685S/
Dsystem_MIMXRT685S_dsp.c78 uint64_t freqTmp = 0U; in getSpllFreq() local
99freqTmp = ((uint64_t)freq * ((uint64_t)(CLKCTL0->SYSPLL0NUM))) / ((uint64_t)(CLKCTL0->SYSPLL0DENOM… in getSpllFreq()
101 freq += (uint32_t)freqTmp; in getSpllFreq()
Dsystem_MIMXRT685S_cm33.c147 uint64_t freqTmp = 0U; in SystemCoreClockUpdate() local
194freqTmp = ((uint64_t)freq * ((uint64_t)(CLKCTL0->SYSPLL0NUM))) / ((uint64_t)(CLKCTL0->SYSPLL0DENOM… in SystemCoreClockUpdate()
196 freq += (uint32_t)freqTmp; in SystemCoreClockUpdate()
Dfsl_clock.c146 uint64_t freqTmp; in CLOCK_GetSysPllFreq() local
167freqTmp = ((uint64_t)freq * ((uint64_t)(CLKCTL0->SYSPLL0NUM))) / ((uint64_t)(CLKCTL0->SYSPLL0DENOM… in CLOCK_GetSysPllFreq()
169 freq += (uint32_t)freqTmp; in CLOCK_GetSysPllFreq()
241 uint64_t freqTmp; in CLOCK_GetAudioPllFreq() local
262freqTmp = ((uint64_t)freq * ((uint64_t)(CLKCTL1->AUDIOPLL0NUM))) / ((uint64_t)(CLKCTL1->AUDIOPLL0D… in CLOCK_GetAudioPllFreq()
264 freq += (uint32_t)freqTmp; in CLOCK_GetAudioPllFreq()