/hal_nxp-3.5.0/imx/drivers/ |
D | ccm_analog_imx6sx.c | 91 uint8_t divSelect; in CCM_ANALOG_GetPllFreq() local 103 divSelect = CCM_ANALOG_PLL_ARM & CCM_ANALOG_PLL_ARM_DIV_SELECT_MASK; in CCM_ANALOG_GetPllFreq() 104 hz = 24000000 * divSelect / 2; in CCM_ANALOG_GetPllFreq() 110 divSelect = CCM_ANALOG_PLL_USB1 & CCM_ANALOG_PLL_USB1_DIV_SELECT_MASK; in CCM_ANALOG_GetPllFreq() 111 if(divSelect == 0) in CCM_ANALOG_GetPllFreq() 113 else if(divSelect == 1) in CCM_ANALOG_GetPllFreq() 120 divSelect = CCM_ANALOG_PLL_USB2 & CCM_ANALOG_PLL_USB2_DIV_SELECT_MASK; in CCM_ANALOG_GetPllFreq() 121 if(divSelect == 0) in CCM_ANALOG_GetPllFreq() 123 else if(divSelect == 1) in CCM_ANALOG_GetPllFreq() 130 divSelect = CCM_ANALOG_PLL_SYS & CCM_ANALOG_PLL_SYS_DIV_SELECT_MASK; in CCM_ANALOG_GetPllFreq() [all …]
|
D | ccm_analog_imx7d.c | 76 uint8_t divSelect, divTestSelect; in CCM_ANALOG_GetDdrPllFreq() local 82 divSelect = CCM_ANALOG_PLL_DDR_REG(CCM_ANALOG) & CCM_ANALOG_PLL_DDR_DIV_SELECT_MASK; in CCM_ANALOG_GetDdrPllFreq() 105 return (uint32_t)((24000000ul >> divTestSelect) * (divSelect + factor)); in CCM_ANALOG_GetDdrPllFreq() 109 return (24000000ul >> divTestSelect) * divSelect; in CCM_ANALOG_GetDdrPllFreq() 135 uint8_t divSelect, divPostSelect, divTestSelect; in CCM_ANALOG_GetAudioPllFreq() local 141 divSelect = CCM_ANALOG_PLL_AUDIO_REG(CCM_ANALOG) & CCM_ANALOG_PLL_AUDIO_DIV_SELECT_MASK; in CCM_ANALOG_GetAudioPllFreq() 180 return (uint32_t)(((24000000ul >> divTestSelect) >> divPostSelect) * (divSelect + factor)); in CCM_ANALOG_GetAudioPllFreq() 184 return ((24000000ul >> divTestSelect) >> divPostSelect) * divSelect; in CCM_ANALOG_GetAudioPllFreq() 196 uint8_t divSelect, divPostSelect, divTestSelect; in CCM_ANALOG_GetVideoPllFreq() local 202 divSelect = CCM_ANALOG_PLL_VIDEO_REG(CCM_ANALOG) & CCM_ANALOG_PLL_VIDEO_DIV_SELECT_MASK; in CCM_ANALOG_GetVideoPllFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1062/drivers/ |
D | fsl_clock.c | 953 uint32_t divSelect; in CLOCK_GetPllFreq() local 1008 divSelect = in CLOCK_GetPllFreq() 1014 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1074 divSelect = in CLOCK_GetPllFreq() 1079 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1137 divSelect = in CLOCK_GetPllFreq() 1139 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq() 1143 divSelect = (CCM_ANALOG->PLL_ENET & CCM_ANALOG_PLL_ENET_ENET2_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1145 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1064/drivers/ |
D | fsl_clock.c | 953 uint32_t divSelect; in CLOCK_GetPllFreq() local 1008 divSelect = in CLOCK_GetPllFreq() 1014 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1074 divSelect = in CLOCK_GetPllFreq() 1079 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1137 divSelect = in CLOCK_GetPllFreq() 1139 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq() 1143 divSelect = (CCM_ANALOG->PLL_ENET & CCM_ANALOG_PLL_ENET_ENET2_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1145 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1061/drivers/ |
D | fsl_clock.c | 953 uint32_t divSelect; in CLOCK_GetPllFreq() local 1008 divSelect = in CLOCK_GetPllFreq() 1014 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1074 divSelect = in CLOCK_GetPllFreq() 1079 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1137 divSelect = in CLOCK_GetPllFreq() 1139 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq() 1143 divSelect = (CCM_ANALOG->PLL_ENET & CCM_ANALOG_PLL_ENET_ENET2_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1145 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1051/drivers/ |
D | fsl_clock.c | 938 uint32_t divSelect; in CLOCK_GetPllFreq() local 993 divSelect = in CLOCK_GetPllFreq() 999 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1059 divSelect = in CLOCK_GetPllFreq() 1064 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1122 divSelect = in CLOCK_GetPllFreq() 1124 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1041/drivers/ |
D | fsl_clock.c | 879 uint32_t divSelect; in CLOCK_GetPllFreq() local 934 divSelect = in CLOCK_GetPllFreq() 940 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1000 divSelect = in CLOCK_GetPllFreq() 1005 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1064 divSelect = in CLOCK_GetPllFreq() 1066 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1052/drivers/ |
D | fsl_clock.c | 942 uint32_t divSelect; in CLOCK_GetPllFreq() local 997 divSelect = in CLOCK_GetPllFreq() 1003 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1063 divSelect = in CLOCK_GetPllFreq() 1068 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1126 divSelect = in CLOCK_GetPllFreq() 1128 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1042/drivers/ |
D | fsl_clock.c | 879 uint32_t divSelect; in CLOCK_GetPllFreq() local 934 divSelect = in CLOCK_GetPllFreq() 940 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1000 divSelect = in CLOCK_GetPllFreq() 1005 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 1064 divSelect = in CLOCK_GetPllFreq() 1066 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1024/drivers/ |
D | fsl_clock.c | 759 uint32_t divSelect; in CLOCK_GetPllFreq() local 809 divSelect = in CLOCK_GetPllFreq() 815 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 874 divSelect = in CLOCK_GetPllFreq() 876 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1021/drivers/ |
D | fsl_clock.c | 759 uint32_t divSelect; in CLOCK_GetPllFreq() local 809 divSelect = in CLOCK_GetPllFreq() 815 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq() 874 divSelect = in CLOCK_GetPllFreq() 876 freq = enetRefClkFreq[divSelect]; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1011/drivers/ |
D | fsl_clock.c | 780 uint32_t divSelect; in CLOCK_GetPllFreq() local 823 divSelect = in CLOCK_GetPllFreq() 829 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1015/drivers/ |
D | fsl_clock.c | 741 uint32_t divSelect; in CLOCK_GetPllFreq() local 784 divSelect = in CLOCK_GetPllFreq() 790 freq = freq * divSelect + (uint32_t)freqTmp; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1175/drivers/ |
D | fsl_clock.c | 1424 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1431 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1444 freq *= divSelect; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1176/drivers/ |
D | fsl_clock.c | 1424 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1431 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1444 freq *= divSelect; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1173/drivers/ |
D | fsl_clock.c | 1424 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1431 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1444 freq *= divSelect; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1165/drivers/ |
D | fsl_clock.c | 1415 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1422 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1428 freq *= divSelect; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1172/drivers/ |
D | fsl_clock.c | 1424 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1431 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1444 freq *= divSelect; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1166/drivers/ |
D | fsl_clock.c | 1415 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1422 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1428 freq *= divSelect; in CLOCK_GetPllFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1171/drivers/ |
D | fsl_clock.c | 1424 uint32_t divSelect, postDiv; in CLOCK_GetPllFreq() local 1431 divSelect = (ANADIG_PLL->ARM_PLL_CTRL & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK) >> in CLOCK_GetPllFreq() 1444 freq *= divSelect; in CLOCK_GetPllFreq()
|