Home
last modified time | relevance | path

Searched refs:ccmRoot (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-latest/imx/drivers/
Dccm_imx7d.c43 void CCM_SetRootDivider(CCM_Type * base, uint32_t ccmRoot, uint32_t pre, uint32_t post) in CCM_SetRootDivider() argument
48 CCM_REG(ccmRoot) = (CCM_REG(ccmRoot) & in CCM_SetRootDivider()
59 void CCM_GetRootDivider(CCM_Type * base, uint32_t ccmRoot, uint32_t *pre, uint32_t *post) in CCM_GetRootDivider() argument
63 *pre = (CCM_REG(ccmRoot) & CCM_TARGET_ROOT_PRE_PODF_MASK) >> CCM_TARGET_ROOT_PRE_PODF_SHIFT; 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
78 CCM_REG(ccmRoot) = (CCM_REG(ccmRoot) & in CCM_UpdateRoot()
Dccm_imx7d.h355 static inline void CCM_SetRootMux(CCM_Type * base, uint32_t ccmRoot, uint32_t mux) in CCM_SetRootMux() argument
357 CCM_REG(ccmRoot) = (CCM_REG(ccmRoot) & (~CCM_TARGET_ROOT_MUX_MASK)) | in CCM_SetRootMux()
368 static inline uint32_t CCM_GetRootMux(CCM_Type * base, uint32_t ccmRoot) in CCM_GetRootMux() argument
370 return (CCM_REG(ccmRoot) & CCM_TARGET_ROOT_MUX_MASK) >> CCM_TARGET_ROOT_MUX_SHIFT; in CCM_GetRootMux()
379 static inline void CCM_EnableRoot(CCM_Type * base, uint32_t ccmRoot) in CCM_EnableRoot() argument
381 CCM_REG_SET(ccmRoot) = CCM_TARGET_ROOT_SET_ENABLE_MASK; in CCM_EnableRoot()
390 static inline void CCM_DisableRoot(CCM_Type * base, uint32_t ccmRoot) in CCM_DisableRoot() argument
392 CCM_REG_CLR(ccmRoot) = CCM_TARGET_ROOT_CLR_ENABLE_MASK; in CCM_DisableRoot()
404 static inline bool CCM_IsRootEnabled(CCM_Type * base, uint32_t ccmRoot) in CCM_IsRootEnabled() argument
406 return (bool)(CCM_REG(ccmRoot) & CCM_TARGET_ROOT_ENABLE_MASK); in CCM_IsRootEnabled()
[all …]