XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss.c
static void StubUnplugCallback(void *InstancePtr)
{
	XDpRxSs *DpRxSsPtr = (XDpRxSs *)InstancePtr;

	/* Verify argument.*/
	Xil_AssertVoid(DpRxSsPtr != NULL);

	if (DpRxSsPtr->DpPtr->Config.DpProtocol == XDP_PROTOCOL_DP_1_4) {
		DpRxSsPtr->ltState = 0;
		DpRxSsPtr->ceItrCounter = 0;
		DpRxSsPtr->prevLinkRate = 0;
		DpRxSsPtr->prevLaneCounts = 0;
	}
 
	if (MCDP6000_IC_Rev == 0x2100) {
		XDpRxSs_MCDP6000_ResetDpPath(DpRxSsPtr,
				XDPRXSS_MCDP6000_IIC_SLAVE);
	}

	XDpRxSs_MCDP6000_ModifyRegister(DpRxSsPtr,
			XDPRXSS_MCDP6000_IIC_SLAVE, 0x0A00,
			0x55000000, 0x55000000);

	/* Disable unplug interrupt so that no unplug event when RX is
	 * disconnected
	 */
	XDp_RxInterruptDisable(DpRxSsPtr->DpPtr,
				XDP_RX_INTERRUPT_MASK_UNPLUG_MASK);

	/* Generate a HPD interrupt. Bring down HPD signal for 750us */
	XDp_RxGenerateHpdInterrupt(DpRxSsPtr->DpPtr, 750);

	/* Unplug event callback */
	if (DpRxSsPtr->UnplugCallback) {
		DpRxSsPtr->UnplugCallback(DpRxSsPtr->UnplugRef);
	}
}
/*****************************************************************************/
/**
*
* This routine is a stub for the asynchronous unplug interrupt callback.
* On initialization, unplug interrupt handler is set to this callback. It is
* considered as an unplug 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 unplug interrupt callback.
On initialization, unplug interrupt handler is set to this callback. It is
considered as an unplug for this handler to be invoked.
This routine is a stub for the asynchronous unplug interrupt callback . On initialization unplug interrupt handler is set to this callback . It is considered as an unplug for this handler to be invoked .
static void StubUnplugCallback(void *InstancePtr)
{
	XDpRxSs *DpRxSsPtr = (XDpRxSs *)InstancePtr;
	Xil_AssertVoid(DpRxSsPtr != NULL);
	if (DpRxSsPtr->DpPtr->Config.DpProtocol == XDP_PROTOCOL_DP_1_4) {
		DpRxSsPtr->ltState = 0;
		DpRxSsPtr->ceItrCounter = 0;
		DpRxSsPtr->prevLinkRate = 0;
		DpRxSsPtr->prevLaneCounts = 0;
	}
	if (MCDP6000_IC_Rev == 0x2100) {
		XDpRxSs_MCDP6000_ResetDpPath(DpRxSsPtr,
				XDPRXSS_MCDP6000_IIC_SLAVE);
	}
	XDpRxSs_MCDP6000_ModifyRegister(DpRxSsPtr,
			XDPRXSS_MCDP6000_IIC_SLAVE, 0x0A00,
			0x55000000, 0x55000000);
	XDp_RxInterruptDisable(DpRxSsPtr->DpPtr,
				XDP_RX_INTERRUPT_MASK_UNPLUG_MASK);
	XDp_RxGenerateHpdInterrupt(DpRxSsPtr->DpPtr, 750);
	if (DpRxSsPtr->UnplugCallback) {
		DpRxSsPtr->UnplugCallback(DpRxSsPtr->UnplugRef);
	}
}
static void StubUnplugCallback ( void * InstancePtr ) { XDpRxSs * DpRxSsPtr = ( XDpRxSs * ) InstancePtr ; Xil_AssertVoid ( DpRxSsPtr != NULL ) ; if ( DpRxSsPtr -> DpPtr -> Config . DpProtocol == XDP_PROTOCOL_DP_1_4 ) { DpRxSsPtr -> ltState = 0 ; DpRxSsPtr -> ceItrCounter = 0 ; DpRxSsPtr -> prevLinkRate = 0 ; DpRxSsPtr -> prevLaneCounts = 0 ; } if ( MCDP6000_IC_Rev == 0x2100 ) { XDpRxSs_MCDP6000_ResetDpPath ( DpRxSsPtr , XDPRXSS_MCDP6000_IIC_SLAVE ) ; } XDpRxSs_MCDP6000_ModifyRegister ( DpRxSsPtr , XDPRXSS_MCDP6000_IIC_SLAVE , 0x0A00 , 0x55000000 , 0x55000000 ) ; XDp_RxInterruptDisable ( DpRxSsPtr -> DpPtr , XDP_RX_INTERRUPT_MASK_UNPLUG_MASK ) ; XDp_RxGenerateHpdInterrupt ( DpRxSsPtr -> DpPtr , 750 ) ; if ( DpRxSsPtr -> UnplugCallback ) { DpRxSsPtr -> UnplugCallback ( DpRxSsPtr -> UnplugRef ) ; } }
This routine is a stub for the asynchronous unplug interrupt callback.
This routine is a stub for the asynchronous unplug interrupt callback .
/* Verify argument.*/ /* Disable unplug interrupt so that no unplug event when RX is
	 * disconnected
	 */ /* Generate a HPD interrupt. Bring down HPD signal for 750us */ /* Unplug event callback */