XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_tx.c
static void XHdcp1x_TxDisableEncryptionState(XHdcp1x *InstancePtr)
{
	u64 StreamMap = XHdcp1x_CipherGetEncryption(InstancePtr);

	/* Check if encryption actually enabled */
	if (StreamMap != 0) {
		/* Update StreamMap for all stream */
		StreamMap = (u64)(-1);

		/* Disable it all */
		XHdcp1x_CipherDisableEncryption(InstancePtr, StreamMap);

		/* Wait at least a frame */
		XHdcp1x_TxBusyDelay(InstancePtr, XVPHY_TMO_5MS);
	}
}
/*****************************************************************************/
/**
* This function disables encryption for a state machine.
*
* @param	InstancePtr is the HDCP state machine.
*
* @return	None.
*
* @note		This function inserts a 5ms delay for things to settle when
*		encryption is actually being disabled.
*
******************************************************************************/
This function disables encryption for a state machine.
This function disables encryption for a state machine .
static void XHdcp1x_TxDisableEncryptionState(XHdcp1x *InstancePtr)
{
	u64 StreamMap = XHdcp1x_CipherGetEncryption(InstancePtr);
	if (StreamMap != 0) {
		StreamMap = (u64)(-1);
		XHdcp1x_CipherDisableEncryption(InstancePtr, StreamMap);
		XHdcp1x_TxBusyDelay(InstancePtr, XVPHY_TMO_5MS);
	}
}
static void XHdcp1x_TxDisableEncryptionState ( XHdcp1x * InstancePtr ) { u64 StreamMap = XHdcp1x_CipherGetEncryption ( InstancePtr ) ; if ( StreamMap != 0 ) { StreamMap = ( u64 ) ( -1 ) ; XHdcp1x_CipherDisableEncryption ( InstancePtr , StreamMap ) ; XHdcp1x_TxBusyDelay ( InstancePtr , XVPHY_TMO_5MS ) ; } }
This function disables encryption for a state machine.
This function disables encryption for a state machine .
/* Check if encryption actually enabled */ /* Update StreamMap for all stream */ /* Disable it all */ /* Wait at least a frame */