XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_tx.c
int XHdcp1x_TxDisableEncryption(XHdcp1x *InstancePtr, u64 StreamMap)
{
	int Status = XST_SUCCESS;

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

	/* Only disable encryption when the TX is enabled */
	if (XHdcp1x_TxIsEnabled(InstancePtr)) {

		/* Disable it */
		Status = XHdcp1x_CipherDisableEncryption(InstancePtr, StreamMap);

		/* Update InstancePtr */
		if (Status == XST_SUCCESS) {
			InstancePtr->Tx.EncryptionMap &= ~StreamMap;
		}
	}
	return (Status);
}
/*****************************************************************************/
/**
* This function disables encryption on set of streams on an HDCP interface.
*
* @param	InstancePtr is the transmitter instance.
* @param	StreamMap is the bit map of streams to disable encryption on.
*
* @return
*		- XST_SUCCESS if successful.
*
* @note		None.
*
******************************************************************************/
This function disables encryption on set of streams on an HDCP interface.
This function disables encryption on set of streams on an HDCP interface .
int XHdcp1x_TxDisableEncryption(XHdcp1x *InstancePtr, u64 StreamMap)
{
	int Status = XST_SUCCESS;
	Xil_AssertNonvoid(InstancePtr != NULL);
	if (XHdcp1x_TxIsEnabled(InstancePtr)) {
		Status = XHdcp1x_CipherDisableEncryption(InstancePtr, StreamMap);
		if (Status == XST_SUCCESS) {
			InstancePtr->Tx.EncryptionMap &= ~StreamMap;
		}
	}
	return (Status);
}
int XHdcp1x_TxDisableEncryption ( XHdcp1x * InstancePtr , u64 StreamMap ) { int Status = XST_SUCCESS ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( XHdcp1x_TxIsEnabled ( InstancePtr ) ) { Status = XHdcp1x_CipherDisableEncryption ( InstancePtr , StreamMap ) ; if ( Status == XST_SUCCESS ) { InstancePtr -> Tx . EncryptionMap &= ~ StreamMap ; } } return ( Status ) ; }
This function disables encryption on set of streams on an HDCP interface.
This function disables encryption on set of streams on an HDCP interface .
/* Verify arguments. */ /* Only disable encryption when the TX is enabled */ /* Disable it */ /* Update InstancePtr */