XilinxProcessorIPLib/drivers/dp12txss/src/xdptxss.c
u32 XDpTxSs_EnableEncryption(XDpTxSs *InstancePtr, u64 StreamMap)
{
	u32 Status;

	/* Verify arguments.*/
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->Config.HdcpEnable == 0x1);

	/* Enable encryption on stream(s) */
	Status = XHdcp1x_EnableEncryption(InstancePtr->Hdcp1xPtr, StreamMap);

	return Status;
}
/*****************************************************************************/
/**
*
* This function enables encryption on series of streams within an HDCP
* interface.
*
* @param	InstancePtr is a pointer to the XDpTxSs core instance.
* @param	StreamMap is the bit map of streams to enable encryption on.
*
* @return
*		- XST_SUCCESS, if encryption enabled successfully.
*		- XST_FAILURE, if encryption enabled failed.
*
* @note		None.
*
******************************************************************************/
This function enables encryption on series of streams within an HDCP
interface.
This function enables encryption on series of streams within an HDCP interface .
u32 XDpTxSs_EnableEncryption(XDpTxSs *InstancePtr, u64 StreamMap)
{
	u32 Status;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->Config.HdcpEnable == 0x1);
	Status = XHdcp1x_EnableEncryption(InstancePtr->Hdcp1xPtr, StreamMap);
	return Status;
}
u32 XDpTxSs_EnableEncryption ( XDpTxSs * InstancePtr , u64 StreamMap ) { u32 Status ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> Config . HdcpEnable == 0x1 ) ; Status = XHdcp1x_EnableEncryption ( InstancePtr -> Hdcp1xPtr , StreamMap ) ; return Status ; }
This function enables encryption on series of streams within an HDCP
interface.
This function enables encryption on series of streams within an HDCP interface .
/* Verify arguments.*/ /* Enable encryption on stream(s) */