lib/sw_apps/zynqmp_pmufw/src/pm_power.c
s32 PmPowerRequestParent(PmNode* const node)
{
	s32 status = XST_SUCCESS;

	if (0U == (NODE_LOCKED_POWER_FLAG & node->flags)) {
		status = PmPowerRequest(node->parent);
		if (XST_SUCCESS == status) {
			node->flags |= NODE_LOCKED_POWER_FLAG;
		}
	}

	return status;
}
/**
 * PmPowerRequestParent() - Request power parent to be powered up
 * @node	Node which requests its power parent
 *
 * @return	XST_SUCCESS if power parent is already up, status of powering up
 *		otherwise.
 */
Request power parent to be powered up
@node        Node which requests its power parent

@return      XST_SUCCESS if power parent is already up, status of powering up
otherwise.
Request power parent to be powered up @node Node which requests its power parent @return XST_SUCCESS if power parent is already up status of powering up otherwise .
s32 PmPowerRequestParent(PmNode* const node)
{
	s32 status = XST_SUCCESS;
	if (0U == (NODE_LOCKED_POWER_FLAG & node->flags)) {
		status = PmPowerRequest(node->parent);
		if (XST_SUCCESS == status) {
			node->flags |= NODE_LOCKED_POWER_FLAG;
		}
	}
	return status;
}
s32 PmPowerRequestParent ( PmNode * const node ) { s32 status = XST_SUCCESS ; if ( 0U == ( NODE_LOCKED_POWER_FLAG & node -> flags ) ) { status = PmPowerRequest ( node -> parent ) ; if ( XST_SUCCESS == status ) { node -> flags |= NODE_LOCKED_POWER_FLAG ; } } return status ; }
PmPowerRequestParent() - Request power parent to be powered up
 @node        Node which requests its power parent
PmPowerRequestParent () - Request power parent to be powered up @node Node which requests its power parent