XilinxProcessorIPLib/drivers/aiengine/src/lib/ext/xaieio.c
static int XAieIO_IntrHandler(int irq, void *data)
{
	if (IOInst.isr.handler != data) {
		/* Return as handled to avoid interrupt overflow */
		return METAL_IRQ_HANDLED;
	}

	IOInst.isr.handler(IOInst.isr.data);

	return METAL_IRQ_HANDLED;
}
/*****************************************************************************/
/**
*
* This is an internal wrapper that calls the user registered callback in
* the libmetal irq handler.
*
* @param	irq: the irq number
* @param	data: the data given at registration.
*
* @return	METAL_IRQ_HANDLED for success.
*
* @note		None.
*
*******************************************************************************/
This is an internal wrapper that calls the user registered callback in
the libmetal irq handler.
This is an internal wrapper that calls the user registered callback in the libmetal irq handler .
static int XAieIO_IntrHandler(int irq, void *data)
{
	if (IOInst.isr.handler != data) {
		return METAL_IRQ_HANDLED;
	}
	IOInst.isr.handler(IOInst.isr.data);
	return METAL_IRQ_HANDLED;
}
static int XAieIO_IntrHandler ( int irq , void * data ) { if ( IOInst . isr . handler != data ) { return METAL_IRQ_HANDLED ; } IOInst . isr . handler ( IOInst . isr . data ) ; return METAL_IRQ_HANDLED ; }
This is an internal wrapper that calls the user registered callback in
the libmetal irq handler.
This is an internal wrapper that calls the user registered callback in the libmetal irq handler .
/* Return as handled to avoid interrupt overflow */