mmidp
Vitis Drivers API Documentation
xmmidp_phy.c File Reference

Functions

void XMmiDp_WaitUs (XMmiDp *InstancePtr, u32 MicroSeconds)
 This function is the delay/sleep function for the XMmiDp driver. More...
 
u32 XMmiDp_AuxWrite (XMmiDp *InstancePtr, u32 DpcdAddr, u32 Bytes, void *Data)
 This function issues a write request over the AUX channel that will write to the RX device's DisplayPort Configuration Data (DPCD) address space. More...
 
u32 XMmiDp_AuxRead (XMmiDp *InstancePtr, u32 DpcdAddr, u32 Bytes, void *Data)
 This function issues a read request over the AUX channel that will read from the RX device's DisplayPort Configuration Data (DPCD) address space. More...
 
u32 XMmiDp_I2cWrite (XMmiDp *InstancePtr, u32 I2cAddr, u32 Bytes, void *Data)
 This function performs an I2C write over the AUX channel. More...
 
u32 XMmiDp_I2cRead (XMmiDp *InstancePtr, u32 I2cAddr, u16 Offset, u32 Bytes, void *Data)
 This function performs an I2C read over the AUX channel. More...
 
void XMmiDp_RegReadModifyWrite (XMmiDp *InstancePtr, u32 RegOffset, u32 Mask, u32 Shift, u32 Val)
 This helper api reads value from register, computes the new value and writes to the register. More...
 
void XMmiDp_DpcdReadModifyWrite (XMmiDp *InstancePtr, u32 DpcdReg, u32 Mask, u32 Shift, u32 Val)
 This helper api reads value from DPCD, computes the new value and writes to the DPCD register. More...
 
void XMmiDp_SetDpcdLaneCount (XMmiDp *InstancePtr)
 This function sets the number of lanes to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetPhyLaneCount (XMmiDp *InstancePtr, XMmiDp_PhyLanes LaneCount)
 This function sets the number of lanes to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetDpcdLinkRate (XMmiDp *InstancePtr)
 This function sets the dpcd link bw to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetPhyLinkRate (XMmiDp *InstancePtr, XMmiDp_PhyRate LinkRate)
 This function sets the data rate to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetDpcdLinkQualPattern (XMmiDp *InstancePtr, XMmiDp_PhyTrainingPattern Pattern)
 This function sets the DPCD Link qual_0 training pattern to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetDpcdTrainingPattern (XMmiDp *InstancePtr, XMmiDp_PhyTrainingPattern Pattern)
 This function sets the DPCD training pattern to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetPhyTrainingPattern (XMmiDp *InstancePtr, XMmiDp_PhyTrainingPattern Pattern)
 This function sets the training pattern to be used by the main link for both the DisplayPort TX core and the RX device. More...
 
void XMmiDp_SetDpcdVoltageSwing (XMmiDp *InstancePtr, XMmiDp_PhyVSwing *VsLevel)
 This function sets the DPCD VoltageSwing levels int the DisplayPort TX core. More...
 
void XMmiDp_SetPhyVoltageSwing (XMmiDp *InstancePtr, u8 *VsLevel)
 This function sets the VoltageSwing levels in the DisplayPort TX core. More...
 
void XMmiDp_SetDpcdPreEmphasis (XMmiDp *InstancePtr, XMmiDp_PhyPreEmp *PeLevel)
 This function sets the DPCD VoltagePreEmphasis levels for the DisplayPort TX PHY. More...
 
void XMmiDp_SetPhyPreEmphasis (XMmiDp *InstancePtr, u8 *PeLevel)
 This function sets the VoltagePreEmphasis levels for the DisplayPort TX PHY. More...
 
void XMmiDp_SetPhyXmitEnable (XMmiDp *InstancePtr)
 This function enables phy transfer for lanes. More...
 
void XMmiDp_SetPhyXmitDisable (XMmiDp *InstancePtr)
 This function disables phy transfer for lanes. More...
 
void XMmiDp_PhyScrambleEnable (XMmiDp *InstancePtr)
 This function enables phy scrambler over the main link through CCTL register. More...
 
void XMmiDp_PhyScrambleDisable (XMmiDp *InstancePtr)
 This function disable phy scrambler. More...
 
u32 XMmiDp_IsConnected (XMmiDp *InstancePtr)
 This function checks if there is a connected RX device. More...
 
void XMmiDp_CfgInitialize (XMmiDp *InstancePtr, u32 BaseAddr)
 This function intializes the configuration for the XMmiDp Instance. More...
 
u32 XMmiDp_PhyWaitReady (XMmiDp *InstancePtr)
 This function waits for the DisplayPort PHY to come out of reset. More...
 
void XMmiDp_PhySoftReset (XMmiDp *InstancePtr)
 This function does a PHY Soft reset. More...
 
u32 XMmiDp_GetEdidBlock (XMmiDp *InstancePtr, u8 *Data, u8 BlockNum)
 This function retrieves connected RX devices Extended Display Identification given the block number. More...
 
void XMmiDp_PhySSCEnable (XMmiDp *InstancePtr)
 This function enables SSC on the PHY. More...
 
void XMmiDp_PhySSCDisable (XMmiDp *InstancePtr)
 This function disables SSC on the PHY. More...
 
void XMmiDp_Initialize (XMmiDp *InstancePtr)
 This function Initializes the XMmiDp Instance structure. More...
 
void XMmiDp_SetPhyPowerdown (XMmiDp *InstancePtr, XMmiDp_PhyPwrDown Control)
 This function sets the phy powerdown control val. More...
 
void XMmiDp_SetPhyWidth (XMmiDp *InstancePtr, XMmiDp_PhyWidth Width)
 This function sets the phy width control val. More...
 
void XMmiDp_SetAux_250Us_Cnt_Limit (XMmiDp *InstancePtr, u16 Limit)
 This function sets the AUX_250US_CNT_LIMIT. More...
 
void XMmiDp_SetAux_2000Us_Cnt_Limit (XMmiDp *InstancePtr, u16 Limit)
 This function sets the AUX_2000US_CNT_LIMIT. More...
 
void XMmiDp_SetAux_100000Us_Cnt_Limit (XMmiDp *InstancePtr, u16 Limit)
 This function sets the AUX_100000US_CNT_LIMIT. More...
 
void XMmiDp_SetPmConfig1 (XMmiDp *InstancePtr, u32 Val)
 This function sets PM_COFIG1 register. More...
 
void XMmiDp_SetPmConfig2 (XMmiDp *InstancePtr, u32 Val)
 This function sets PM_COFIG2 register. More...