XilinxProcessorIPLib/drivers/v_hdmirxss/examples/xhdmi_example/RxOnly/xhdcp.c
void XHdcp_StreamDisconnectCallback(void *HdcpInstancePtr)
{
  XHdcp_Repeater *InstancePtr =  (XHdcp_Repeater *)HdcpInstancePtr;

  /* Verify arguments */
  Xil_AssertVoid(InstancePtr != NULL);

#ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES

  /* Check if upstream interface is disconnected */
  if (!(XV_HdmiRxSs_IsStreamConnected(InstancePtr->UpstreamInstancePtr))) {
    InstancePtr->UpstreamInstanceStreamUp = FALSE;
    InstancePtr->UpstreamInstanceConnected = FALSE;
  }
#endif



}
/*****************************************************************************/
/**
*
* This function is called by the stream disconnect event for an interface.
*
* @param    HdcpInstancePtr is a pointer to the XHdcp_Repeater instance.
*
* @return   None.
*
* @note	    None.
*
******************************************************************************/
This function is called by the stream disconnect event for an interface.
This function is called by the stream disconnect event for an interface .
void XHdcp_StreamDisconnectCallback(void *HdcpInstancePtr)
{
  XHdcp_Repeater *InstancePtr =  (XHdcp_Repeater *)HdcpInstancePtr;
  Xil_AssertVoid(InstancePtr != NULL);
#ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES
  if (!(XV_HdmiRxSs_IsStreamConnected(InstancePtr->UpstreamInstancePtr))) {
    InstancePtr->UpstreamInstanceStreamUp = FALSE;
    InstancePtr->UpstreamInstanceConnected = FALSE;
  }
#endif
}
void XHdcp_StreamDisconnectCallback ( void * HdcpInstancePtr ) { XHdcp_Repeater * InstancePtr = ( XHdcp_Repeater * ) HdcpInstancePtr ; Xil_AssertVoid ( InstancePtr != NULL ) ; #ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES if ( ! ( XV_HdmiRxSs_IsStreamConnected ( InstancePtr -> UpstreamInstancePtr ) ) ) { InstancePtr -> UpstreamInstanceStreamUp = FALSE ; InstancePtr -> UpstreamInstanceConnected = FALSE ; } #endif }
This function is called by the stream disconnect event for an interface.
This function is called by the stream disconnect event for an interface .
/* Verify arguments */ /* Check if upstream interface is disconnected */