XilinxProcessorIPLib/drivers/axiethernet/examples/xaxiethernet_example_intr_sgdma.c
static void AxiEthernetDisableIntrSystem(INTC *IntcInstancePtr,
					u16 AxiEthernetIntrId,
					u16 DmaRxIntrId,
					u16 DmaTxIntrId)
{
#ifdef XPAR_INTC_0_DEVICE_ID
	/*
	 * Disconnect the interrupts for the DMA TX and RX channels
	 */
	XIntc_Disconnect(IntcInstancePtr, DmaTxIntrId);
	XIntc_Disconnect(IntcInstancePtr, DmaRxIntrId);

	/*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */
	XIntc_Disconnect(IntcInstancePtr, AxiEthernetIntrId);

#else
	/*
	 * Disconnect the interrupts for the DMA TX and RX channels
	 */
	XScuGic_Disconnect(IntcInstancePtr, DmaTxIntrId);
	XScuGic_Disconnect(IntcInstancePtr, DmaRxIntrId);

	/*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */
	XScuGic_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
#endif
}
/*****************************************************************************/
/**
*
* This function disables the interrupts that occur for AxiEthernet.
*
* @param	IntcInstancePtr is a pointer to the instance of the Intc
*		component.
* @param	AxiEthernetIntrId is the Interrupt ID and is typically
*		XPAR_<INTC_instance>_<AXIETHERNET_instance>_VEC_ID
*		value from xparameters.h.
* @param	DmaRxIntrId is the interrupt id for DMA Rx and is typically
*		taken from XPAR_<AXIETHERNET_instance>_CONNECTED_DMARX_INTR
* @param	DmaTxIntrId is the interrupt id for DMA Tx and is typically
*		taken from XPAR_<AXIETHERNET_instance>_CONNECTED_DMATX_INTR
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function disables the interrupts that occur for AxiEthernet.
This function disables the interrupts that occur for AxiEthernet .
static void AxiEthernetDisableIntrSystem(INTC *IntcInstancePtr,
					u16 AxiEthernetIntrId,
					u16 DmaRxIntrId,
					u16 DmaTxIntrId)
{
#ifdef XPAR_INTC_0_DEVICE_ID
	XIntc_Disconnect(IntcInstancePtr, DmaTxIntrId);
	XIntc_Disconnect(IntcInstancePtr, DmaRxIntrId);
	XIntc_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
#else
	XScuGic_Disconnect(IntcInstancePtr, DmaTxIntrId);
	XScuGic_Disconnect(IntcInstancePtr, DmaRxIntrId);
	XScuGic_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
#endif
}
static void AxiEthernetDisableIntrSystem ( INTC * IntcInstancePtr , u16 AxiEthernetIntrId , u16 DmaRxIntrId , u16 DmaTxIntrId ) { #ifdef XPAR_INTC_0_DEVICE_ID XIntc_Disconnect ( IntcInstancePtr , DmaTxIntrId ) ; XIntc_Disconnect ( IntcInstancePtr , DmaRxIntrId ) ; XIntc_Disconnect ( IntcInstancePtr , AxiEthernetIntrId ) ; #else XScuGic_Disconnect ( IntcInstancePtr , DmaTxIntrId ) ; XScuGic_Disconnect ( IntcInstancePtr , DmaRxIntrId ) ; XScuGic_Disconnect ( IntcInstancePtr , AxiEthernetIntrId ) ; #endif }
This function disables the interrupts that occur for AxiEthernet.
This function disables the interrupts that occur for AxiEthernet .
/*
	 * Disconnect the interrupts for the DMA TX and RX channels
	 */ /*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */ /*
	 * Disconnect the interrupts for the DMA TX and RX channels
	 */ /*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */