lib/sw_apps/zynqmp_pmufw/src/pm_system.c
bool PmSystemDetectPowerOffSuspend(const PmMaster* const master)
{
	bool cond = false;

	cond = PmMasterIsLastSuspending(master);
	if (false == cond) {
		goto done;
	}

	cond = PmMasterIsUniqueWakeup(&pmSlaveExternDevice_g);

done:
	return cond;
}
/**
 * PmSystemDetectPowerOffSuspend() - Detecet whether Power Off Suspend state may
 * 				     be entered
 * @master	Suspending master
 *
 * @return	True if master is last suspending in the system and Extern
 * 		device is unique wakeup source in the system, false otherwise
 */
Detecet whether Power Off Suspend state may
be entered
@master      Suspending master

@return      True if master is last suspending in the system and Extern
device is unique wakeup source in the system, false otherwise
Detecet whether Power Off Suspend state may be entered @master Suspending master @return True if master is last suspending in the system and Extern device is unique wakeup source in the system false otherwise
bool PmSystemDetectPowerOffSuspend(const PmMaster* const master)
{
	bool cond = false;
	cond = PmMasterIsLastSuspending(master);
	if (false == cond) {
		goto done;
	}
	cond = PmMasterIsUniqueWakeup(&pmSlaveExternDevice_g);
done:
	return cond;
}
bool PmSystemDetectPowerOffSuspend ( const PmMaster * const master ) { bool cond = false ; cond = PmMasterIsLastSuspending ( master ) ; if ( false == cond ) { goto done ; } cond = PmMasterIsUniqueWakeup ( & pmSlaveExternDevice_g ) ; done : return cond ; }
PmSystemDetectPowerOffSuspend() - Detecet whether Power Off Suspend state may
                                   be entered
 @master      Suspending master
PmSystemDetectPowerOffSuspend () - Detecet whether Power Off Suspend state may be entered @master Suspending master