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

	/* Run state machine */
	if(InstancePtr->Info.IsEnabled == TRUE)
	{
		InstancePtr->StateFunc = (XHdcp22_Rx_StateFunc)(*InstancePtr->StateFunc)(InstancePtr);
	}

	/* Log state transitions */
	if(InstancePtr->Info.NextState != InstancePtr->Info.CurrentState)
	{
	    XHdcp22Rx_LogWr(InstancePtr, XHDCP22_RX_LOG_EVT_INFO_STATE, InstancePtr->Info.NextState);
	}

	return (int)(InstancePtr->Info.AuthenticationStatus);
}
/*****************************************************************************/
/**
* This function executes the HDCP22-RX state machine.
*
* @param	InstancePtr is a pointer to the XHdcp22_Rx core instance.
*
* @return	None.
*
* @note		State transitions are logged.
******************************************************************************/
This function executes the HDCP22-RX state machine.
This function executes the HDCP22 - RX state machine .
int XHdcp22Rx_Poll(XHdcp22_Rx *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	if(InstancePtr->Info.IsEnabled == TRUE)
	{
		InstancePtr->StateFunc = (XHdcp22_Rx_StateFunc)(*InstancePtr->StateFunc)(InstancePtr);
	}
	if(InstancePtr->Info.NextState != InstancePtr->Info.CurrentState)
	{
	    XHdcp22Rx_LogWr(InstancePtr, XHDCP22_RX_LOG_EVT_INFO_STATE, InstancePtr->Info.NextState);
	}
	return (int)(InstancePtr->Info.AuthenticationStatus);
}
int XHdcp22Rx_Poll ( XHdcp22_Rx * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( InstancePtr -> Info . IsEnabled == TRUE ) { InstancePtr -> StateFunc = ( XHdcp22_Rx_StateFunc ) ( * InstancePtr -> StateFunc ) ( InstancePtr ) ; } if ( InstancePtr -> Info . NextState != InstancePtr -> Info . CurrentState ) { XHdcp22Rx_LogWr ( InstancePtr , XHDCP22_RX_LOG_EVT_INFO_STATE , InstancePtr -> Info . NextState ) ; } return ( int ) ( InstancePtr -> Info . AuthenticationStatus ) ; }
This function executes the HDCP22-RX state machine.
This function executes the HDCP22 - RX state machine .
/* Verify arguments */ /* Run state machine */ /* Log state transitions */