XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss.c
void XDpRxSs_SetAdaptiveSyncCaps(XDpRxSs *InstancePtr, u32 Enable)
{
	u32 RegVal;

	/* Verify argument. */
	Xil_AssertVoid(InstancePtr);
	RegVal = XDpRxSs_ReadReg(InstancePtr->DpPtr->Config.BaseAddr,
				 XDP_RX_DTG_ENABLE);
	if (Enable) {
		RegVal |= XDP_RX_ADAPTIVESYNC_SDP_SUPPORTED_MASK |
				XDP_RX_MSA_TIMINGPAR_IGNORED_MASK;
	} else {
		RegVal &= ~(XDP_RX_ADAPTIVESYNC_SDP_SUPPORTED_MASK |
				XDP_RX_MSA_TIMINGPAR_IGNORED_MASK);
	}

	XDpRxSs_WriteReg(InstancePtr->DpPtr->Config.BaseAddr,
			 XDP_RX_DTG_ENABLE, RegVal);
}
/*****************************************************************************/
/**
 *
 * This function sets Adaptive-Sync capabilities to DisplayPort
 * RX Subsystem
 *
 * @param InstancePtr is a pointer to the XDpRxSs instance.
 * @param Enable is to enable/disable the Adaptive-Sync
 *        capabilities in DisplayPort Rx Subsystem
 *
 * @return XST_SUCCESS
 *
 * @note   None.
 *
 ******************************************************************************/
This function sets Adaptive-Sync capabilities to DisplayPort
RX Subsystem

@param InstancePtr is a pointer to the XDpRxSs instance.
@param Enable is to enable/disable the Adaptive-Sync
capabilities in DisplayPort Rx Subsystem



@note   None.
This function sets Adaptive - Sync capabilities to DisplayPort RX Subsystem @param InstancePtr is a pointer to the XDpRxSs instance . @param Enable is to enable / disable the Adaptive - Sync capabilities in DisplayPort Rx Subsystem @note None .
void XDpRxSs_SetAdaptiveSyncCaps(XDpRxSs *InstancePtr, u32 Enable)
{
	u32 RegVal;
	Xil_AssertVoid(InstancePtr);
	RegVal = XDpRxSs_ReadReg(InstancePtr->DpPtr->Config.BaseAddr,
				 XDP_RX_DTG_ENABLE);
	if (Enable) {
		RegVal |= XDP_RX_ADAPTIVESYNC_SDP_SUPPORTED_MASK |
				XDP_RX_MSA_TIMINGPAR_IGNORED_MASK;
	} else {
		RegVal &= ~(XDP_RX_ADAPTIVESYNC_SDP_SUPPORTED_MASK |
				XDP_RX_MSA_TIMINGPAR_IGNORED_MASK);
	}
	XDpRxSs_WriteReg(InstancePtr->DpPtr->Config.BaseAddr,
			 XDP_RX_DTG_ENABLE, RegVal);
}
void XDpRxSs_SetAdaptiveSyncCaps ( XDpRxSs * InstancePtr , u32 Enable ) { u32 RegVal ; Xil_AssertVoid ( InstancePtr ) ; RegVal = XDpRxSs_ReadReg ( InstancePtr -> DpPtr -> Config . BaseAddr , XDP_RX_DTG_ENABLE ) ; if ( Enable ) { RegVal |= XDP_RX_ADAPTIVESYNC_SDP_SUPPORTED_MASK | XDP_RX_MSA_TIMINGPAR_IGNORED_MASK ; } else { RegVal &= ~ ( XDP_RX_ADAPTIVESYNC_SDP_SUPPORTED_MASK | XDP_RX_MSA_TIMINGPAR_IGNORED_MASK ) ; } XDpRxSs_WriteReg ( InstancePtr -> DpPtr -> Config . BaseAddr , XDP_RX_DTG_ENABLE , RegVal ) ; }
This function sets Adaptive-Sync capabilities to DisplayPort
 RX Subsystem
This function sets Adaptive - Sync capabilities to DisplayPort RX Subsystem
/* Verify argument. */