XilinxProcessorIPLib/drivers/dp14txss/examples/src/zcu_pt_dp14_hdcp/rx.c
void DpRxSs_PllResetHandler(void *InstancePtr)
{

	/* Issue resets to Video PHY - This API
	 * called after line rate is programmed */
	XVphy_BufgGtReset(&VPhyInst, XVPHY_DIR_RX,(TRUE));
	XVphy_ResetGtPll(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA,
			 XVPHY_DIR_RX,(TRUE));
	XVphy_ResetGtPll(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA,
			 XVPHY_DIR_RX, (FALSE));
	XVphy_BufgGtReset(&VPhyInst, XVPHY_DIR_RX,(FALSE));
	XVphy_WaitForResetDone(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA,
			       XVPHY_DIR_RX);
	XVphy_WaitForPllLock(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA);

#if PHY_COMP
	/*Enable all interrupts, except unplug */
	XDp_RxInterruptEnable(DpRxSsInst.DpPtr,
			0x79FFFFFF);

#else
	/*Enable all interrupts */
#if ENABLE_HDCP_IN_DESIGN
        XDp_RxInterruptEnable(DpRxSsInst.DpPtr,0x81FFFFFF/*0x81FFFFFF*/);
#else
        XDp_RxInterruptEnable(DpRxSsInst.DpPtr,0xF9FFFFFF/*0x0007FFFF*/);
#endif


#endif

	DpRxSsInst.no_video_trigger = 1;
}
/*****************************************************************************/
/**
*
* This function is the callback function for PLL reset request.
*
* @param    InstancePtr is a pointer to the XDpRxSs instance.
*
* @return    None.
*
* @note        None.
*
******************************************************************************/
This function is the callback function for PLL reset request.
This function is the callback function for PLL reset request .
void DpRxSs_PllResetHandler(void *InstancePtr)
{
	XVphy_BufgGtReset(&VPhyInst, XVPHY_DIR_RX,(TRUE));
	XVphy_ResetGtPll(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA,
			 XVPHY_DIR_RX,(TRUE));
	XVphy_ResetGtPll(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA,
			 XVPHY_DIR_RX, (FALSE));
	XVphy_BufgGtReset(&VPhyInst, XVPHY_DIR_RX,(FALSE));
	XVphy_WaitForResetDone(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA,
			       XVPHY_DIR_RX);
	XVphy_WaitForPllLock(&VPhyInst, 0, XVPHY_CHANNEL_ID_CHA);
#if PHY_COMP
	XDp_RxInterruptEnable(DpRxSsInst.DpPtr,
			0x79FFFFFF);
#else
#if ENABLE_HDCP_IN_DESIGN
        XDp_RxInterruptEnable(DpRxSsInst.DpPtr,0x81FFFFFF);
#else
        XDp_RxInterruptEnable(DpRxSsInst.DpPtr,0xF9FFFFFF);
#endif
#endif
	DpRxSsInst.no_video_trigger = 1;
}
void DpRxSs_PllResetHandler ( void * InstancePtr ) { XVphy_BufgGtReset ( & VPhyInst , XVPHY_DIR_RX , ( TRUE ) ) ; XVphy_ResetGtPll ( & VPhyInst , 0 , XVPHY_CHANNEL_ID_CHA , XVPHY_DIR_RX , ( TRUE ) ) ; XVphy_ResetGtPll ( & VPhyInst , 0 , XVPHY_CHANNEL_ID_CHA , XVPHY_DIR_RX , ( FALSE ) ) ; XVphy_BufgGtReset ( & VPhyInst , XVPHY_DIR_RX , ( FALSE ) ) ; XVphy_WaitForResetDone ( & VPhyInst , 0 , XVPHY_CHANNEL_ID_CHA , XVPHY_DIR_RX ) ; XVphy_WaitForPllLock ( & VPhyInst , 0 , XVPHY_CHANNEL_ID_CHA ) ; #if PHY_COMP XDp_RxInterruptEnable ( DpRxSsInst . DpPtr , 0x79FFFFFF ) ; #else #if ENABLE_HDCP_IN_DESIGN XDp_RxInterruptEnable ( DpRxSsInst . DpPtr , 0x81FFFFFF ) ; #else XDp_RxInterruptEnable ( DpRxSsInst . DpPtr , 0xF9FFFFFF ) ; #endif #endif DpRxSsInst . no_video_trigger = 1 ; }
This function is the callback function for PLL reset request.
This function is the callback function for PLL reset request .
/* Issue resets to Video PHY - This API
	 * called after line rate is programmed */ /*Enable all interrupts, except unplug */ /*Enable all interrupts */ /*0x81FFFFFF*/ /*0x0007FFFF*/