XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_pl.c
void XAieTile_PlIntcL1BlockNorthSet(XAieGbl_Tile *TileInstPtr, u32 Mask,
				  u8 SwitchAB)
{
	u64 RegAddr;

	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType != XAIEGBL_TILE_TYPE_AIETILE);
	XAie_AssertNonvoid(SwitchAB == XAIETILE_PL_BLOCK_SWITCHA ||
			   SwitchAB == XAIETILE_PL_BLOCK_SWITCHB);

	RegAddr = TileInstPtr->TileAddr + Shim_1stIrqCntr.BlockNorthSetOff;
	RegAddr += SwitchAB * Shim_1stIrqCntr.SwitchOff;
	XAieGbl_MaskWrite32(RegAddr, Shim_1stIrqCntr.BcEvents.Mask, Mask);
}
/*****************************************************************************/
/**
*
* This API is used to set the north block of 1st level interrupt controller.
*
* @param	TileInstPtr - Pointer to the Tile instance.
* @param	Mask - Mask with bits to set.
* @param	SwitchAB - Flag to indicate if it's the A or B block.
*
* @return	None.
*
* @note		None.
*
*******************************************************************************/
This API is used to set the north block of 1st level interrupt controller.
This API is used to set the north block of 1st level interrupt controller .
void XAieTile_PlIntcL1BlockNorthSet(XAieGbl_Tile *TileInstPtr, u32 Mask,
				  u8 SwitchAB)
{
	u64 RegAddr;
	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType != XAIEGBL_TILE_TYPE_AIETILE);
	XAie_AssertNonvoid(SwitchAB == XAIETILE_PL_BLOCK_SWITCHA ||
			   SwitchAB == XAIETILE_PL_BLOCK_SWITCHB);
	RegAddr = TileInstPtr->TileAddr + Shim_1stIrqCntr.BlockNorthSetOff;
	RegAddr += SwitchAB * Shim_1stIrqCntr.SwitchOff;
	XAieGbl_MaskWrite32(RegAddr, Shim_1stIrqCntr.BcEvents.Mask, Mask);
}
void XAieTile_PlIntcL1BlockNorthSet ( XAieGbl_Tile * TileInstPtr , u32 Mask , u8 SwitchAB ) { u64 RegAddr ; XAie_AssertNonvoid ( TileInstPtr != XAIE_NULL ) ; XAie_AssertNonvoid ( TileInstPtr -> TileType != XAIEGBL_TILE_TYPE_AIETILE ) ; XAie_AssertNonvoid ( SwitchAB == XAIETILE_PL_BLOCK_SWITCHA || SwitchAB == XAIETILE_PL_BLOCK_SWITCHB ) ; RegAddr = TileInstPtr -> TileAddr + Shim_1stIrqCntr . BlockNorthSetOff ; RegAddr += SwitchAB * Shim_1stIrqCntr . SwitchOff ; XAieGbl_MaskWrite32 ( RegAddr , Shim_1stIrqCntr . BcEvents . Mask , Mask ) ; }
This API is used to set the north block of 1st level interrupt controller.
This API is used to set the north block of 1st level interrupt controller .