XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_rx.c
int XHdcp1x_RxIsInProgress(const XHdcp1x *InstancePtr)
{
	int IsInProgress = FALSE;

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Case-wise process the current state of Rx state machine  */
	switch (InstancePtr->Rx.CurrentState) {
		case XHDCP1X_STATE_COMPUTATIONS:
			IsInProgress = TRUE;
			break;

		/* Otherwise */
		default:
			IsInProgress = FALSE;
			break;
	}

	return (IsInProgress);
}
/*****************************************************************************/
/**
* This function queries an interface to check if authentication is in
* progress.
*
* @param	InstancePtr is the receiver instance.
*
* @return	Truth value indicating in progress (true) or not (false).
*
* @note		None.
*
******************************************************************************/
This function queries an interface to check if authentication is in
progress.
This function queries an interface to check if authentication is in progress .
int XHdcp1x_RxIsInProgress(const XHdcp1x *InstancePtr)
{
	int IsInProgress = FALSE;
	Xil_AssertNonvoid(InstancePtr != NULL);
	switch (InstancePtr->Rx.CurrentState) {
		case XHDCP1X_STATE_COMPUTATIONS:
			IsInProgress = TRUE;
			break;
		default:
			IsInProgress = FALSE;
			break;
	}
	return (IsInProgress);
}
int XHdcp1x_RxIsInProgress ( const XHdcp1x * InstancePtr ) { int IsInProgress = FALSE ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; switch ( InstancePtr -> Rx . CurrentState ) { case XHDCP1X_STATE_COMPUTATIONS : IsInProgress = TRUE ; break ; default : IsInProgress = FALSE ; break ; } return ( IsInProgress ) ; }
This function queries an interface to check if authentication is in
progress.
This function queries an interface to check if authentication is in progress .
/* Verify arguments. */ /* Case-wise process the current state of Rx state machine  */ /* Otherwise */