Home
last modified time | relevance | path

Searched refs:pre (Results 1 – 25 of 74) sorted by relevance

123

/hal_nxp-3.5.0/imx/devices/MCIMX7D/
Dclock_freq.c46 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/
Dccm_imx7d.c43 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c174 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/
Dfsl_clock.c171 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/
Dfsl_clock.c174 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c171 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/
Dfsl_clock.c174 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/
Dfsl_clock.c174 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/
Dfsl_clock.c171 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/
Dfsl_clock.c165 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/
Dfsl_clock.c165 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/
Dfsl_clock.c165 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/
Dfsl_clock.c165 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/
Dfsl_clock.c165 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/
Dusb_host_ohci.c280 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/
Dsystem_MIMX8ML6_cm7.c175 …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()

123