Searched refs:g_pmCntr (Results 1 – 2 of 2) sorted by relevance
9 int32_t g_pmCntr; variable13 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()
11 int32_t g_pmCntr; variable15 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()