Home
last modified time | relevance | path

Searched refs:post (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
46 assert (post < 64); 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()
64 *post = (CCM_REG(ccmRoot) & CCM_TARGET_ROOT_POST_PODF_MASK) >> CCM_TARGET_ROOT_POST_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
76 assert (post < 64); 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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM4Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM4Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM4Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c175 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
195 return freq / pre / post; in CLOCK_GetClockRootFreq()
207 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
240 return freq / pre / post; in CLOCK_GetCoreM7Freq()
252 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local
285 return freq / pre / post; in CLOCK_GetAxiFreq()
297 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
330 return freq / pre / post; in CLOCK_GetAhbFreq()
342 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM4Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c175 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
195 return freq / pre / post; in CLOCK_GetClockRootFreq()
207 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
240 return freq / pre / post; in CLOCK_GetCoreM7Freq()
252 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local
285 return freq / pre / post; in CLOCK_GetAxiFreq()
297 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
330 return freq / pre / post; in CLOCK_GetAhbFreq()
342 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM4Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM7Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM7Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM4Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM7Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM7Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM7Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c175 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
195 return freq / pre / post; in CLOCK_GetClockRootFreq()
207 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
240 return freq / pre / post; in CLOCK_GetCoreM7Freq()
252 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local
285 return freq / pre / post; in CLOCK_GetAxiFreq()
297 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
330 return freq / pre / post; in CLOCK_GetAhbFreq()
342 uint32_t post = CLOCK_GetRootPostDivider(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.c175 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
195 return freq / pre / post; in CLOCK_GetClockRootFreq()
207 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
240 return freq / pre / post; in CLOCK_GetCoreM7Freq()
252 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootMainAxi); in CLOCK_GetAxiFreq() local
285 return freq / pre / post; in CLOCK_GetAxiFreq()
297 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
330 return freq / pre / post; in CLOCK_GetAhbFreq()
342 uint32_t post = CLOCK_GetRootPostDivider(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.c172 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
192 return freq / pre / post; in CLOCK_GetClockRootFreq()
204 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM7); in CLOCK_GetCoreM7Freq() local
237 return freq / pre / post; in CLOCK_GetCoreM7Freq()
249 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
282 return freq / pre / post; in CLOCK_GetAxiFreq()
294 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAhb); in CLOCK_GetAhbFreq() local
327 return freq / pre / post; in CLOCK_GetAhbFreq()
339 uint32_t post = CLOCK_GetRootPostDivider(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.c166 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
182 return freq / pre / post; in CLOCK_GetClockRootFreq()
194 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
227 return freq / pre / post; in CLOCK_GetCoreM4Freq()
239 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
272 return freq / pre / post; in CLOCK_GetAxiFreq()
284 uint32_t post = CLOCK_GetRootPostDivider(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
965 assert((post <= 64U) && (post != 0U)); in CLOCK_SetRootDivider()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MQ6/drivers/
Dfsl_clock.c166 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
182 return freq / pre / post; in CLOCK_GetClockRootFreq()
194 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
227 return freq / pre / post; in CLOCK_GetCoreM4Freq()
239 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
272 return freq / pre / post; in CLOCK_GetAxiFreq()
284 uint32_t post = CLOCK_GetRootPostDivider(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
965 assert((post <= 64U) && (post != 0U)); in CLOCK_SetRootDivider()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MQ7/drivers/
Dfsl_clock.c166 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
182 return freq / pre / post; in CLOCK_GetClockRootFreq()
194 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
227 return freq / pre / post; in CLOCK_GetCoreM4Freq()
239 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
272 return freq / pre / post; in CLOCK_GetAxiFreq()
284 uint32_t post = CLOCK_GetRootPostDivider(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
965 assert((post <= 64U) && (post != 0U)); in CLOCK_SetRootDivider()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MD6/drivers/
Dfsl_clock.c166 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
182 return freq / pre / post; in CLOCK_GetClockRootFreq()
194 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
227 return freq / pre / post; in CLOCK_GetCoreM4Freq()
239 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
272 return freq / pre / post; in CLOCK_GetAxiFreq()
284 uint32_t post = CLOCK_GetRootPostDivider(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
965 assert((post <= 64U) && (post != 0U)); in CLOCK_SetRootDivider()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MD7/drivers/
Dfsl_clock.c166 uint32_t post = CLOCK_GetRootPostDivider(clockRootControl); in CLOCK_GetClockRootFreq() local
182 return freq / pre / post; in CLOCK_GetClockRootFreq()
194 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootM4); in CLOCK_GetCoreM4Freq() local
227 return freq / pre / post; in CLOCK_GetCoreM4Freq()
239 uint32_t post = CLOCK_GetRootPostDivider(kCLOCK_RootAxi); in CLOCK_GetAxiFreq() local
272 return freq / pre / post; in CLOCK_GetAxiFreq()
284 uint32_t post = CLOCK_GetRootPostDivider(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
965 assert((post <= 64U) && (post != 0U)); in CLOCK_SetRootDivider()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QM6/drivers/
Dfsl_sc_event.c354 status_t SCEvent_WaitEvent(sc_event_sema4_wait_t wait, sc_event_sema4_post_t post, void *sem, uint3… in SCEvent_WaitEvent() argument
359 assert(post); in SCEvent_WaitEvent()
366 s_postFunc = post; in SCEvent_WaitEvent()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML6/
Dsystem_MIMX8ML6_cm7.c176 …uint32_t post = ((*M7_ClockRoot & CCM_TARGET_ROOT_POST_PODF_MASK) >> CCM_TARGET_ROOT_POST_PODF_SHI… in SystemCoreClockUpdate() local
211 SystemCoreClock = freq / pre / post; in SystemCoreClockUpdate()

123