XilinxProcessorIPLib/drivers/vphy/src/xvphy.c
u64 XVphy_GetLineRateHz(XVphy *InstancePtr, u8 QuadId, XVphy_ChannelId ChId)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid((XVPHY_CHANNEL_ID_CH1 <= ChId) &&
			(ChId <= XVPHY_CHANNEL_ID_CMN1));

	return InstancePtr->Quads[QuadId].Plls[ChId -
		XVPHY_CHANNEL_ID_CH1].LineRateHz;
}
/*****************************************************************************/
/**
* This function will return the line rate in Hz for a given channel / quad.
*
* @param	InstancePtr is a pointer to the XVphy core instance.
* @param	QuadId is the GT quad ID to check.
* @param	ChId is the channel ID for which to retrieve the line rate.
*
* @return	The line rate in Hz.
*
* @note		None.
*
******************************************************************************/
This function will return the line rate in Hz for a given channel / quad.
This function will return the line rate in Hz for a given channel / quad .
u64 XVphy_GetLineRateHz(XVphy *InstancePtr, u8 QuadId, XVphy_ChannelId ChId)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid((XVPHY_CHANNEL_ID_CH1 <= ChId) &&
			(ChId <= XVPHY_CHANNEL_ID_CMN1));
	return InstancePtr->Quads[QuadId].Plls[ChId -
		XVPHY_CHANNEL_ID_CH1].LineRateHz;
}
u64 XVphy_GetLineRateHz ( XVphy * InstancePtr , u8 QuadId , XVphy_ChannelId ChId ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( ( XVPHY_CHANNEL_ID_CH1 <= ChId ) && ( ChId <= XVPHY_CHANNEL_ID_CMN1 ) ) ; return InstancePtr -> Quads [ QuadId ] . Plls [ ChId - XVPHY_CHANNEL_ID_CH1 ] . LineRateHz ; }
This function will return the line rate in Hz for a given channel / quad.
This function will return the line rate in Hz for a given channel / quad .