lib/sw_apps/zynqmp_pmufw/src/pm_slave.c
s32 PmSlaveHasWakeUpCap(const PmSlave* const slv)
{
	s32 status;

	/* Check is the slave's pointer to the GIC Proxy wake initialized */
	if (NULL == slv->wake) {
		status = XST_NO_FEATURE;
		goto done;
	}

	/* Check whether the slave has a state with wake-up capability */
	status = PmCheckCapabilities(slv, PM_CAP_WAKEUP);

done:
	return status;
}
/**
 * PmSlaveHasWakeUpCap() - Check if the slave has a wake-up capability
 * @slv		Slave to be checked
 *
 * @return	XST_SUCCESS if the slave has the wake-up capability
 *		XST_NO_FEATURE if the slave doesn't have the wake-up capability
 */
Check if the slave has a wake-up capability
@slv         Slave to be checked

@return      XST_SUCCESS if the slave has the wake-up capability
XST_NO_FEATURE if the slave doesn't have the wake-up capability
Check if the slave has a wake - up capability @slv Slave to be checked @return XST_SUCCESS if the slave has the wake - up capability XST_NO_FEATURE if the slave doesn ' t have the wake - up capability
s32 PmSlaveHasWakeUpCap(const PmSlave* const slv)
{
	s32 status;
	if (NULL == slv->wake) {
		status = XST_NO_FEATURE;
		goto done;
	}
	status = PmCheckCapabilities(slv, PM_CAP_WAKEUP);
done:
	return status;
}
s32 PmSlaveHasWakeUpCap ( const PmSlave * const slv ) { s32 status ; if ( NULL == slv -> wake ) { status = XST_NO_FEATURE ; goto done ; } status = PmCheckCapabilities ( slv , PM_CAP_WAKEUP ) ; done : return status ; }
PmSlaveHasWakeUpCap() - Check if the slave has a wake-up capability
 @slv         Slave to be checked
PmSlaveHasWakeUpCap () - Check if the slave has a wake - up capability @slv Slave to be checked
/* Check is the slave's pointer to the GIC Proxy wake initialized */ /* Check whether the slave has a state with wake-up capability */