lib/sw_apps/zynqmp_pmufw/src/pm_reset.c
static u32 PmResetGetStatusCommon(const u32 addr, const u32 mask)
{
	u32 resetStatus = 0U;

	if ((Xil_In32(addr) & mask) == mask) {
		resetStatus = 1U;
	}

	return resetStatus;
}
/**
 * PmResetGetStatusCommon() - Common function for getting reset status
 * @addr	Address of the reset status register
 * @mask	Bitmask of the status register
 */
Common function for getting reset status
@addr        Address of the reset status register
@mask        Bitmask of the status register
Common function for getting reset status @addr Address of the reset status register @mask Bitmask of the status register
static u32 PmResetGetStatusCommon(const u32 addr, const u32 mask)
{
	u32 resetStatus = 0U;
	if ((Xil_In32(addr) & mask) == mask) {
		resetStatus = 1U;
	}
	return resetStatus;
}
static u32 PmResetGetStatusCommon ( const u32 addr , const u32 mask ) { u32 resetStatus = 0U ; if ( ( Xil_In32 ( addr ) & mask ) == mask ) { resetStatus = 1U ; } return resetStatus ; }
PmResetGetStatusCommon() - Common function for getting reset status
 @addr        Address of the reset status register
 @mask        Bitmask of the status register
PmResetGetStatusCommon () - Common function for getting reset status @addr Address of the reset status register @mask Bitmask of the status register