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

	if ((16 <= AttrEncode) && (AttrEncode <= 160)) {
		DrpEncode = AttrEncode - 2;
	}
	else {
		DrpEncode = 0xFF;
	}

	return DrpEncode;
}
/*****************************************************************************/
/**
* This function will translate the configured QPLL's N value to DRP encoding.
*
* @param	AttrEncode is the attribute to encode.
*
* @return	The DRP encoding for the QPLL's N value.
*
* @note		None.
*
******************************************************************************/
This function will translate the configured QPLL's N value to DRP encoding.
This function will translate the configured QPLL ' s N value to DRP encoding .
static u16 XVphy_DrpEncodeQpllN(u8 AttrEncode)
{
	u16 DrpEncode;
	if ((16 <= AttrEncode) && (AttrEncode <= 160)) {
		DrpEncode = AttrEncode - 2;
	}
	else {
		DrpEncode = 0xFF;
	}
	return DrpEncode;
}
static u16 XVphy_DrpEncodeQpllN ( u8 AttrEncode ) { u16 DrpEncode ; if ( ( 16 <= AttrEncode ) && ( AttrEncode <= 160 ) ) { DrpEncode = AttrEncode - 2 ; } else { DrpEncode = 0xFF ; } return DrpEncode ; }
This function will translate the configured QPLL's N value to DRP encoding.
This function will translate the configured QPLL ' s N value to DRP encoding .