Home
last modified time | relevance | path

Searched refs:u32TmpVal (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dclk.c676 uint32_t u32TmpVal = 0UL, u32TmpAddr = 0UL; in CLK_EnableModuleClock() local
678 u32TmpVal = (1UL << MODULE_IP_EN_Pos(u32ModuleIdx)); in CLK_EnableModuleClock()
682 *(volatile uint32_t *)u32TmpAddr |= u32TmpVal; in CLK_EnableModuleClock()
746 uint32_t u32TmpVal = 0UL, u32TmpAddr = 0UL; in CLK_DisableModuleClock() local
748 u32TmpVal = ~(1UL << MODULE_IP_EN_Pos(u32ModuleIdx)); in CLK_DisableModuleClock()
752 *(uint32_t *)u32TmpAddr &= u32TmpVal; in CLK_DisableModuleClock()
1053 uint32_t u32TmpVal = 0UL; in CLK_EnableSPDWKPin() local
1059 u32TmpVal = inpw((uint32_t *)u32TmpAddr); in CLK_EnableSPDWKPin()
1060u32TmpVal = (u32TmpVal & ~(CLK_PASWKCTL_WKPSEL_Msk | CLK_PASWKCTL_PRWKEN_Msk | CLK_PASWKCTL_PFWKEN… in CLK_EnableSPDWKPin()
1062 outpw((uint32_t *)u32TmpAddr, u32TmpVal); in CLK_EnableSPDWKPin()
[all …]
Dsys.c167 uint32_t u32TmpVal = 0UL, u32TmpAddr = 0UL; in SYS_ResetModule() local
170 u32TmpVal = (1UL << (u32ModuleIndex & 0x00ffffffUL)); in SYS_ResetModule()
172 *(uint32_t *)u32TmpAddr |= u32TmpVal; in SYS_ResetModule()
175 u32TmpVal = ~(1UL << (u32ModuleIndex & 0x00ffffffUL)); in SYS_ResetModule()
176 *(uint32_t *)u32TmpAddr &= u32TmpVal; in SYS_ResetModule()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dclk.c779 uint32_t u32TmpVal = 0UL, u32TmpAddr = 0UL; in CLK_EnableModuleClock() local
781 u32TmpVal = (1UL << MODULE_IP_EN_Pos(u32ModuleIdx)); in CLK_EnableModuleClock()
785 *(volatile uint32_t *)u32TmpAddr |= u32TmpVal; in CLK_EnableModuleClock()
868 uint32_t u32TmpVal = 0UL, u32TmpAddr = 0UL; in CLK_DisableModuleClock() local
870 u32TmpVal = ~(1UL << MODULE_IP_EN_Pos(u32ModuleIdx)); in CLK_DisableModuleClock()
874 *(uint32_t *)u32TmpAddr &= u32TmpVal; in CLK_DisableModuleClock()
1203 uint32_t u32TmpVal = 0UL; in CLK_EnableSPDWKPin() local
1209 u32TmpVal = inpw((uint32_t *)u32TmpAddr); in CLK_EnableSPDWKPin()
1210u32TmpVal = (u32TmpVal & ~(CLK_PASWKCTL_WKPSEL_Msk | CLK_PASWKCTL_PRWKEN_Msk | CLK_PASWKCTL_PFWKEN… in CLK_EnableSPDWKPin()
1212 outpw((uint32_t *)u32TmpAddr, u32TmpVal); in CLK_EnableSPDWKPin()
[all …]
Dsys.c171 uint32_t u32TmpVal = 0UL, u32TmpAddr = 0UL; in SYS_ResetModule() local
174 u32TmpVal = (1UL << (u32ModuleIndex & 0x00ffffffUL)); in SYS_ResetModule()
176 *(uint32_t *)u32TmpAddr |= u32TmpVal; in SYS_ResetModule()
179 u32TmpVal = ~(1UL << (u32ModuleIndex & 0x00ffffffUL)); in SYS_ResetModule()
180 *(uint32_t *)u32TmpAddr &= u32TmpVal; in SYS_ResetModule()