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

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

	xil_printf("\n\rDisplayPort TX Subsystem info:\n\r");

	/* Report all the included cores in the subsystem instance */
#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	if (InstancePtr->DsPtr) {
		xil_printf("Dual Splitter:Yes\n\r");
	}
#endif

#if (XPAR_XHDCP_NUM_INSTANCES > 0)
	if (InstancePtr->Hdcp1xPtr) {
		xil_printf("High-Bandwidth Content protection (HDCP):Yes\n\r");
	}
	if (InstancePtr->TmrCtrPtr) {
		xil_printf("Timer Counter(0):Yes\n\r");
	}
#endif

	if (InstancePtr->DpPtr) {
		xil_printf("DisplayPort Transmitter(TX):Yes\n\r");
	}

	for (Index = 0; Index < InstancePtr->Config.NumMstStreams; Index++) {
		if (InstancePtr->VtcPtr[Index]) {
			xil_printf("Video Timing Controller(VTC) %ld: Yes\n\r",
				Index);
		}
	}

	xil_printf("Audio enabled:%s\n\r",
			InstancePtr->Config.SecondaryChEn? "Yes": "No");
	xil_printf("Max supported bits per color:%d\n\r",
			InstancePtr->Config.MaxBpc);
	xil_printf("HDCP enabled:%s\n\r",
			InstancePtr->Config.HdcpEnable? "Yes": "No");
	xil_printf("Max supported lane count:%d\n\r",
			InstancePtr->Config.MaxLaneCount);
	xil_printf("Multi-Stream Transport mode:%s\n\r",
			InstancePtr->Config.MstSupport? "Yes": "No (SST)");
	xil_printf("Max number of supported streams:%d\n\r",
			InstancePtr->Config.NumMstStreams);
	xil_printf("Subsystem is running in: %s\n\r",
		InstancePtr->UsrOpt.MstSupport?"MST":"SST");

	xil_printf("\n\r");
}
/*****************************************************************************/
/**
*
* This function reports list of sub-cores included in DisplayPort TX Subsystem.
*
* @param	InstancePtr is a pointer to the XDpTxSs core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function reports list of sub-cores included in DisplayPort TX Subsystem.
This function reports list of sub - cores included in DisplayPort TX Subsystem .
void XDpTxSs_ReportCoreInfo(XDpTxSs *InstancePtr)
{
	u32 Index;
	Xil_AssertVoid(InstancePtr != NULL);
	xil_printf("\n\rDisplayPort TX Subsystem info:\n\r");
#if (XPAR_XDUALSPLITTER_NUM_INSTANCES > 0)
	if (InstancePtr->DsPtr) {
		xil_printf("Dual Splitter:Yes\n\r");
	}
#endif
#if (XPAR_XHDCP_NUM_INSTANCES > 0)
	if (InstancePtr->Hdcp1xPtr) {
		xil_printf("High-Bandwidth Content protection (HDCP):Yes\n\r");
	}
	if (InstancePtr->TmrCtrPtr) {
		xil_printf("Timer Counter(0):Yes\n\r");
	}
#endif
	if (InstancePtr->DpPtr) {
		xil_printf("DisplayPort Transmitter(TX):Yes\n\r");
	}
	for (Index = 0; Index < InstancePtr->Config.NumMstStreams; Index++) {
		if (InstancePtr->VtcPtr[Index]) {
			xil_printf("Video Timing Controller(VTC) %ld: Yes\n\r",
				Index);
		}
	}
	xil_printf("Audio enabled:%s\n\r",
			InstancePtr->Config.SecondaryChEn? "Yes": "No");
	xil_printf("Max supported bits per color:%d\n\r",
			InstancePtr->Config.MaxBpc);
	xil_printf("HDCP enabled:%s\n\r",
			InstancePtr->Config.HdcpEnable? "Yes": "No");
	xil_printf("Max supported lane count:%d\n\r",
			InstancePtr->Config.MaxLaneCount);
	xil_printf("Multi-Stream Transport mode:%s\n\r",
			InstancePtr->Config.MstSupport? "Yes": "No (SST)");
	xil_printf("Max number of supported streams:%d\n\r",
			InstancePtr->Config.NumMstStreams);
	xil_printf("Subsystem is running in: %s\n\r",
		InstancePtr->UsrOpt.MstSupport?"MST":"SST");
	xil_printf("\n\r");
}
void XDpTxSs_ReportCoreInfo ( XDpTxSs * InstancePtr ) { u32 Index ; Xil_AssertVoid ( InstancePtr != NULL ) ; xil_printf ( " \n \r \n \r " ) ; #if ( XPAR_XDUALSPLITTER_NUM_INSTANCES > 0 ) if ( InstancePtr -> DsPtr ) { xil_printf ( " \n \r " ) ; } #endif #if ( XPAR_XHDCP_NUM_INSTANCES > 0 ) if ( InstancePtr -> Hdcp1xPtr ) { xil_printf ( " \n \r " ) ; } if ( InstancePtr -> TmrCtrPtr ) { xil_printf ( " \n \r " ) ; } #endif if ( InstancePtr -> DpPtr ) { xil_printf ( " \n \r " ) ; } for ( Index = 0 ; Index < InstancePtr -> Config . NumMstStreams ; Index ++ ) { if ( InstancePtr -> VtcPtr [ Index ] ) { xil_printf ( " \n \r " , Index ) ; } } xil_printf ( " \n \r " , InstancePtr -> Config . SecondaryChEn ? " " : " " ) ; xil_printf ( " \n \r " , InstancePtr -> Config . MaxBpc ) ; xil_printf ( " \n \r " , InstancePtr -> Config . HdcpEnable ? " " : " " ) ; xil_printf ( " \n \r " , InstancePtr -> Config . MaxLaneCount ) ; xil_printf ( " \n \r " , InstancePtr -> Config . MstSupport ? " " : " " ) ; xil_printf ( " \n \r " , InstancePtr -> Config . NumMstStreams ) ; xil_printf ( " \n \r " , InstancePtr -> UsrOpt . MstSupport ? " " : " " ) ; xil_printf ( " \n \r " ) ; }
This function reports list of sub-cores included in DisplayPort TX Subsystem.
This function reports list of sub - cores included in DisplayPort TX Subsystem .
/* Verify argument. */ /* Report all the included cores in the subsystem instance */