XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_tx.c
static void XHdcp1x_TxSetCheckLinkState(XHdcp1x *InstancePtr, int IsEnabled)
{
	/* Check for HDMI */
	if (InstancePtr->Config.IsHDMI) {
		/* Check for enabled */
		if (IsEnabled) {
			/* Register Callback */
			XHdcp1x_CipherSetCallback(InstancePtr,
				XHDCP1X_CIPHER_HANDLER_Ri_UPDATE,
				&XHdcp1x_TxCheckLinkCallback, InstancePtr);

			/* Enable it */
			XHdcp1x_CipherSetRiUpdate(InstancePtr, TRUE);
		}
		/* Otherwise */
		else {
			/* Disable it */
			XHdcp1x_CipherSetRiUpdate(InstancePtr, FALSE);
		}
	}
}
/*****************************************************************************/
/**
* This function sets the check link state of the handler.
*
* @param	InstancePtr is the HDCP state machine.
* @param	IsEnabled is truth value indicating on/off.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function sets the check link state of the handler.
This function sets the check link state of the handler .
static void XHdcp1x_TxSetCheckLinkState(XHdcp1x *InstancePtr, int IsEnabled)
{
	if (InstancePtr->Config.IsHDMI) {
		if (IsEnabled) {
			XHdcp1x_CipherSetCallback(InstancePtr,
				XHDCP1X_CIPHER_HANDLER_Ri_UPDATE,
				&XHdcp1x_TxCheckLinkCallback, InstancePtr);
			XHdcp1x_CipherSetRiUpdate(InstancePtr, TRUE);
		}
		else {
			XHdcp1x_CipherSetRiUpdate(InstancePtr, FALSE);
		}
	}
}
static void XHdcp1x_TxSetCheckLinkState ( XHdcp1x * InstancePtr , int IsEnabled ) { if ( InstancePtr -> Config . IsHDMI ) { if ( IsEnabled ) { XHdcp1x_CipherSetCallback ( InstancePtr , XHDCP1X_CIPHER_HANDLER_Ri_UPDATE , & XHdcp1x_TxCheckLinkCallback , InstancePtr ) ; XHdcp1x_CipherSetRiUpdate ( InstancePtr , TRUE ) ; } else { XHdcp1x_CipherSetRiUpdate ( InstancePtr , FALSE ) ; } } }
This function sets the check link state of the handler.
This function sets the check link state of the handler .
/* Check for HDMI */ /* Check for enabled */ /* Register Callback */ /* Enable it */ /* Otherwise */ /* Disable it */