XilinxProcessorIPLib/drivers/v_hdmitxss1/src/xv_hdmitxss1_hdcp.c
int XV_HdmiTxSs1_HdcpSetRepeater(XV_HdmiTxSs1 *InstancePtr, u8 Set)
{
  /* Verify argument. */
  Xil_AssertNonvoid(InstancePtr != NULL);

#ifdef XPAR_XHDCP_NUM_INSTANCES
  /* HDCP 1.4*/
  if (InstancePtr->Hdcp14Ptr) {
    XHdcp1x_SetRepeater(InstancePtr->Hdcp14Ptr, Set);
  }
#endif

#ifdef XPAR_XHDCP22_TX_NUM_INSTANCES
  /* HDCP 2.2*/
  if (InstancePtr->Hdcp22Ptr) {
    XHdcp22Tx_SetRepeater(InstancePtr->Hdcp22Ptr, Set);
  }
#endif

  return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function enables the Repeater functionality for the HDCP protocol.
*
* @param InstancePtr is a pointer to the XV_HdmiTxSs1 instance.
* @param Set is TRUE to enable and FALSE to disable repeater.
*
* @return
*  - XST_SUCCESS if action was successful
*  - XST_FAILURE if action was not successful
*
* @note   None.
*
******************************************************************************/
This function enables the Repeater functionality for the HDCP protocol.
This function enables the Repeater functionality for the HDCP protocol .
int XV_HdmiTxSs1_HdcpSetRepeater(XV_HdmiTxSs1 *InstancePtr, u8 Set)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
#ifdef XPAR_XHDCP_NUM_INSTANCES
  if (InstancePtr->Hdcp14Ptr) {
    XHdcp1x_SetRepeater(InstancePtr->Hdcp14Ptr, Set);
  }
#endif
#ifdef XPAR_XHDCP22_TX_NUM_INSTANCES
  if (InstancePtr->Hdcp22Ptr) {
    XHdcp22Tx_SetRepeater(InstancePtr->Hdcp22Ptr, Set);
  }
#endif
  return XST_SUCCESS;
}
int XV_HdmiTxSs1_HdcpSetRepeater ( XV_HdmiTxSs1 * InstancePtr , u8 Set ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; #ifdef XPAR_XHDCP_NUM_INSTANCES if ( InstancePtr -> Hdcp14Ptr ) { XHdcp1x_SetRepeater ( InstancePtr -> Hdcp14Ptr , Set ) ; } #endif #ifdef XPAR_XHDCP22_TX_NUM_INSTANCES if ( InstancePtr -> Hdcp22Ptr ) { XHdcp22Tx_SetRepeater ( InstancePtr -> Hdcp22Ptr , Set ) ; } #endif return XST_SUCCESS ; }
This function enables the Repeater functionality for the HDCP protocol.
This function enables the Repeater functionality for the HDCP protocol .
/* Verify argument. */ /* HDCP 1.4*/ /* HDCP 2.2*/