XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss.c
static void StubTp2Callback(void *InstancePtr)
{
	/* Verify argument.*/
	Xil_AssertVoid(InstancePtr != NULL);

	u8 Index;
	XDpRxSs *DpRxSsPtr = (XDpRxSs *)InstancePtr;

	/*Reset HDCP FIFOs*/
	for(Index = 0; Index < 2; Index++) {
		XDp_WriteReg(DpRxSsPtr->DpPtr->Config.BaseAddr,
				XDP_RX_SOFT_RESET,
				XDP_RX_SOFT_RESET_HDCP_MASK);
		XDp_WriteReg(DpRxSsPtr->DpPtr->Config.BaseAddr,
				XDP_RX_SOFT_RESET, 0);
	}

	if (DpRxSsPtr->DpPtr->Config.DpProtocol == XDP_PROTOCOL_DP_1_4) {
		DpRxSsPtr->ltState = 2;
		return;
	}
}
/*****************************************************************************/
/**
*
* This routine is a stub for the asynchronous training pattern 2 interrupt
* callback. On initialization, training pattern 2 interrupt handler is set to
* this callback. It is considered as an training pattern 2 for this handler
* to be invoked.
*
* @param	InstancePtr is a pointer to the XDpRxSs core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This routine is a stub for the asynchronous training pattern 2 interrupt
callback. On initialization, training pattern 2 interrupt handler is set to
this callback. It is considered as an training pattern 2 for this handler
to be invoked.
This routine is a stub for the asynchronous training pattern 2 interrupt callback . On initialization training pattern 2 interrupt handler is set to this callback . It is considered as an training pattern 2 for this handler to be invoked .
static void StubTp2Callback(void *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	u8 Index;
	XDpRxSs *DpRxSsPtr = (XDpRxSs *)InstancePtr;
	for(Index = 0; Index < 2; Index++) {
		XDp_WriteReg(DpRxSsPtr->DpPtr->Config.BaseAddr,
				XDP_RX_SOFT_RESET,
				XDP_RX_SOFT_RESET_HDCP_MASK);
		XDp_WriteReg(DpRxSsPtr->DpPtr->Config.BaseAddr,
				XDP_RX_SOFT_RESET, 0);
	}
	if (DpRxSsPtr->DpPtr->Config.DpProtocol == XDP_PROTOCOL_DP_1_4) {
		DpRxSsPtr->ltState = 2;
		return;
	}
}
static void StubTp2Callback ( void * InstancePtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; u8 Index ; XDpRxSs * DpRxSsPtr = ( XDpRxSs * ) InstancePtr ; for ( Index = 0 ; Index < 2 ; Index ++ ) { XDp_WriteReg ( DpRxSsPtr -> DpPtr -> Config . BaseAddr , XDP_RX_SOFT_RESET , XDP_RX_SOFT_RESET_HDCP_MASK ) ; XDp_WriteReg ( DpRxSsPtr -> DpPtr -> Config . BaseAddr , XDP_RX_SOFT_RESET , 0 ) ; } if ( DpRxSsPtr -> DpPtr -> Config . DpProtocol == XDP_PROTOCOL_DP_1_4 ) { DpRxSsPtr -> ltState = 2 ; return ; } }
This routine is a stub for the asynchronous training pattern 2 interrupt
callback.
This routine is a stub for the asynchronous training pattern 2 interrupt callback .
/* Verify argument.*/ /*Reset HDCP FIFOs*/