XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_noc.c
u16 XAieTile_NoCIntcL2Mask(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_INTCON2NDLEVMSK);

	return XAie_GetField(RegVal, XAIEGBL_NOC_INTCON2NDLEVMSK_IRQMSKA_LSB,
				XAIEGBL_NOC_INTCON2NDLEVMSK_IRQMSKA_MASK);
}
/******************************************************************************/
/**
 *
 * This API returns the current mask value for 2nd level interrupt controller.
 * Masking/unmasking of interrupts from 1st level sections can be done using
 * XAieTile_NoCIntcL2Enable() and XAieTile_NoCIntcL2Disable() APIs
 *
 * @param	TileInstPtr - Pointer to the Tile instance. Should be shim NoC
 *				tile
 *
 * @return	Current 16-bit mask value
 *
 * @note	None
 *
 ******************************************************************************/
This API returns the current mask value for 2nd level interrupt controller.
Masking/unmasking of interrupts from 1st level sections can be done using
XAieTile_NoCIntcL2Enable() and XAieTile_NoCIntcL2Disable() APIs

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

@return      Current 16-bit mask value

@note        None
This API returns the current mask value for 2nd level interrupt controller . Masking / unmasking of interrupts from 1st level sections can be done using XAieTile_NoCIntcL2Enable () and XAieTile_NoCIntcL2Disable () APIs @param TileInstPtr - Pointer to the Tile instance . Should be shim NoC tile @return Current 16 - bit mask value @note None
u16 XAieTile_NoCIntcL2Mask(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_INTCON2NDLEVMSK);
	return XAie_GetField(RegVal, XAIEGBL_NOC_INTCON2NDLEVMSK_IRQMSKA_LSB,
				XAIEGBL_NOC_INTCON2NDLEVMSK_IRQMSKA_MASK);
}
u16 XAieTile_NoCIntcL2Mask ( 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_INTCON2NDLEVMSK ) ; return XAie_GetField ( RegVal , XAIEGBL_NOC_INTCON2NDLEVMSK_IRQMSKA_LSB , XAIEGBL_NOC_INTCON2NDLEVMSK_IRQMSKA_MASK ) ; }
This API returns the current mask value for 2nd level interrupt controller.
This API returns the current mask value for 2nd level interrupt controller .