lib/sw_apps/zynqmp_pmufw/src/pm_reset.c
static void PmResetAssertCommon(const u32 ctrlAddr, const u32 mask,
				 const u32 action)
{
	if (PM_RESET_ACTION_RELEASE == action) {
		XPfw_RMW32(ctrlAddr, mask, 0U);
	} else if (PM_RESET_ACTION_ASSERT == action) {
		XPfw_RMW32(ctrlAddr, mask, mask);
	} else {
		/* For MISRA compliance */
	}
}
/**
 * PmResetAssertCommon() - Common assert handler
 * @ctrlAddr	Address of the reset control register
 * @mask		Bitmask of the control register
 * @action	States whether to assert or release reset line
 */
Common assert handler
@ctrlAddr    Address of the reset control register
@mask                Bitmask of the control register
@action      States whether to assert or release reset line
Common assert handler @ctrlAddr Address of the reset control register @mask Bitmask of the control register @action States whether to assert or release reset line
static void PmResetAssertCommon(const u32 ctrlAddr, const u32 mask,
				 const u32 action)
{
	if (PM_RESET_ACTION_RELEASE == action) {
		XPfw_RMW32(ctrlAddr, mask, 0U);
	} else if (PM_RESET_ACTION_ASSERT == action) {
		XPfw_RMW32(ctrlAddr, mask, mask);
	} else {
	}
}
static void PmResetAssertCommon ( const u32 ctrlAddr , const u32 mask , const u32 action ) { if ( PM_RESET_ACTION_RELEASE == action ) { XPfw_RMW32 ( ctrlAddr , mask , 0U ) ; } else if ( PM_RESET_ACTION_ASSERT == action ) { XPfw_RMW32 ( ctrlAddr , mask , mask ) ; } else { } }
PmResetAssertCommon() - Common assert handler
 @ctrlAddr    Address of the reset control register
 @mask                Bitmask of the control register
 @action      States whether to assert or release reset line
PmResetAssertCommon () - Common assert handler @ctrlAddr Address of the reset control register @mask Bitmask of the control register @action States whether to assert or release reset line
/* For MISRA compliance */