lib/sw_apps/zynqmp_pmufw/src/pm_reset.c
s32 PmResetAssertInt(u32 reset, u32 action)
{
	s32 status;
	const PmReset *resetPtr = PmGetResetById(reset);

	if (NULL == resetPtr) {
		PmWarn("Invalid reset %lu\r\n", reset);
		status = XST_INVALID_PARAM;
		goto err;
	}

	status = PmResetDoAssert(resetPtr, action);

err:
	return status;
}
/**
 * PmResetAssertInt() - Configure reset line
 * @reset       ID of reset to be configured
 * @action      Specifies the action (assert, release, pulse)
 */
Configure reset line
@reset       ID of reset to be configured
@action      Specifies the action (assert, release, pulse)
Configure reset line @reset ID of reset to be configured @action Specifies the action ( assert release pulse )
s32 PmResetAssertInt(u32 reset, u32 action)
{
	s32 status;
	const PmReset *resetPtr = PmGetResetById(reset);
	if (NULL == resetPtr) {
		PmWarn("Invalid reset %lu\r\n", reset);
		status = XST_INVALID_PARAM;
		goto err;
	}
	status = PmResetDoAssert(resetPtr, action);
err:
	return status;
}
s32 PmResetAssertInt ( u32 reset , u32 action ) { s32 status ; const PmReset * resetPtr = PmGetResetById ( reset ) ; if ( NULL == resetPtr ) { PmWarn ( " \r \n " , reset ) ; status = XST_INVALID_PARAM ; goto err ; } status = PmResetDoAssert ( resetPtr , action ) ; err : return status ; }
PmResetAssertInt() - Configure reset line
 @reset       ID of reset to be configured
 @action      Specifies the action (assert, release, pulse)
PmResetAssertInt () - Configure reset line @reset ID of reset to be configured @action Specifies the action ( assert release pulse )