XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_tx.c
static void XHdcp1x_TxEnableState(XHdcp1x *InstancePtr)
{
	/* Clear statistics */
	memset(&(InstancePtr->Tx.Stats), 0, sizeof(InstancePtr->Tx.Stats));

	/* Enable the crypto engine */
	XHdcp1x_CipherEnable(InstancePtr);

	/* Register the re-authentication callback */
	XHdcp1x_PortSetCallback(InstancePtr,
			XHDCP1X_PORT_HANDLER_AUTHENTICATE,
			&XHdcp1x_TxReauthenticateCallback, InstancePtr);

	/* Enable the hdcp port */
	XHdcp1x_PortEnable(InstancePtr);
}
/*****************************************************************************/
/**
* This function enables a state machine.
*
* @param	InstancePtr is the HDCP state machine.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function enables a state machine.
This function enables a state machine .
static void XHdcp1x_TxEnableState(XHdcp1x *InstancePtr)
{
	memset(&(InstancePtr->Tx.Stats), 0, sizeof(InstancePtr->Tx.Stats));
	XHdcp1x_CipherEnable(InstancePtr);
	XHdcp1x_PortSetCallback(InstancePtr,
			XHDCP1X_PORT_HANDLER_AUTHENTICATE,
			&XHdcp1x_TxReauthenticateCallback, InstancePtr);
	XHdcp1x_PortEnable(InstancePtr);
}
static void XHdcp1x_TxEnableState ( XHdcp1x * InstancePtr ) { memset ( & ( InstancePtr -> Tx . Stats ) , 0 , sizeof ( InstancePtr -> Tx . Stats ) ) ; XHdcp1x_CipherEnable ( InstancePtr ) ; XHdcp1x_PortSetCallback ( InstancePtr , XHDCP1X_PORT_HANDLER_AUTHENTICATE , & XHdcp1x_TxReauthenticateCallback , InstancePtr ) ; XHdcp1x_PortEnable ( InstancePtr ) ; }
This function enables a state machine.
This function enables a state machine .
/* Clear statistics */ /* Enable the crypto engine */ /* Register the re-authentication callback */ /* Enable the hdcp port */