XilinxProcessorIPLib/drivers/dp14rxss/examples/src/rx_only/xdprxss_dp14_rx.c
u32 DpRxSs_VideoPhyInit(u16 DeviceId)
{
	XVphy_Config *ConfigPtr;

	/* Obtain the device configuration for the DisplayPort RX Subsystem */
	ConfigPtr = XVphy_LookupConfig(DeviceId);
	if (!ConfigPtr) {
		return XST_FAILURE;
	}

	PLLRefClkSel (&VPhyInst, PHY_User_Config_Table[5].LineRate);

	XVphy_DpInitialize(&VPhyInst, ConfigPtr, 0,
			   PHY_User_Config_Table[5].CPLLRefClkSrc,
			   PHY_User_Config_Table[5].QPLLRefClkSrc,
			   PHY_User_Config_Table[5].TxPLL,
			   PHY_User_Config_Table[5].RxPLL,
			   PHY_User_Config_Table[5].LineRate);

	PHY_Two_byte_set(&VPhyInst, SET_RX_TO_2BYTE);

	return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function configures Video Phy.
*
* @param    None.
*
* @return
*        - XST_SUCCESS if Video Phy configured successfully.
*        - XST_FAILURE, otherwise.
*
* @note        None.
*
******************************************************************************/
This function configures Video Phy.
This function configures Video Phy .
u32 DpRxSs_VideoPhyInit(u16 DeviceId)
{
	XVphy_Config *ConfigPtr;
	ConfigPtr = XVphy_LookupConfig(DeviceId);
	if (!ConfigPtr) {
		return XST_FAILURE;
	}
	PLLRefClkSel (&VPhyInst, PHY_User_Config_Table[5].LineRate);
	XVphy_DpInitialize(&VPhyInst, ConfigPtr, 0,
			   PHY_User_Config_Table[5].CPLLRefClkSrc,
			   PHY_User_Config_Table[5].QPLLRefClkSrc,
			   PHY_User_Config_Table[5].TxPLL,
			   PHY_User_Config_Table[5].RxPLL,
			   PHY_User_Config_Table[5].LineRate);
	PHY_Two_byte_set(&VPhyInst, SET_RX_TO_2BYTE);
	return XST_SUCCESS;
}
u32 DpRxSs_VideoPhyInit ( u16 DeviceId ) { XVphy_Config * ConfigPtr ; ConfigPtr = XVphy_LookupConfig ( DeviceId ) ; if ( ! ConfigPtr ) { return XST_FAILURE ; } PLLRefClkSel ( & VPhyInst , PHY_User_Config_Table [ 5 ] . LineRate ) ; XVphy_DpInitialize ( & VPhyInst , ConfigPtr , 0 , PHY_User_Config_Table [ 5 ] . CPLLRefClkSrc , PHY_User_Config_Table [ 5 ] . QPLLRefClkSrc , PHY_User_Config_Table [ 5 ] . TxPLL , PHY_User_Config_Table [ 5 ] . RxPLL , PHY_User_Config_Table [ 5 ] . LineRate ) ; PHY_Two_byte_set ( & VPhyInst , SET_RX_TO_2BYTE ) ; return XST_SUCCESS ; }
This function configures Video Phy.
This function configures Video Phy .
/* Obtain the device configuration for the DisplayPort RX Subsystem */