XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss_hdcp.c
int XV_HdmiRxSs_HdcpPoll(XV_HdmiRxSs *InstancePtr)
{
  /* Verify argument. */
  Xil_AssertNonvoid(InstancePtr != NULL);

  /* Only poll when the HDCP is ready */
  if (InstancePtr->HdcpIsReady) {

    /* Process any pending events from the RX event queue */
    XV_HdmiRxSs_HdcpProcessEvents(InstancePtr);

#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
    // HDCP 2.2
    if (InstancePtr->Hdcp22Ptr) {
      if (XHdcp22Rx_IsEnabled(InstancePtr->Hdcp22Ptr)) {
        XHdcp22Rx_Poll(InstancePtr->Hdcp22Ptr);
      }
    }
#endif

#ifdef XPAR_XHDCP_NUM_INSTANCES
    // HDCP 1.4
    if (InstancePtr->Hdcp14Ptr) {
      if (XHdcp1x_IsEnabled(InstancePtr->Hdcp14Ptr)) {
        XHdcp1x_Poll(InstancePtr->Hdcp14Ptr);
      }
    }
#endif
  }

  return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function schedules the available HDCP cores. Only the active
* HDCP protocol poll function is executed. HDCP 1.4 and 2.2 poll
* functions should not execute in parallel.
*
* @param InstancePtr is a pointer to the XV_HdmiRxSs instance.
*
* @return
*  - XST_SUCCESS if action was successful
*  - XST_FAILURE if action was not successful
*
* @note   None.
*
******************************************************************************/
This function schedules the available HDCP cores. Only the active
HDCP protocol poll function is executed. HDCP 1.4 and 2.2 poll
functions should not execute in parallel.
This function schedules the available HDCP cores . Only the active HDCP protocol poll function is executed . HDCP 1 . 4 and 2 . 2 poll functions should not execute in parallel .
int XV_HdmiRxSs_HdcpPoll(XV_HdmiRxSs *InstancePtr)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
  if (InstancePtr->HdcpIsReady) {
    XV_HdmiRxSs_HdcpProcessEvents(InstancePtr);
#ifdef XPAR_XHDCP22_RX_NUM_INSTANCES
    if (InstancePtr->Hdcp22Ptr) {
      if (XHdcp22Rx_IsEnabled(InstancePtr->Hdcp22Ptr)) {
        XHdcp22Rx_Poll(InstancePtr->Hdcp22Ptr);
      }
    }
#endif
#ifdef XPAR_XHDCP_NUM_INSTANCES
    if (InstancePtr->Hdcp14Ptr) {
      if (XHdcp1x_IsEnabled(InstancePtr->Hdcp14Ptr)) {
        XHdcp1x_Poll(InstancePtr->Hdcp14Ptr);
      }
    }
#endif
  }
  return XST_SUCCESS;
}
int XV_HdmiRxSs_HdcpPoll ( XV_HdmiRxSs * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( InstancePtr -> HdcpIsReady ) { XV_HdmiRxSs_HdcpProcessEvents ( InstancePtr ) ; #ifdef XPAR_XHDCP22_RX_NUM_INSTANCES if ( InstancePtr -> Hdcp22Ptr ) { if ( XHdcp22Rx_IsEnabled ( InstancePtr -> Hdcp22Ptr ) ) { XHdcp22Rx_Poll ( InstancePtr -> Hdcp22Ptr ) ; } } #endif #ifdef XPAR_XHDCP_NUM_INSTANCES if ( InstancePtr -> Hdcp14Ptr ) { if ( XHdcp1x_IsEnabled ( InstancePtr -> Hdcp14Ptr ) ) { XHdcp1x_Poll ( InstancePtr -> Hdcp14Ptr ) ; } } #endif } return XST_SUCCESS ; }
This function schedules the available HDCP cores.
This function schedules the available HDCP cores .
/* Verify argument. */ /* Only poll when the HDCP is ready */ /* Process any pending events from the RX event queue */ // HDCP 2.2 // HDCP 1.4