XilinxProcessorIPLib/drivers/vphy/src/xvphy_gtye4.c
static u8 Xvphy_DrpEncodeIntDataWidth(u8 AttrEncode)
{
	u8 DrpEncode;

	switch (AttrEncode) {
	case 2:
		DrpEncode = 0;
		break;
	case 4:
		DrpEncode = 1;
		break;
	default:
		DrpEncode = 2;
		break;
	}

	return DrpEncode;
}
/*****************************************************************************/
/**
* This function will translate the configured RXINTDATAWIDTH to DRP encoding.
*
* @param	AttrEncode is the attribute to encode.
*
* @return	The DRP encoding for the RXINTDATAWIDTH value.
*
* @note		None.
*
******************************************************************************/
This function will translate the configured RXINTDATAWIDTH to DRP encoding.
This function will translate the configured RXINTDATAWIDTH to DRP encoding .
static u8 Xvphy_DrpEncodeIntDataWidth(u8 AttrEncode)
{
	u8 DrpEncode;
	switch (AttrEncode) {
	case 2:
		DrpEncode = 0;
		break;
	case 4:
		DrpEncode = 1;
		break;
	default:
		DrpEncode = 2;
		break;
	}
	return DrpEncode;
}
static u8 Xvphy_DrpEncodeIntDataWidth ( u8 AttrEncode ) { u8 DrpEncode ; switch ( AttrEncode ) { case 2 : DrpEncode = 0 ; break ; case 4 : DrpEncode = 1 ; break ; default : DrpEncode = 2 ; break ; } return DrpEncode ; }
This function will translate the configured RXINTDATAWIDTH to DRP encoding.
This function will translate the configured RXINTDATAWIDTH to DRP encoding .