XilinxProcessorIPLib/drivers/aienginev2/src/io_backend/privilege/xaie_io_privilege.c
static AieRC _XAie_PrivilegeRstPartShims(XAie_DevInst *DevInst)
{
	AieRC RC;

	RC = DevInst->DevOps->SetPartColShimReset(DevInst, XAIE_ENABLE);
	if(RC != XAIE_OK) {
		return RC;
	}

	RC = _XAie_NpiSetShimReset(DevInst, XAIE_ENABLE);
	if(RC != XAIE_OK) {
		return RC;
	}

	return _XAie_NpiSetShimReset(DevInst, XAIE_DISABLE);
}
/*****************************************************************************/
/**
*
* This API reset all SHIMs in the AI engine partition
*
* @param	DevInst: Device Instance
*
* @return	XAIE_OK for success, and error value for failure
*
* @note		This function asserts reset, and then deassert it.
*		It is not required to check the DevInst as the caller function
*		should provide the correct value.
*		This function is internal to this file.
*
******************************************************************************/
This API reset all SHIMs in the AI engine partition
This API reset all SHIMs in the AI engine partition
static AieRC _XAie_PrivilegeRstPartShims(XAie_DevInst *DevInst)
{
	AieRC RC;
	RC = DevInst->DevOps->SetPartColShimReset(DevInst, XAIE_ENABLE);
	if(RC != XAIE_OK) {
		return RC;
	}
	RC = _XAie_NpiSetShimReset(DevInst, XAIE_ENABLE);
	if(RC != XAIE_OK) {
		return RC;
	}
	return _XAie_NpiSetShimReset(DevInst, XAIE_DISABLE);
}
static AieRC _XAie_PrivilegeRstPartShims ( XAie_DevInst * DevInst ) { AieRC RC ; RC = DevInst -> DevOps -> SetPartColShimReset ( DevInst , XAIE_ENABLE ) ; if ( RC != XAIE_OK ) { return RC ; } RC = _XAie_NpiSetShimReset ( DevInst , XAIE_ENABLE ) ; if ( RC != XAIE_OK ) { return RC ; } return _XAie_NpiSetShimReset ( DevInst , XAIE_DISABLE ) ; }
This API reset all SHIMs in the AI engine partition
This API reset all SHIMs in the AI engine partition