XilinxProcessorIPLib/drivers/vphy/src/xvphy_hdmi_intr.c
void XVphy_HdmiIntrHandlerCallbackInit(XVphy *InstancePtr)
{
	/* GT Interrupts */
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TXRESET_DONE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RXRESET_DONE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_CPLL_LOCK,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_QPLL_LOCK,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TXALIGN_DONE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_QPLL1_LOCK,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TX_MMCM_LOCK_CHANGE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RX_MMCM_LOCK_CHANGE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);

	/* Clock Detector Interrupts */
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TX_CLKDET_FREQ_CHANGE,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RX_CLKDET_FREQ_CHANGE,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TX_TMR_TIMEOUT,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);

	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RX_TMR_TIMEOUT,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);
}
/*****************************************************************************/
/**
* This function sets the appropriate HDMI interupt handlers.
*
* @param	InstancePtr is a pointer to the VPHY instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function sets the appropriate HDMI interupt handlers.
This function sets the appropriate HDMI interupt handlers .
void XVphy_HdmiIntrHandlerCallbackInit(XVphy *InstancePtr)
{
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TXRESET_DONE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RXRESET_DONE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_CPLL_LOCK,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_QPLL_LOCK,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TXALIGN_DONE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_QPLL1_LOCK,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TX_MMCM_LOCK_CHANGE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RX_MMCM_LOCK_CHANGE,
			(XVphy_IntrHandler)XVphy_HdmiGtHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TX_CLKDET_FREQ_CHANGE,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RX_CLKDET_FREQ_CHANGE,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_TX_TMR_TIMEOUT,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);
	XVphy_SetIntrHandler(InstancePtr,
			XVPHY_INTR_HANDLER_TYPE_RX_TMR_TIMEOUT,
			(XVphy_IntrHandler)XVphy_ClkDetHandler, InstancePtr);
}
void XVphy_HdmiIntrHandlerCallbackInit ( XVphy * InstancePtr ) { XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_TXRESET_DONE , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_RXRESET_DONE , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_CPLL_LOCK , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_QPLL_LOCK , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_TXALIGN_DONE , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_QPLL1_LOCK , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_TX_MMCM_LOCK_CHANGE , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_RX_MMCM_LOCK_CHANGE , ( XVphy_IntrHandler ) XVphy_HdmiGtHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_TX_CLKDET_FREQ_CHANGE , ( XVphy_IntrHandler ) XVphy_ClkDetHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_RX_CLKDET_FREQ_CHANGE , ( XVphy_IntrHandler ) XVphy_ClkDetHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_TX_TMR_TIMEOUT , ( XVphy_IntrHandler ) XVphy_ClkDetHandler , InstancePtr ) ; XVphy_SetIntrHandler ( InstancePtr , XVPHY_INTR_HANDLER_TYPE_RX_TMR_TIMEOUT , ( XVphy_IntrHandler ) XVphy_ClkDetHandler , InstancePtr ) ; }
This function sets the appropriate HDMI interupt handlers.
This function sets the appropriate HDMI interupt handlers .
/* GT Interrupts */ /* Clock Detector Interrupts */