XilinxProcessorIPLib/drivers/dp12rxss/src/xdprxss_dbg.c
void XDpRxSs_ReportMsaInfo(XDpRxSs *InstancePtr)
{
	XDp_Config *RxConfig = &InstancePtr->DpPtr->Config;

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

	xil_printf("RX MSA registers:\n\r"
			"\tClocks, H Total                (0x510) : %d\n\r"
			"\tClocks, V Total                (0x524) : %d\n\r"
			"\tHSyncPolarity                  (0x504) : %d\n\r"
			"\tVSyncPolarity                  (0x528) : %d\n\r"
			"\tHSync Width                    (0x508) : %d\n\r"
			"\tVSync Width                    (0x51C) : %d\n\r"
			"\tHorz Resolution                (0x500) : %d\n\r"
			"\tVert Resolution                (0x514) : %d\n\r"
			"\tHorz Start                     (0x50C) : %d\n\r"
			"\tVert Start                     (0x520) : %d\n\r"
			"\tMisc0                          (0x528) : 0x%08X\n\r"
			"\tMisc1                          (0x52C) : 0x%08X\n\r"
			"\tUser Pixel Width               (0x010) : %d\n\r"
			"\tM Vid                          (0x530) : %d\n\r"
			"\tN Vid                          (0x534) : %d\n\r"
			"\tM Aud			  (0x324) : %d\n\r"
			"\tN Aud			  (0x328) : %d\n\r"
			"\tVB-ID                          (0x538) : %d\n\r",
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HTOTAL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VTOTAL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HSPOL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VSPOL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HSWIDTH),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VSWIDTH),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HRES),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VHEIGHT),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HSTART),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VSTART),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_MISC0),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_MISC1),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_USER_PIXEL_WIDTH),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_MVID),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_NVID),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_AUDIO_MAUD),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_AUDIO_NAUD),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VBID));

	xil_printf("\n\r");
}
/*****************************************************************************/
/**
*
* This function prints the current main stream attributes from the DisplayPort
* RX core.
*
* @param	InstancePtr is a pointer to the XDpRxSs core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function prints the current main stream attributes from the DisplayPort
RX core.
This function prints the current main stream attributes from the DisplayPort RX core .
void XDpRxSs_ReportMsaInfo(XDpRxSs *InstancePtr)
{
	XDp_Config *RxConfig = &InstancePtr->DpPtr->Config;
	Xil_AssertVoid(InstancePtr != NULL);
	xil_printf("RX MSA registers:\n\r"
			"\tClocks, H Total                (0x510) : %d\n\r"
			"\tClocks, V Total                (0x524) : %d\n\r"
			"\tHSyncPolarity                  (0x504) : %d\n\r"
			"\tVSyncPolarity                  (0x528) : %d\n\r"
			"\tHSync Width                    (0x508) : %d\n\r"
			"\tVSync Width                    (0x51C) : %d\n\r"
			"\tHorz Resolution                (0x500) : %d\n\r"
			"\tVert Resolution                (0x514) : %d\n\r"
			"\tHorz Start                     (0x50C) : %d\n\r"
			"\tVert Start                     (0x520) : %d\n\r"
			"\tMisc0                          (0x528) : 0x%08X\n\r"
			"\tMisc1                          (0x52C) : 0x%08X\n\r"
			"\tUser Pixel Width               (0x010) : %d\n\r"
			"\tM Vid                          (0x530) : %d\n\r"
			"\tN Vid                          (0x534) : %d\n\r"
			"\tM Aud			  (0x324) : %d\n\r"
			"\tN Aud			  (0x328) : %d\n\r"
			"\tVB-ID                          (0x538) : %d\n\r",
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HTOTAL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VTOTAL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HSPOL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VSPOL),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HSWIDTH),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VSWIDTH),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HRES),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VHEIGHT),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_HSTART),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VSTART),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_MISC0),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_MISC1),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_USER_PIXEL_WIDTH),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_MVID),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_NVID),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_AUDIO_MAUD),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_AUDIO_NAUD),
		XDp_ReadReg(RxConfig->BaseAddr, XDP_RX_MSA_VBID));
	xil_printf("\n\r");
}
void XDpRxSs_ReportMsaInfo ( XDpRxSs * InstancePtr ) { XDp_Config * RxConfig = & InstancePtr -> DpPtr -> Config ; Xil_AssertVoid ( InstancePtr != NULL ) ; xil_printf ( " \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " " \t \n \r " , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_HTOTAL ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_VTOTAL ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_HSPOL ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_VSPOL ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_HSWIDTH ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_VSWIDTH ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_HRES ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_VHEIGHT ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_HSTART ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_VSTART ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_MISC0 ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_MISC1 ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_USER_PIXEL_WIDTH ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_MVID ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_NVID ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_AUDIO_MAUD ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_AUDIO_NAUD ) , XDp_ReadReg ( RxConfig -> BaseAddr , XDP_RX_MSA_VBID ) ) ; xil_printf ( " \n \r " ) ; }
This function prints the current main stream attributes from the DisplayPort
RX core.
This function prints the current main stream attributes from the DisplayPort RX core .
/* Verify argument. */