XilinxProcessorIPLib/drivers/vphy/src/xvphy_gtye4.c
static u8 XVphy_DToDrpEncoding(XVphy *InstancePtr, u8 QuadId,
		XVphy_ChannelId ChId, XVphy_DirectionType Dir)
{
	u8 OutDiv;
	u8 DrpEncode;

	OutDiv = InstancePtr->Quads[QuadId].Plls[XVPHY_CH2IDX(ChId)].
			OutDiv[Dir];

	DrpEncode = XVphy_DrpEncodeCpllTxRxD(OutDiv);

	return DrpEncode;
}
/*****************************************************************************/
/**
* This function will translate the configured D value to DRP encoding.
*
* @param	InstancePtr is a pointer to the XVphy core instance.
* @param	QuadId is the GT quad ID to operate on.
* @param	ChId is the channel ID to operate on.
* @param	Dir is an indicator for RX or TX.
*
* @return	The DRP encoding for D.
*
* @note		None.
*
******************************************************************************/
This function will translate the configured D value to DRP encoding.
This function will translate the configured D value to DRP encoding .
static u8 XVphy_DToDrpEncoding(XVphy *InstancePtr, u8 QuadId,
		XVphy_ChannelId ChId, XVphy_DirectionType Dir)
{
	u8 OutDiv;
	u8 DrpEncode;
	OutDiv = InstancePtr->Quads[QuadId].Plls[XVPHY_CH2IDX(ChId)].
			OutDiv[Dir];
	DrpEncode = XVphy_DrpEncodeCpllTxRxD(OutDiv);
	return DrpEncode;
}
static u8 XVphy_DToDrpEncoding ( XVphy * InstancePtr , u8 QuadId , XVphy_ChannelId ChId , XVphy_DirectionType Dir ) { u8 OutDiv ; u8 DrpEncode ; OutDiv = InstancePtr -> Quads [ QuadId ] . Plls [ XVPHY_CH2IDX ( ChId ) ] . OutDiv [ Dir ] ; DrpEncode = XVphy_DrpEncodeCpllTxRxD ( OutDiv ) ; return DrpEncode ; }
This function will translate the configured D value to DRP encoding.
This function will translate the configured D value to DRP encoding .