XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss_mcdp6000.c
int XDpRxSs_MCDP6000_DisablePrbs7_Rx(XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress)
{
	unsigned int ReadVal;
	unsigned int Result;
	/* Verify argument.*/
	Xil_AssertNonvoid(DpRxSsPtr != NULL);

	/* Disable PRBS Mode */
	if (MCDP6000_IC_Rev == 0x2100) {
		ReadVal = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress,
					       0x0614);
		Result = XDpRxSs_MCDP6000_SetRegister(DpRxSsPtr, I2CSlaveAddress,
					      0x0614, (ReadVal & ~0xFFFFF7FF));
		if (Result != XST_SUCCESS) {
			return XST_FAILURE;
		}
	}

	return Result;
}
/*****************************************************************************/
/**
*
* This function Disables the PRBS7 counter mode in MC Rx path
* Used in DP PHY compliance mode
*
* @param DpRxSsPtr is a pointer to the XDpRxSs core instance.
* @param I2CSlaveAddress is the 7-bit I2C slave address.
*
* @return
*    - XST_SUCCESS Enable request was successful.
*    - XST_FAILURE I2C error.
*
* @note None.
*
******************************************************************************/
This function Disables the PRBS7 counter mode in MC Rx path
Used in DP PHY compliance mode
This function Disables the PRBS7 counter mode in MC Rx path Used in DP PHY compliance mode
int XDpRxSs_MCDP6000_DisablePrbs7_Rx(XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress)
{
	unsigned int ReadVal;
	unsigned int Result;
	Xil_AssertNonvoid(DpRxSsPtr != NULL);
	if (MCDP6000_IC_Rev == 0x2100) {
		ReadVal = XDpRxSs_MCDP6000_GetRegister(DpRxSsPtr, I2CSlaveAddress,
					       0x0614);
		Result = XDpRxSs_MCDP6000_SetRegister(DpRxSsPtr, I2CSlaveAddress,
					      0x0614, (ReadVal & ~0xFFFFF7FF));
		if (Result != XST_SUCCESS) {
			return XST_FAILURE;
		}
	}
	return Result;
}
int XDpRxSs_MCDP6000_DisablePrbs7_Rx ( XDpRxSs * DpRxSsPtr , u8 I2CSlaveAddress ) { unsigned int ReadVal ; unsigned int Result ; Xil_AssertNonvoid ( DpRxSsPtr != NULL ) ; if ( MCDP6000_IC_Rev == 0x2100 ) { ReadVal = XDpRxSs_MCDP6000_GetRegister ( DpRxSsPtr , I2CSlaveAddress , 0x0614 ) ; Result = XDpRxSs_MCDP6000_SetRegister ( DpRxSsPtr , I2CSlaveAddress , 0x0614 , ( ReadVal & ~ 0xFFFFF7FF ) ) ; if ( Result != XST_SUCCESS ) { return XST_FAILURE ; } } return Result ; }
This function Disables the PRBS7 counter mode in MC Rx path
Used in DP PHY compliance mode
This function Disables the PRBS7 counter mode in MC Rx path Used in DP PHY compliance mode
/* Verify argument.*/ /* Disable PRBS Mode */