Home
last modified time | relevance | path

Searched refs:divSelect (Results 1 – 20 of 20) sorted by relevance

/hal_nxp-3.5.0/imx/drivers/
Dccm_analog_imx6sx.c91 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 …]
Dccm_analog_imx7d.c76 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/
Dfsl_clock.c953 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/
Dfsl_clock.c953 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/
Dfsl_clock.c953 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/
Dfsl_clock.c938 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/
Dfsl_clock.c879 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/
Dfsl_clock.c942 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/
Dfsl_clock.c879 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/
Dfsl_clock.c759 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/
Dfsl_clock.c759 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/
Dfsl_clock.c780 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/
Dfsl_clock.c741 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/
Dfsl_clock.c1424 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/
Dfsl_clock.c1424 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/
Dfsl_clock.c1424 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/
Dfsl_clock.c1415 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/
Dfsl_clock.c1424 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/
Dfsl_clock.c1415 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/
Dfsl_clock.c1424 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()