lib/sw_apps/zynqmp_pmufw/src/pm_requirement.c
PmRequirement* PmRequirementGetNoMaster(const PmSlave* const slave)
{
	PmRequirement* req = slave->reqs;

	while (NULL != req) {
		if (NULL == req->master) {
			break;
		}
		req = req->nextMaster;
	}

	return req;
}
/**
 * PmRequirementGetNoMaster() - Get system requirement for a slave
 * @slave	Slave in question
 *
 * @return	Pointer to the requirement or NULL if not found.
 */
Get system requirement for a slave
@slave       Slave in question

@return      Pointer to the requirement or NULL if not found.
Get system requirement for a slave @slave Slave in question @return Pointer to the requirement or NULL if not found .
PmRequirement* PmRequirementGetNoMaster(const PmSlave* const slave)
{
	PmRequirement* req = slave->reqs;
	while (NULL != req) {
		if (NULL == req->master) {
			break;
		}
		req = req->nextMaster;
	}
	return req;
}
PmRequirement * PmRequirementGetNoMaster ( const PmSlave * const slave ) { PmRequirement * req = slave -> reqs ; while ( NULL != req ) { if ( NULL == req -> master ) { break ; } req = req -> nextMaster ; } return req ; }
PmRequirementGetNoMaster() - Get system requirement for a slave
 @slave       Slave in question
PmRequirementGetNoMaster () - Get system requirement for a slave @slave Slave in question