XilinxProcessorIPLib/drivers/aienginev2/src/interrupt/xaie_interrupt.c
static AieRC _XAie_FindNextNoCTile(XAie_DevInst *DevInst, XAie_LocType Loc,
		XAie_LocType *NextLoc)
{
	while (++Loc.Col < DevInst->NumCols) {
		u8 TileType = DevInst->DevOps->GetTTypefromLoc(DevInst, Loc);
		if (TileType == XAIEGBL_TILE_TYPE_SHIMNOC) {
			NextLoc->Col = Loc.Col;
			NextLoc->Row = Loc.Row;
			return XAIE_OK;
		}
	}

	return XAIE_ERR;
}
/*****************************************************************************/
/**
*
* This API finds the location on next NoC tile with respect to the current
* shim tile.
*
* @param	DevInst: Device Instance
* @param	Loc: Current shim tile
* @param	NextLoc: Pointer to return location of NoC tile
*
* @return	XAIE_OK on success, error code if no NoC tile is found.
*
* @note		This function is used internally only.
******************************************************************************/
This API finds the location on next NoC tile with respect to the current
shim tile.
This API finds the location on next NoC tile with respect to the current shim tile .
static AieRC _XAie_FindNextNoCTile(XAie_DevInst *DevInst, XAie_LocType Loc,
		XAie_LocType *NextLoc)
{
	while (++Loc.Col < DevInst->NumCols) {
		u8 TileType = DevInst->DevOps->GetTTypefromLoc(DevInst, Loc);
		if (TileType == XAIEGBL_TILE_TYPE_SHIMNOC) {
			NextLoc->Col = Loc.Col;
			NextLoc->Row = Loc.Row;
			return XAIE_OK;
		}
	}
	return XAIE_ERR;
}
static AieRC _XAie_FindNextNoCTile ( XAie_DevInst * DevInst , XAie_LocType Loc , XAie_LocType * NextLoc ) { while ( ++ Loc . Col < DevInst -> NumCols ) { u8 TileType = DevInst -> DevOps -> GetTTypefromLoc ( DevInst , Loc ) ; if ( TileType == XAIEGBL_TILE_TYPE_SHIMNOC ) { NextLoc -> Col = Loc . Col ; NextLoc -> Row = Loc . Row ; return XAIE_OK ; } } return XAIE_ERR ; }
This API finds the location on next NoC tile with respect to the current
shim tile.
This API finds the location on next NoC tile with respect to the current shim tile .