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

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

	/* Update InstancePtr */
	InstancePtr->Tx.EncryptionMap |= StreamMap;

	/* Check for authenticated */
	if (XHdcp1x_TxIsAuthenticated(InstancePtr)) {
		XHdcp1x_TxEnableEncryptionState(InstancePtr);
	}

	return (Status);
}
/*****************************************************************************/
/**
* This function enables encryption on set of streams on an HDCP interface.
*
* @param	InstancePtr is the transmitter instance.
* @param	StreamMap is the bit map of streams to enable encryption on.
*
* @return
*		- XST_SUCCESS if successful.
*
* @note		None.
*
******************************************************************************/
This function enables encryption on set of streams on an HDCP interface.
This function enables encryption on set of streams on an HDCP interface .
int XHdcp1x_TxEnableEncryption(XHdcp1x *InstancePtr, u64 StreamMap)
{
	int Status = XST_SUCCESS;
	Xil_AssertNonvoid(InstancePtr != NULL);
	InstancePtr->Tx.EncryptionMap |= StreamMap;
	if (XHdcp1x_TxIsAuthenticated(InstancePtr)) {
		XHdcp1x_TxEnableEncryptionState(InstancePtr);
	}
	return (Status);
}
int XHdcp1x_TxEnableEncryption ( XHdcp1x * InstancePtr , u64 StreamMap ) { int Status = XST_SUCCESS ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; InstancePtr -> Tx . EncryptionMap |= StreamMap ; if ( XHdcp1x_TxIsAuthenticated ( InstancePtr ) ) { XHdcp1x_TxEnableEncryptionState ( InstancePtr ) ; } return ( Status ) ; }
This function enables encryption on set of streams on an HDCP interface.
This function enables encryption on set of streams on an HDCP interface .
/* Verify arguments. */ /* Update InstancePtr */ /* Check for authenticated */