XilinxProcessorIPLib/drivers/aienginev2/src/io_backend/privilege/xaie_io_privilege.c
static AieRC _XAie_PrivilegeSetPartColReset(XAie_DevInst *DevInst,
		u8 RstEnable)
{
	AieRC RC = XAIE_OK;

	for(u32 C = 0; C < DevInst->NumCols; C++) {
		XAie_LocType Loc = XAie_TileLoc(C, 0);

		RC = _XAie_PrivilegeSetColReset(DevInst, Loc, RstEnable);
		if(RC != XAIE_OK) {
			XAIE_ERROR("Failed to reset columns.\n");
			break;
		}
	}

	return RC;
}
/*****************************************************************************/
/**
*
* This API set the tile columns reset for every column in the partition
*
* @param	DevInst: Device Instance
* @param	RstEnable: XAIE_ENABLE to assert reset, XAIE_DISABLE to
*			   deassert reset.
*
* @return       XAIE_OK on success, error code on failure
*
* @note		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 set the tile columns reset for every column in the partition
This API set the tile columns reset for every column in the partition
static AieRC _XAie_PrivilegeSetPartColReset(XAie_DevInst *DevInst,
		u8 RstEnable)
{
	AieRC RC = XAIE_OK;
	for(u32 C = 0; C < DevInst->NumCols; C++) {
		XAie_LocType Loc = XAie_TileLoc(C, 0);
		RC = _XAie_PrivilegeSetColReset(DevInst, Loc, RstEnable);
		if(RC != XAIE_OK) {
			XAIE_ERROR("Failed to reset columns.\n");
			break;
		}
	}
	return RC;
}
static AieRC _XAie_PrivilegeSetPartColReset ( XAie_DevInst * DevInst , u8 RstEnable ) { AieRC RC = XAIE_OK ; for ( u32 C = 0 ; C < DevInst -> NumCols ; C ++ ) { XAie_LocType Loc = XAie_TileLoc ( C , 0 ) ; RC = _XAie_PrivilegeSetColReset ( DevInst , Loc , RstEnable ) ; if ( RC != XAIE_OK ) { XAIE_ERROR ( " \n " ) ; break ; } } return RC ; }
This API set the tile columns reset for every column in the partition
This API set the tile columns reset for every column in the partition