XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss.c
static void XV_HdmiRxSs_SyncLossCallback(void *CallbackRef)
{
  XV_HdmiRxSs *HdmiRxSsPtr = (XV_HdmiRxSs *)CallbackRef;

  if (HdmiRxSsPtr->HdmiRxPtr->Stream.SyncStatus ==
		  	  	  	  	  	  	  	  	  	  	XV_HDMIRX_SYNCSTAT_SYNC_LOSS) {
  // Push sync loss event to HDCP event queue
#ifdef XV_HDMIRXSS_LOG_ENABLE
  XV_HdmiRxSs_LogWrite(HdmiRxSsPtr, XV_HDMIRXSS_LOG_EVT_SYNCLOSS, 0);
#endif

#ifdef USE_HDCP_RX
  XV_HdmiRxSs_HdcpPushEvent(HdmiRxSsPtr, XV_HDMIRXSS_HDCP_SYNC_LOSS_EVT);
#endif
  }
  // Sync is recovered/establish
  else if (HdmiRxSsPtr->HdmiRxPtr->Stream.SyncStatus ==
		  	  	  	  	  	  	  	  	  	  	 XV_HDMIRX_SYNCSTAT_SYNC_EST) {
	  // Push sync loss event to HDCP event queue
#ifdef XV_HDMIRXSS_LOG_ENABLE
	  XV_HdmiRxSs_LogWrite(HdmiRxSsPtr, XV_HDMIRXSS_LOG_EVT_SYNCEST, 0);
#endif

#ifdef USE_HDCP_RX
	  XV_HdmiRxSs_HdcpPushEvent(HdmiRxSsPtr, XV_HDMIRXSS_HDCP_SYNC_EST_EVT);
#endif
  }
}
/*****************************************************************************/
/**
*
* This function is called when a RX Sync Loss IRQ has occurred.
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function is called when a RX Sync Loss IRQ has occurred.
This function is called when a RX Sync Loss IRQ has occurred .
static void XV_HdmiRxSs_SyncLossCallback(void *CallbackRef)
{
  XV_HdmiRxSs *HdmiRxSsPtr = (XV_HdmiRxSs *)CallbackRef;
  if (HdmiRxSsPtr->HdmiRxPtr->Stream.SyncStatus ==
		  	  	  	  	  	  	  	  	  	  	XV_HDMIRX_SYNCSTAT_SYNC_LOSS) {
#ifdef XV_HDMIRXSS_LOG_ENABLE
  XV_HdmiRxSs_LogWrite(HdmiRxSsPtr, XV_HDMIRXSS_LOG_EVT_SYNCLOSS, 0);
#endif
#ifdef USE_HDCP_RX
  XV_HdmiRxSs_HdcpPushEvent(HdmiRxSsPtr, XV_HDMIRXSS_HDCP_SYNC_LOSS_EVT);
#endif
  }
  else if (HdmiRxSsPtr->HdmiRxPtr->Stream.SyncStatus ==
		  	  	  	  	  	  	  	  	  	  	 XV_HDMIRX_SYNCSTAT_SYNC_EST) {
#ifdef XV_HDMIRXSS_LOG_ENABLE
	  XV_HdmiRxSs_LogWrite(HdmiRxSsPtr, XV_HDMIRXSS_LOG_EVT_SYNCEST, 0);
#endif
#ifdef USE_HDCP_RX
	  XV_HdmiRxSs_HdcpPushEvent(HdmiRxSsPtr, XV_HDMIRXSS_HDCP_SYNC_EST_EVT);
#endif
  }
}
static void XV_HdmiRxSs_SyncLossCallback ( void * CallbackRef ) { XV_HdmiRxSs * HdmiRxSsPtr = ( XV_HdmiRxSs * ) CallbackRef ; if ( HdmiRxSsPtr -> HdmiRxPtr -> Stream . SyncStatus == XV_HDMIRX_SYNCSTAT_SYNC_LOSS ) { #ifdef XV_HDMIRXSS_LOG_ENABLE XV_HdmiRxSs_LogWrite ( HdmiRxSsPtr , XV_HDMIRXSS_LOG_EVT_SYNCLOSS , 0 ) ; #endif #ifdef USE_HDCP_RX XV_HdmiRxSs_HdcpPushEvent ( HdmiRxSsPtr , XV_HDMIRXSS_HDCP_SYNC_LOSS_EVT ) ; #endif } else if ( HdmiRxSsPtr -> HdmiRxPtr -> Stream . SyncStatus == XV_HDMIRX_SYNCSTAT_SYNC_EST ) { #ifdef XV_HDMIRXSS_LOG_ENABLE XV_HdmiRxSs_LogWrite ( HdmiRxSsPtr , XV_HDMIRXSS_LOG_EVT_SYNCEST , 0 ) ; #endif #ifdef USE_HDCP_RX XV_HdmiRxSs_HdcpPushEvent ( HdmiRxSsPtr , XV_HDMIRXSS_HDCP_SYNC_EST_EVT ) ; #endif } }
This function is called when a RX Sync Loss IRQ has occurred.
This function is called when a RX Sync Loss IRQ has occurred .
// Push sync loss event to HDCP event queue // Sync is recovered/establish // Push sync loss event to HDCP event queue