lib/sw_apps/zynqmp_pmufw/src/pm_power.c
static u32 PmFpdPowerSupplyCheck(XpbrServHndlr_t RomHandler)
{
	u32 status;
	u32 var = 0U;

	/* Cheat compiler to not optimize timeout based on counting */
	(void)XPfw_UtilPollForMask((u32)&var, ~var,
				   PM_FPD_POWER_SUPPLYCHECK_TIMEOUT);

	status = RomHandler();

	return status;
}
/**
 * PmFpdPowerSupplyCheck() - Wrapper for PMU-ROM FPD power supply check handler
 * @RomHandler  Default PMU-ROM handler for FPD power supply check
 *
 * @return      The PMU-ROM handler's return value
 *
 * @note        The wrapper just introduces a timeout based on counting.
 *              This function should be replaced by either Sysmon-based check
 *              or custom/board specific implementation.
 */
Wrapper for PMU-ROM FPD power supply check handler
@RomHandler  Default PMU-ROM handler for FPD power supply check

@return      The PMU-ROM handler's return value

@note        The wrapper just introduces a timeout based on counting.
This function should be replaced by either Sysmon-based check
or custom/board specific implementation.
Wrapper for PMU - ROM FPD power supply check handler @RomHandler Default PMU - ROM handler for FPD power supply check @return The PMU - ROM handler ' s return value @note The wrapper just introduces a timeout based on counting . This function should be replaced by either Sysmon - based check or custom / board specific implementation .
static u32 PmFpdPowerSupplyCheck(XpbrServHndlr_t RomHandler)
{
	u32 status;
	u32 var = 0U;
	(void)XPfw_UtilPollForMask((u32)&var, ~var,
				   PM_FPD_POWER_SUPPLYCHECK_TIMEOUT);
	status = RomHandler();
	return status;
}
static u32 PmFpdPowerSupplyCheck ( XpbrServHndlr_t RomHandler ) { u32 status ; u32 var = 0U ; ( void ) XPfw_UtilPollForMask ( ( u32 ) & var , ~ var , PM_FPD_POWER_SUPPLYCHECK_TIMEOUT ) ; status = RomHandler ( ) ; return status ; }
PmFpdPowerSupplyCheck() - Wrapper for PMU-ROM FPD power supply check handler
 @RomHandler  Default PMU-ROM handler for FPD power supply check
PmFpdPowerSupplyCheck () - Wrapper for PMU - ROM FPD power supply check handler @RomHandler Default PMU - ROM handler for FPD power supply check
/* Cheat compiler to not optimize timeout based on counting */