Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/pal/linux/
Dcc_pal_pm.c9 int32_t g_pmCntr; variable
13 g_pmCntr = 0; in CC_PalPowerSaveModeInit()
19 return g_pmCntr; in CC_PalPowerSaveModeStatus()
27 __atomic_fetch_add(&g_pmCntr, 1, __ATOMIC_SEQ_CST); in CC_PalPowerSaveModeSelect()
30 __atomic_fetch_sub(&g_pmCntr, 1, __ATOMIC_SEQ_CST); in CC_PalPowerSaveModeSelect()
36 if(g_pmCntr == 0){ in CC_PalPowerSaveModeSelect()
41 if(g_pmCntr < 0 ){ in CC_PalPowerSaveModeSelect()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/pal/freertos/
Dcc_pal_pm.c11 int32_t g_pmCntr; variable
15 g_pmCntr = 0; in CC_PalPowerSaveModeInit()
21 return g_pmCntr; in CC_PalPowerSaveModeStatus()
31 g_pmCntr++; in CC_PalPowerSaveModeSelect()
36 g_pmCntr--; in CC_PalPowerSaveModeSelect()
43 if(g_pmCntr == 0){ in CC_PalPowerSaveModeSelect()
48 if(g_pmCntr < 0 ){ in CC_PalPowerSaveModeSelect()