XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_noc.c
u8 XAieTile_NoCIntcL2IntrGet(XAieGbl_Tile *TileInstPtr)
{
	u32 RegVal;

	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType == XAIEGBL_TILE_TYPE_SHIMNOC);

	RegVal = XAieGbl_Read32(TileInstPtr->TileAddr +
						XAIEGBL_NOC_INTCON2NDLEVINT);

	return XAie_GetField(RegVal, XAIEGBL_NOC_INTCON2NDLEVINT_NOCINT_LSB,
				XAIEGBL_NOC_INTCON2NDLEVINT_NOCINT_MASK);
}
/******************************************************************************/
/**
 *
 * This API returns the NoC interrupt line number to which the 2nd level
 * interrupt controller is driving the 1st level interrupts to
 *
 * @param	TileInstPtr - Pointer to the Tile instance. Should be shim NoC
 *				tile.
 *
 * @return	NoC interrupt line number
 *
 * @note	None
 *
 ******************************************************************************/
This API returns the NoC interrupt line number to which the 2nd level
interrupt controller is driving the 1st level interrupts to

@param       TileInstPtr - Pointer to the Tile instance. Should be shim NoC
tile.

@return      NoC interrupt line number

@note        None
This API returns the NoC interrupt line number to which the 2nd level interrupt controller is driving the 1st level interrupts to @param TileInstPtr - Pointer to the Tile instance . Should be shim NoC tile . @return NoC interrupt line number @note None
u8 XAieTile_NoCIntcL2IntrGet(XAieGbl_Tile *TileInstPtr)
{
	u32 RegVal;
	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType == XAIEGBL_TILE_TYPE_SHIMNOC);
	RegVal = XAieGbl_Read32(TileInstPtr->TileAddr +
						XAIEGBL_NOC_INTCON2NDLEVINT);
	return XAie_GetField(RegVal, XAIEGBL_NOC_INTCON2NDLEVINT_NOCINT_LSB,
				XAIEGBL_NOC_INTCON2NDLEVINT_NOCINT_MASK);
}
u8 XAieTile_NoCIntcL2IntrGet ( XAieGbl_Tile * TileInstPtr ) { u32 RegVal ; XAie_AssertNonvoid ( TileInstPtr != XAIE_NULL ) ; XAie_AssertNonvoid ( TileInstPtr -> TileType == XAIEGBL_TILE_TYPE_SHIMNOC ) ; RegVal = XAieGbl_Read32 ( TileInstPtr -> TileAddr + XAIEGBL_NOC_INTCON2NDLEVINT ) ; return XAie_GetField ( RegVal , XAIEGBL_NOC_INTCON2NDLEVINT_NOCINT_LSB , XAIEGBL_NOC_INTCON2NDLEVINT_NOCINT_MASK ) ; }
This API returns the NoC interrupt line number to which the 2nd level
 interrupt controller is driving the 1st level interrupts to
This API returns the NoC interrupt line number to which the 2nd level interrupt controller is driving the 1st level interrupts to