/hal_nxp-3.5.0/imx/devices/MCIMX7D/ |
D | clock_freq.c | 46 uint32_t pre, post; in get_gpt_clock_freq() local 51 CCM_GetRootDivider(CCM, ccmRootGpt3, &pre, &post); in get_gpt_clock_freq() 55 CCM_GetRootDivider(CCM, ccmRootGpt4, &pre, &post); in get_gpt_clock_freq() 72 return hz / (pre + 1) / (post + 1); in get_gpt_clock_freq() 85 uint32_t pre, post; in get_ecspi_clock_freq() local 90 CCM_GetRootDivider(CCM, ccmRootEcspi1, &pre, &post); in get_ecspi_clock_freq() 94 CCM_GetRootDivider(CCM, ccmRootEcspi2, &pre, &post); in get_ecspi_clock_freq() 111 return hz / (pre + 1) / (post + 1); in get_ecspi_clock_freq() 124 uint32_t pre, post; in get_flexcan_clock_freq() local 129 CCM_GetRootDivider(CCM, ccmRootCan1, &pre, &post); in get_flexcan_clock_freq() [all …]
|
/hal_nxp-3.5.0/imx/drivers/ |
D | ccm_imx7d.c | 43 void CCM_SetRootDivider(CCM_Type * base, uint32_t ccmRoot, uint32_t pre, uint32_t post) in CCM_SetRootDivider() argument 45 assert (pre < 8); in CCM_SetRootDivider() 50 CCM_TARGET_ROOT_PRE_PODF(pre) | CCM_TARGET_ROOT_POST_PODF(post); in CCM_SetRootDivider() 59 void CCM_GetRootDivider(CCM_Type * base, uint32_t ccmRoot, uint32_t *pre, uint32_t *post) in CCM_GetRootDivider() argument 61 assert (pre && post); in CCM_GetRootDivider() 63 *pre = (CCM_REG(ccmRoot) & CCM_TARGET_ROOT_PRE_PODF_MASK) >> CCM_TARGET_ROOT_PRE_PODF_SHIFT; in CCM_GetRootDivider() 73 void CCM_UpdateRoot(CCM_Type * base, uint32_t ccmRoot, uint32_t mux, uint32_t pre, uint32_t post) in CCM_UpdateRoot() argument 75 assert (pre < 8); in CCM_UpdateRoot() 80 … CCM_TARGET_ROOT_MUX(mux) | CCM_TARGET_ROOT_PRE_PODF(pre) | CCM_TARGET_ROOT_POST_PODF(post); in CCM_UpdateRoot()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM3/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM4Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM2/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM4Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM5/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM4Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML6/drivers/ |
D | fsl_clock.c | 174 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 195 return freq / pre / post; in CLOCK_GetClockRootFreq() 206 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 240 return freq / pre / post; in CLOCK_GetCoreM7Freq() 251 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local 285 return freq / pre / post; in CLOCK_GetAxiFreq() 296 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 330 return freq / pre / post; in CLOCK_GetAhbFreq() 341 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 375 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM1/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM4Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML8/drivers/ |
D | fsl_clock.c | 174 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 195 return freq / pre / post; in CLOCK_GetClockRootFreq() 206 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 240 return freq / pre / post; in CLOCK_GetCoreM7Freq() 251 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local 285 return freq / pre / post; in CLOCK_GetAxiFreq() 296 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 330 return freq / pre / post; in CLOCK_GetAhbFreq() 341 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 375 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM4/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM4Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN3/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM7Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN1/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM7Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM6/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM4Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN5/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM7Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN2/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM7Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN4/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM7Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML4/drivers/ |
D | fsl_clock.c | 174 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 195 return freq / pre / post; in CLOCK_GetClockRootFreq() 206 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 240 return freq / pre / post; in CLOCK_GetCoreM7Freq() 251 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local 285 return freq / pre / post; in CLOCK_GetAxiFreq() 296 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 330 return freq / pre / post; in CLOCK_GetAhbFreq() 341 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 375 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML3/drivers/ |
D | fsl_clock.c | 174 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 195 return freq / pre / post; in CLOCK_GetClockRootFreq() 206 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 240 return freq / pre / post; in CLOCK_GetCoreM7Freq() 251 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local 285 return freq / pre / post; in CLOCK_GetAxiFreq() 296 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 330 return freq / pre / post; in CLOCK_GetAhbFreq() 341 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 375 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN6/drivers/ |
D | fsl_clock.c | 171 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 192 return freq / pre / post; in CLOCK_GetClockRootFreq() 203 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local 237 return freq / pre / post; in CLOCK_GetCoreM7Freq() 248 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 282 return freq / pre / post; in CLOCK_GetAxiFreq() 293 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 327 return freq / pre / post; in CLOCK_GetAhbFreq() 338 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootEnetAxi); in CLOCK_GetEnetAxiFreq() local 372 return freq / pre / post; in CLOCK_GetEnetAxiFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MQ5/drivers/ |
D | fsl_clock.c | 165 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 182 return freq / pre / post; in CLOCK_GetClockRootFreq() 193 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 227 return freq / pre / post; in CLOCK_GetCoreM4Freq() 238 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 272 return freq / pre / post; in CLOCK_GetAxiFreq() 283 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 317 return freq / pre / post; in CLOCK_GetAhbFreq() 962 void CLOCK_SetRootDivider(clock_root_control_t ccmRootClk, uint32_t pre, uint32_t post) in CLOCK_SetRootDivider() argument 964 assert((pre <= 8U) && (pre != 0U)); in CLOCK_SetRootDivider() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MQ6/drivers/ |
D | fsl_clock.c | 165 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 182 return freq / pre / post; in CLOCK_GetClockRootFreq() 193 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 227 return freq / pre / post; in CLOCK_GetCoreM4Freq() 238 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 272 return freq / pre / post; in CLOCK_GetAxiFreq() 283 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 317 return freq / pre / post; in CLOCK_GetAhbFreq() 962 void CLOCK_SetRootDivider(clock_root_control_t ccmRootClk, uint32_t pre, uint32_t post) in CLOCK_SetRootDivider() argument 964 assert((pre <= 8U) && (pre != 0U)); in CLOCK_SetRootDivider() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MQ7/drivers/ |
D | fsl_clock.c | 165 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 182 return freq / pre / post; in CLOCK_GetClockRootFreq() 193 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 227 return freq / pre / post; in CLOCK_GetCoreM4Freq() 238 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 272 return freq / pre / post; in CLOCK_GetAxiFreq() 283 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 317 return freq / pre / post; in CLOCK_GetAhbFreq() 962 void CLOCK_SetRootDivider(clock_root_control_t ccmRootClk, uint32_t pre, uint32_t post) in CLOCK_SetRootDivider() argument 964 assert((pre <= 8U) && (pre != 0U)); in CLOCK_SetRootDivider() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MD6/drivers/ |
D | fsl_clock.c | 165 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 182 return freq / pre / post; in CLOCK_GetClockRootFreq() 193 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 227 return freq / pre / post; in CLOCK_GetCoreM4Freq() 238 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 272 return freq / pre / post; in CLOCK_GetAxiFreq() 283 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 317 return freq / pre / post; in CLOCK_GetAhbFreq() 962 void CLOCK_SetRootDivider(clock_root_control_t ccmRootClk, uint32_t pre, uint32_t post) in CLOCK_SetRootDivider() argument 964 assert((pre <= 8U) && (pre != 0U)); in CLOCK_SetRootDivider() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MD7/drivers/ |
D | fsl_clock.c | 165 uint32_t pre = CLOCK_GetRootPreDivider(clockRootControl); in CLOCK_GetClockRootFreq() local 182 return freq / pre / post; in CLOCK_GetClockRootFreq() 193 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local 227 return freq / pre / post; in CLOCK_GetCoreM4Freq() 238 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local 272 return freq / pre / post; in CLOCK_GetAxiFreq() 283 uint32_t pre = CLOCK_GetRootPreDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local 317 return freq / pre / post; in CLOCK_GetAhbFreq() 962 void CLOCK_SetRootDivider(clock_root_control_t ccmRootClk, uint32_t pre, uint32_t post) in CLOCK_SetRootDivider() argument 964 assert((pre <= 8U) && (pre != 0U)); in CLOCK_SetRootDivider() [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/ |
D | usb_host_ohci.c | 280 usb_host_ohci_pipe_struct_t *pre; in USB_HostOhciRemovePipe() local 287 pre = NULL; in USB_HostOhciRemovePipe() 292 pre = p; in USB_HostOhciRemovePipe() 298 if (NULL == pre) in USB_HostOhciRemovePipe() 305 pre->pipeCommon.next = p->pipeCommon.next; in USB_HostOhciRemovePipe() 484 usb_host_ohci_isochronous_transfer_descritpor_struct_t *pre; in USB_HostOhciFreeItd() local 493 pre = NULL; in USB_HostOhciFreeItd() 503 pre = p; in USB_HostOhciFreeItd() 506 if (NULL == pre) in USB_HostOhciFreeItd() 512 pre->NextTD = (uint32_t)itd; in USB_HostOhciFreeItd() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML6/ |
D | system_MIMX8ML6_cm7.c | 175 …uint32_t pre = ((*M7_ClockRoot & CCM_TARGET_ROOT_PRE_PODF_MASK) >> CCM_TARGET_ROOT_PRE_PODF_SHIFT… in SystemCoreClockUpdate() local 211 SystemCoreClock = freq / pre / post; in SystemCoreClockUpdate()
|