lib/sw_apps/zynqmp_pmufw/src/pm_power.c
static s32 PmPowerRequestInt(PmPower* const power)
{
	s32 status = XST_SUCCESS;

	if (PM_PWR_STATE_OFF == power->node.currState) {
		status = PmPowerUp(power);
	}

	if (XST_SUCCESS == status) {
		power->useCount++;
	}

	return status;
}
/**
 * PmPowerRequestInt() - Used internally to request a power node
 * @power	Requested power node
 *
 * @return	XST_SUCCESS if power is already powered up, otherwise status
 *		of powering up.
 */
Used internally to request a power node
@power       Requested power node

@return      XST_SUCCESS if power is already powered up, otherwise status
of powering up.
Used internally to request a power node @power Requested power node @return XST_SUCCESS if power is already powered up otherwise status of powering up .
static s32 PmPowerRequestInt(PmPower* const power)
{
	s32 status = XST_SUCCESS;
	if (PM_PWR_STATE_OFF == power->node.currState) {
		status = PmPowerUp(power);
	}
	if (XST_SUCCESS == status) {
		power->useCount++;
	}
	return status;
}
static s32 PmPowerRequestInt ( PmPower * const power ) { s32 status = XST_SUCCESS ; if ( PM_PWR_STATE_OFF == power -> node . currState ) { status = PmPowerUp ( power ) ; } if ( XST_SUCCESS == status ) { power -> useCount ++ ; } return status ; }
PmPowerRequestInt() - Used internally to request a power node
 @power       Requested power node
PmPowerRequestInt () - Used internally to request a power node @power Requested power node