XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/xhdcp22_tx.c
static XHdcp22_Tx_StateType XHdcp22Tx_StateA4(XHdcp22_Tx *InstancePtr)
{
	XHdcp22Tx_LogWr(InstancePtr, XHDCP22_TX_LOG_EVT_STATE,
	                (u16)XHDCP22_TX_STATE_A4);

	if (InstancePtr->Info.IsReceiverRepeater) {

		return XHDCP22_TX_STATE_A6_A7_A8;
	}
	else {
		/* Start the mandatory 200 ms timer before authentication can be granted
		 * and the cipher may be enabled */
		XHdcp22Tx_StartTimer(InstancePtr, 200, XHDCP22_TX_TS_WAIT_FOR_CIPHER);

		/* The downstream topology is definitive  */
		InstancePtr->Info.IsTopologyAvailable = (TRUE);
		if (InstancePtr->IsDownstreamTopologyAvailableCallbackSet)
			InstancePtr->DownstreamTopologyAvailableCallback(InstancePtr->DownstreamTopologyAvailableCallbackRef);

		return XHDCP22_TX_STATE_A5;
	}
}
/*****************************************************************************/
/**
*
* This function executes the A4 state of the HDCP2.2 TX protocol.
*
* @param  InstancePtr is a pointer to the XHdcp22Tx core instance.
*
* @return The next state to execute.
*
* @note   None.
*
******************************************************************************/
This function executes the A4 state of the HDCP2.2 TX protocol.
This function executes the A4 state of the HDCP2 . 2 TX protocol .
static XHdcp22_Tx_StateType XHdcp22Tx_StateA4(XHdcp22_Tx *InstancePtr)
{
	XHdcp22Tx_LogWr(InstancePtr, XHDCP22_TX_LOG_EVT_STATE,
	                (u16)XHDCP22_TX_STATE_A4);
	if (InstancePtr->Info.IsReceiverRepeater) {
		return XHDCP22_TX_STATE_A6_A7_A8;
	}
	else {
		XHdcp22Tx_StartTimer(InstancePtr, 200, XHDCP22_TX_TS_WAIT_FOR_CIPHER);
		InstancePtr->Info.IsTopologyAvailable = (TRUE);
		if (InstancePtr->IsDownstreamTopologyAvailableCallbackSet)
			InstancePtr->DownstreamTopologyAvailableCallback(InstancePtr->DownstreamTopologyAvailableCallbackRef);
		return XHDCP22_TX_STATE_A5;
	}
}
static XHdcp22_Tx_StateType XHdcp22Tx_StateA4 ( XHdcp22_Tx * InstancePtr ) { XHdcp22Tx_LogWr ( InstancePtr , XHDCP22_TX_LOG_EVT_STATE , ( u16 ) XHDCP22_TX_STATE_A4 ) ; if ( InstancePtr -> Info . IsReceiverRepeater ) { return XHDCP22_TX_STATE_A6_A7_A8 ; } else { XHdcp22Tx_StartTimer ( InstancePtr , 200 , XHDCP22_TX_TS_WAIT_FOR_CIPHER ) ; InstancePtr -> Info . IsTopologyAvailable = ( TRUE ) ; if ( InstancePtr -> IsDownstreamTopologyAvailableCallbackSet ) InstancePtr -> DownstreamTopologyAvailableCallback ( InstancePtr -> DownstreamTopologyAvailableCallbackRef ) ; return XHDCP22_TX_STATE_A5 ; } }
This function executes the A4 state of the HDCP2.2 TX protocol.
This function executes the A4 state of the HDCP2 . 2 TX protocol .
/* Start the mandatory 200 ms timer before authentication can be granted
		 * and the cipher may be enabled */ /* The downstream topology is definitive  */