lib/sw_apps/zynqmp_pmufw/src/pm_slave.c
static u32 PmGetMaxCapabilities(const PmSlave* const slave)
{
	PmRequirement* req = slave->reqs;
	u32 maxCaps = 0U;

	while (NULL != req) {
		maxCaps |= req->currReq;
		req = req->nextMaster;
	}

	return maxCaps;
}
/**
 * PmGetMaxCapabilities()- Get maximum of all requested capabilities of slave
 * @slave   Slave whose maximum required capabilities should be determined
 *
 * @return  32bit value encoding the capabilities
 */
PmGetMaxCapabilities()- Get maximum of all requested capabilities of slave
@slave   Slave whose maximum required capabilities should be determined

@return  32bit value encoding the capabilities
PmGetMaxCapabilities () - Get maximum of all requested capabilities of slave @slave Slave whose maximum required capabilities should be determined @return 32bit value encoding the capabilities
static u32 PmGetMaxCapabilities(const PmSlave* const slave)
{
	PmRequirement* req = slave->reqs;
	u32 maxCaps = 0U;
	while (NULL != req) {
		maxCaps |= req->currReq;
		req = req->nextMaster;
	}
	return maxCaps;
}
static u32 PmGetMaxCapabilities ( const PmSlave * const slave ) { PmRequirement * req = slave -> reqs ; u32 maxCaps = 0U ; while ( NULL != req ) { maxCaps |= req -> currReq ; req = req -> nextMaster ; } return maxCaps ; }
PmGetMaxCapabilities()- Get maximum of all requested capabilities of slave
 @slave   Slave whose maximum required capabilities should be determined
PmGetMaxCapabilities () - Get maximum of all requested capabilities of slave @slave Slave whose maximum required capabilities should be determined