XilinxProcessorIPLib/drivers/dp12txss/src/xdptxss.c
void XDpTxSs_Reset(XDpTxSs *InstancePtr)
{
	u32 Index;

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

	/* Reset the DisplayPort. */
	XDpTxSs_WriteReg(InstancePtr->Config.DpSubCore.DpConfig.BaseAddr,
		XDP_TX_SOFT_RESET, XDP_TX_SOFT_RESET_VIDEO_STREAM_ALL_MASK);
	XDpTxSs_WriteReg(InstancePtr->Config.DpSubCore.DpConfig.BaseAddr,
		XDP_TX_SOFT_RESET, 0x0);

#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	/* Reset Dual Splitter */
	if (InstancePtr->DsPtr) {
		XDualSplitter_Reset(InstancePtr->DsPtr);
	}
#endif

#if (XPAR_XHDCP_NUM_INSTANCES > 0)
	/* Reset HDCP interface */
	if (InstancePtr->Hdcp1xPtr) {
		XHdcp1x_Reset(InstancePtr->Hdcp1xPtr);
	}

	/* Reset Timer Counter zero */
	if (InstancePtr->TmrCtrPtr) {
		XTmrCtr_Reset(InstancePtr->TmrCtrPtr, 0);
	}
#endif
	for (Index = 0; Index < InstancePtr->Config.NumMstStreams; Index++) {
		/* Reset VTC's */
		if (InstancePtr->VtcPtr[Index]) {
			XVtc_Reset(InstancePtr->VtcPtr[Index]);
		}
	}
}
/*****************************************************************************/
/**
*
* This function resets the DisplayPort Transmitter Subsystem including all
* sub-cores.
*
* @param	InstancePtr is a pointer to the XDpTxSs core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function resets the DisplayPort Transmitter Subsystem including all
sub-cores.
This function resets the DisplayPort Transmitter Subsystem including all sub - cores .
void XDpTxSs_Reset(XDpTxSs *InstancePtr)
{
	u32 Index;
	Xil_AssertVoid(InstancePtr != NULL);
	XDpTxSs_WriteReg(InstancePtr->Config.DpSubCore.DpConfig.BaseAddr,
		XDP_TX_SOFT_RESET, XDP_TX_SOFT_RESET_VIDEO_STREAM_ALL_MASK);
	XDpTxSs_WriteReg(InstancePtr->Config.DpSubCore.DpConfig.BaseAddr,
		XDP_TX_SOFT_RESET, 0x0);
#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	if (InstancePtr->DsPtr) {
		XDualSplitter_Reset(InstancePtr->DsPtr);
	}
#endif
#if (XPAR_XHDCP_NUM_INSTANCES > 0)
	if (InstancePtr->Hdcp1xPtr) {
		XHdcp1x_Reset(InstancePtr->Hdcp1xPtr);
	}
	if (InstancePtr->TmrCtrPtr) {
		XTmrCtr_Reset(InstancePtr->TmrCtrPtr, 0);
	}
#endif
	for (Index = 0; Index < InstancePtr->Config.NumMstStreams; Index++) {
		if (InstancePtr->VtcPtr[Index]) {
			XVtc_Reset(InstancePtr->VtcPtr[Index]);
		}
	}
}
void XDpTxSs_Reset ( XDpTxSs * InstancePtr ) { u32 Index ; Xil_AssertVoid ( InstancePtr != NULL ) ; XDpTxSs_WriteReg ( InstancePtr -> Config . DpSubCore . DpConfig . BaseAddr , XDP_TX_SOFT_RESET , XDP_TX_SOFT_RESET_VIDEO_STREAM_ALL_MASK ) ; XDpTxSs_WriteReg ( InstancePtr -> Config . DpSubCore . DpConfig . BaseAddr , XDP_TX_SOFT_RESET , 0x0 ) ; #if ( XPAR_XDUALSPLITTER_NUM_INSTANCES > 0 ) if ( InstancePtr -> DsPtr ) { XDualSplitter_Reset ( InstancePtr -> DsPtr ) ; } #endif #if ( XPAR_XHDCP_NUM_INSTANCES > 0 ) if ( InstancePtr -> Hdcp1xPtr ) { XHdcp1x_Reset ( InstancePtr -> Hdcp1xPtr ) ; } if ( InstancePtr -> TmrCtrPtr ) { XTmrCtr_Reset ( InstancePtr -> TmrCtrPtr , 0 ) ; } #endif for ( Index = 0 ; Index < InstancePtr -> Config . NumMstStreams ; Index ++ ) { if ( InstancePtr -> VtcPtr [ Index ] ) { XVtc_Reset ( InstancePtr -> VtcPtr [ Index ] ) ; } } }
This function resets the DisplayPort Transmitter Subsystem including all
sub-cores.
This function resets the DisplayPort Transmitter Subsystem including all sub - cores .
/* Verify argument. */ /* Reset the DisplayPort. */ /* Reset Dual Splitter */ /* Reset HDCP interface */ /* Reset Timer Counter zero */ /* Reset VTC's */