Lines Matching refs:ccmRoot
355 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()
417 void CCM_SetRootDivider(CCM_Type * base, uint32_t ccmRoot, uint32_t pre, uint32_t post);
427 void CCM_GetRootDivider(CCM_Type * base, uint32_t ccmRoot, uint32_t *pre, uint32_t *post);
438 void CCM_UpdateRoot(CCM_Type * base, uint32_t ccmRoot, uint32_t mux, uint32_t pre, uint32_t post);