Home
last modified time | relevance | path

Searched refs:g_suspendOps (Results 1 - 2 of 2) sorted by relevance

/base/powermgr/powermgr_lite/services/src/power/
H A Drunning_lock_hub.c19 static struct AutoSuspendOps* g_suspendOps = NULL; variable
24 if (!g_runningLockOps || !g_suspendOps) { in RunningLockHubLock()
33 g_suspendOps->IncSuspendBlockCounter(); in RunningLockHubLock()
38 if (!g_runningLockOps || !g_suspendOps) { in RunningLockHubUnlock()
43 g_suspendOps->DecSuspendBlockCounter(); in RunningLockHubUnlock()
53 g_suspendOps = suspendOps; in RunningLockHubInit()
H A Dsuspend_controller.c25 static struct AutoSuspendOps* g_suspendOps = NULL; variable
40 if (!g_suspendOps) { in EnableSuspend()
50 g_suspendOps->Enable(); in EnableSuspend()
65 g_suspendOps = AutoSuspendOpsInit(); in SuspendControllerInit()
66 if (!g_suspendOps) { in SuspendControllerInit()
70 if (RunningLockHubInit(g_suspendOps) == FALSE) { in SuspendControllerInit()

Completed in 1 milliseconds