lib/sw_apps/zynqmp_pmufw/src/pm_slave.c
static u32 PmGetMinRequestedLatency(const PmSlave* const slave)
{
	PmRequirement* req = slave->reqs;
	u32 minLatency = MAX_LATENCY;

	while (NULL != req) {
		if (0U != (PM_MASTER_SET_LATENCY_REQ & req->info)) {
			if (minLatency > req->latencyReq) {
				minLatency = req->latencyReq;
			}
		}
		req = req->nextMaster;
	}

	return minLatency;
}
/**
 * PmGetMinRequestedLatency() - Find minimum of all latency requirements
 * @slave       Slave whose min required latency should be found
 *
 * @return      Latency in microseconds
 */
Find minimum of all latency requirements
@slave       Slave whose min required latency should be found

@return      Latency in microseconds
Find minimum of all latency requirements @slave Slave whose min required latency should be found @return Latency in microseconds
static u32 PmGetMinRequestedLatency(const PmSlave* const slave)
{
	PmRequirement* req = slave->reqs;
	u32 minLatency = MAX_LATENCY;
	while (NULL != req) {
		if (0U != (PM_MASTER_SET_LATENCY_REQ & req->info)) {
			if (minLatency > req->latencyReq) {
				minLatency = req->latencyReq;
			}
		}
		req = req->nextMaster;
	}
	return minLatency;
}
static u32 PmGetMinRequestedLatency ( const PmSlave * const slave ) { PmRequirement * req = slave -> reqs ; u32 minLatency = MAX_LATENCY ; while ( NULL != req ) { if ( 0U != ( PM_MASTER_SET_LATENCY_REQ & req -> info ) ) { if ( minLatency > req -> latencyReq ) { minLatency = req -> latencyReq ; } } req = req -> nextMaster ; } return minLatency ; }
PmGetMinRequestedLatency() - Find minimum of all latency requirements
 @slave       Slave whose min required latency should be found
PmGetMinRequestedLatency () - Find minimum of all latency requirements @slave Slave whose min required latency should be found