XilinxProcessorIPLib/drivers/hdcp22_rx_dp/src/xhdcp22_rx.c
int XHdcp22Rx_Disable(XHdcp22_Rx *InstancePtr)
{
	/* Verify arguments */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Log info event */
	XHdcp22Rx_LogWr(InstancePtr, XHDCP22_RX_LOG_EVT_INFO, XHDCP22_RX_LOG_INFO_DISABLE);

	/* Set ReauthReq for recovery when already authenticated */
	if (InstancePtr->Info.AuthenticationStatus == XHDCP22_RX_AUTHENTICATED)
		XHdcp22Rx_SetDdcReauthReq(InstancePtr);

	/* Disable, Rng, Cipher, and Timer */
	XHdcp22Rng_Disable(&InstancePtr->RngInst);
	XHdcp22Cipher_Disable(&InstancePtr->CipherInst);
	XHdcp22Rx_StopTimer(InstancePtr);

	/* Deassert device enable flag */
	InstancePtr->Info.IsEnabled = FALSE;

	return (XST_SUCCESS);
}
/*****************************************************************************/
/**
* This function disables the HDCP22-RX state machine. The HDCP2Version
* register is cleared, and the ReauthReq bit is set in the
* RxStatus register to allow the transmitter to recover when it has
* already authenticated. Without setting the ReauthReq bit the
* transmitter will not know that HDCP 2.2 protocol has been disabled
* by the Receiver after it has already authenticated.
*
* @param	InstancePtr is a pointer to the XHdcp22_Rx core instance.
*
* @return	XST_SUCCESS or XST_FAILURE.
*
* @note		The HDCP22-RX cipher is disabled.
******************************************************************************/
This function disables the HDCP22-RX state machine. The HDCP2Version
register is cleared, and the ReauthReq bit is set in the
RxStatus register to allow the transmitter to recover when it has
already authenticated. Without setting the ReauthReq bit the
transmitter will not know that HDCP 2.2 protocol has been disabled
by the Receiver after it has already authenticated.
This function disables the HDCP22 - RX state machine . The HDCP2Version register is cleared and the ReauthReq bit is set in the RxStatus register to allow the transmitter to recover when it has already authenticated . Without setting the ReauthReq bit the transmitter will not know that HDCP 2 . 2 protocol has been disabled by the Receiver after it has already authenticated .
int XHdcp22Rx_Disable(XHdcp22_Rx *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	XHdcp22Rx_LogWr(InstancePtr, XHDCP22_RX_LOG_EVT_INFO, XHDCP22_RX_LOG_INFO_DISABLE);
	if (InstancePtr->Info.AuthenticationStatus == XHDCP22_RX_AUTHENTICATED)
		XHdcp22Rx_SetDdcReauthReq(InstancePtr);
	XHdcp22Rng_Disable(&InstancePtr->RngInst);
	XHdcp22Cipher_Disable(&InstancePtr->CipherInst);
	XHdcp22Rx_StopTimer(InstancePtr);
	InstancePtr->Info.IsEnabled = FALSE;
	return (XST_SUCCESS);
}
int XHdcp22Rx_Disable ( XHdcp22_Rx * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; XHdcp22Rx_LogWr ( InstancePtr , XHDCP22_RX_LOG_EVT_INFO , XHDCP22_RX_LOG_INFO_DISABLE ) ; if ( InstancePtr -> Info . AuthenticationStatus == XHDCP22_RX_AUTHENTICATED ) XHdcp22Rx_SetDdcReauthReq ( InstancePtr ) ; XHdcp22Rng_Disable ( & InstancePtr -> RngInst ) ; XHdcp22Cipher_Disable ( & InstancePtr -> CipherInst ) ; XHdcp22Rx_StopTimer ( InstancePtr ) ; InstancePtr -> Info . IsEnabled = FALSE ; return ( XST_SUCCESS ) ; }
This function disables the HDCP22-RX state machine.
This function disables the HDCP22 - RX state machine .
/* Verify arguments */ /* Log info event */ /* Set ReauthReq for recovery when already authenticated */ /* Disable, Rng, Cipher, and Timer */ /* Deassert device enable flag */