Searched refs:deviceSuspend (Results 1 - 2 of 2) sorted by relevance
/kernel/liteos_a/kernel/extended/power/ |
H A D | los_pm.c | 136 STATIC UINT32 OsPmSuspendPrepare(Suspend sysSuspendEarly, Suspend deviceSuspend, UINT32 mode, UINT32 *prepare) in OsPmSuspendPrepare() argument 148 if (deviceSuspend != NULL) { in OsPmSuspendPrepare() 149 ret = deviceSuspend(mode); in OsPmSuspendPrepare() 159 STATIC UINT32 OsPmSuspendCheck(LosPmCB *pm, Suspend *sysSuspendEarly, Suspend *deviceSuspend, LOS_SysSleepEnum *mode) in OsPmSuspendCheck() argument 173 *deviceSuspend = pm->device->suspend; in OsPmSuspendCheck() 175 *deviceSuspend = NULL; in OsPmSuspendCheck() 184 Suspend sysSuspendEarly, deviceSuspend; in OsPmSuspendSleep() local 189 ret = OsPmSuspendCheck(pm, &sysSuspendEarly, &deviceSuspend, &mode); in OsPmSuspendSleep() 195 ret = OsPmSuspendPrepare(sysSuspendEarly, deviceSuspend, (UINT32)mode, &prepare); in OsPmSuspendSleep()
|
/kernel/liteos_m/components/power/ |
H A D | los_pm.c | 206 STATIC UINT32 OsPmSuspendPrepare(Suspend sysSuspendEarly, Suspend deviceSuspend, UINT32 mode, UINT32 *prepare) in OsPmSuspendPrepare() argument 218 if (deviceSuspend != NULL) { in OsPmSuspendPrepare() 219 ret = deviceSuspend(mode); in OsPmSuspendPrepare() 229 STATIC UINT32 OsPmSuspendCheck(LosPmCB *pm, Suspend *sysSuspendEarly, Suspend *deviceSuspend, LOS_SysSleepEnum *mode) in OsPmSuspendCheck() argument 246 *deviceSuspend = pm->device->suspend; in OsPmSuspendCheck() 254 Suspend sysSuspendEarly, deviceSuspend; in OsPmSuspendSleep() local 259 ret = OsPmSuspendCheck(pm, &sysSuspendEarly, &deviceSuspend, &mode); in OsPmSuspendSleep() 264 ret = OsPmSuspendPrepare(sysSuspendEarly, deviceSuspend, (UINT32)mode, &prepare); in OsPmSuspendSleep()
|
Completed in 3 milliseconds