dp
Xilinx SDK Drivers API Documentation
xdp.h File Reference

Data Structures

struct  XDp_Config
 This typedef contains configuration information for the DisplayPort core. More...
 
struct  XDp_TxSinkConfig
 This typedef contains configuration information about the RX device. More...
 
struct  XDp_TxLinkConfig
 This typedef contains configuration information about the main link settings. More...
 
struct  XDp_TxMainStreamAttributes
 This typedef contains the main stream attributes which determine how the video will be displayed. More...
 
struct  XDp_TxMstStream
 This typedef describes a stream when the driver is running in multi-stream transport (MST) mode. More...
 
struct  XDp_TxBoardChar
 This typedef describes some board characteristics information that affects link training. More...
 
struct  XDp_TxTopologyNode
 This typedef describes a downstream DisplayPort device when the driver is running in multi-stream transport (MST) mode. More...
 
struct  XDp_TxTopology
 This typedef describes a the entire topology of connected downstream DisplayPort devices (from the DisplayPort TX) when the driver is operating in multi-stream transport (MST) mode. More...
 
struct  XDp_SbMsgLinkAddressReplyPortDetail
 This typedef describes a port that is connected to a DisplayPort branch device. More...
 
struct  XDp_SbMsgLinkAddressReplyDeviceInfo
 This typedef describes a DisplayPort branch device. More...
 
struct  XDp_RxLinkConfig
 This typedef contains configuration information about the main link settings. More...
 
struct  XDp_RxIicMapEntry
 This typedef represents one I2C map entry for a device. More...
 
struct  XDp_RxDpcdMap
 This typedef represents the DPCD address map for a device. More...
 
struct  XDp_RxPort
 This typedef contains information on the directly connected ports to the RX branch. More...
 
struct  XDp_RxTopology
 This typedef contains topology information on directly connected sinks and of the RX branch itself. More...
 
struct  XDp_Tx
 The XDp driver instance data representing the TX mode of operation. More...
 
struct  XDp_Rx
 The XDp driver instance data representing the RX mode of operation. More...
 
struct  XDp
 The XDp instance data. More...
 

Macros

#define XDp_GetCoreType(InstancePtr)
 This is function determines whether the DisplayPort core, represented by the XDp structure pointed to, is a transmitter (TX) or a receiver (RX). More...
 
#define XDp_TxCfgSetRGB(InstancePtr, Stream)
 The following functions set the color encoding scheme for a given stream. More...
 

Typedefs

typedef void(* XDp_TimerHandler) (void *InstancePtr, u32 MicroSeconds)
 Callback type which represents a custom timer wait handler. More...
 
typedef void(* XDp_IntrHandler) (void *InstancePtr)
 Callback type which represents the handler for interrupts. More...
 

Enumerations

enum  XDp_CoreType
 This typedef enumerates the RX and TX modes of operation for the DisplayPort core. More...
 
enum  XDp_DynamicRange
 This typedef enumerates the dynamic ranges available to the DisplayPort core. More...
 

Functions

XDp_ConfigXDp_LookupConfig (u16 DeviceId)
 This function looks for the device configuration based on the unique device ID. More...
 
void XDp_CfgInitialize (XDp *InstancePtr, XDp_Config *ConfigPtr, UINTPTR EffectiveAddr)
 This function retrieves the configuration for this DisplayPort instance and fills in the InstancePtr->Config structure. More...
 
u32 XDp_Initialize (XDp *InstancePtr)
 This function prepares the DisplayPort core for use depending on whether the core is operating in TX or RX mode. More...
 
u32 XDp_TxGetRxCapabilities (XDp *InstancePtr)
 This function retrieves the RX device's capabilities from the RX device's DisplayPort Configuration Data (DPCD). More...
 
u32 XDp_TxCfgMainLinkMax (XDp *InstancePtr)
 This function determines the common capabilities between the DisplayPort TX core and the RX device. More...
 
u32 XDp_TxEstablishLink (XDp *InstancePtr)
 This function checks if the link needs training and runs the training sequence if training is required. More...
 
u32 XDp_TxCheckLinkStatus (XDp *InstancePtr, u8 LaneCount)
 This function checks if the receiver's DisplayPort Configuration Data (DPCD) indicates the receiver has achieved and maintained clock recovery, channel equalization, symbol lock, and interlane alignment for all lanes currently in use. More...
 
void XDp_TxEnableTrainAdaptive (XDp *InstancePtr, u8 Enable)
 This function enables or disables downshifting during the training process. More...
 
void XDp_TxSetHasRedriverInPath (XDp *InstancePtr, u8 Set)
 This function sets a software switch that signifies whether or not a redriver exists on the DisplayPort output path. More...
 
void XDp_TxCfgTxVsOffset (XDp *InstancePtr, u8 Offset)
 This function sets the voltage swing offset to use during training when no redriver exists. More...
 
void XDp_TxCfgTxVsLevel (XDp *InstancePtr, u8 Level, u8 TxLevel)
 This function sets the voltage swing level value in the DisplayPort TX that will be used during link training for a given voltage swing training level. More...
 
void XDp_TxCfgTxPeLevel (XDp *InstancePtr, u8 Level, u8 TxLevel)
 This function sets the pre-emphasis level value in the DisplayPort TX that will be used during link training for a given pre-emphasis training level. More...
 
void XDp_TxSetLaneCountChangeCallback (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when the driver's lane count change function is called either directly by the user or during link training. More...
 
void XDp_TxSetLinkRateChangeCallback (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when the driver's link rate change function is called either directly by the user or during link training. More...
 
void XDp_TxSetPeVsAdjustCallback (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when the driver's link rate change function is called during link training. More...
 
u32 XDp_TxAuxRead (XDp *InstancePtr, u32 DpcdAddress, u32 BytesToRead, void *ReadData)
 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 XDp_TxAuxWrite (XDp *InstancePtr, u32 DpcdAddress, u32 BytesToWrite, void *WriteData)
 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 XDp_TxIicRead (XDp *InstancePtr, u8 IicAddress, u16 Offset, u16 BytesToRead, void *ReadData)
 This function performs an I2C read over the AUX channel. More...
 
u32 XDp_TxIicWrite (XDp *InstancePtr, u8 IicAddress, u8 BytesToWrite, void *WriteData)
 This function performs an I2C write over the AUX channel. More...
 
u32 XDp_TxSetDownspread (XDp *InstancePtr, u8 Enable)
 This function enables or disables 0.5% spreading of the clock for both the DisplayPort and the RX device. More...
 
u32 XDp_TxSetEnhancedFrameMode (XDp *InstancePtr, u8 Enable)
 This function enables or disables the enhanced framing symbol sequence for both the DisplayPort TX core and the RX device. More...
 
u32 XDp_TxSetLaneCount (XDp *InstancePtr, u8 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...
 
u32 XDp_TxSetLinkRate (XDp *InstancePtr, u8 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...
 
u32 XDp_TxSetScrambler (XDp *InstancePtr, u8 Enable)
 This function enables or disables scrambling of symbols for both the DisplayPort and the RX device. More...
 
void XDp_SetUserTimerHandler (XDp *InstancePtr, XDp_TimerHandler CallbackFunc, void *CallbackRef)
 This function installs a custom delay/sleep function to be used by the XDp driver. More...
 
void XDp_WaitUs (XDp *InstancePtr, u32 MicroSeconds)
 This function is the delay/sleep function for the XDp driver. More...
 
u32 XDp_TxIsConnected (XDp *InstancePtr)
 This function checks if there is a connected RX device. More...
 
void XDp_TxEnableMainLink (XDp *InstancePtr)
 This function enables the main link. More...
 
void XDp_TxDisableMainLink (XDp *InstancePtr)
 This function disables the main link. More...
 
void XDp_TxResetPhy (XDp *InstancePtr, u32 Reset)
 This function does a PHY reset. More...
 
void XDp_TxSetPhyPolarityAll (XDp *InstancePtr, u8 Polarity)
 This function sets the PHY polarity on all lanes. More...
 
void XDp_TxSetPhyPolarityLane (XDp *InstancePtr, u8 Lane, u8 Polarity)
 This function sets the PHY polarity on a specified lane. More...
 
u32 XDp_RxCheckLinkStatus (XDp *InstancePtr)
 This function checks if the receiver's internal registers indicate that link training has complete. More...
 
void XDp_RxDtgEn (XDp *InstancePtr)
 This function enables the display timing generator (DTG). More...
 
void XDp_RxDtgDis (XDp *InstancePtr)
 This function disables the display timing generator (DTG). More...
 
void XDp_RxSetLinkRate (XDp *InstancePtr, u8 LinkRate)
 This function sets the maximum data rate to be exposed in the RX device's DisplayPort Configuration Data (DPCD) registers. More...
 
void XDp_RxSetLaneCount (XDp *InstancePtr, u8 LaneCount)
 This function sets the maximum lane count to be exposed in the RX device's DisplayPort Configuration Data (DPCD) registers. More...
 
u8 XDp_IsLaneCountValid (XDp *InstancePtr, u8 LaneCount)
 This function checks the validity of the lane count. More...
 
u8 XDp_IsLinkRateValid (XDp *InstancePtr, u8 LinkRate)
 This function checks the validity of the link rate. More...
 
void XDp_RxAudioEn (XDp *InstancePtr)
 This function enables audio stream packets on the main link. More...
 
void XDp_RxAudioDis (XDp *InstancePtr)
 This function disables audio stream packets on the main link. More...
 
void XDp_RxAudioReset (XDp *InstancePtr)
 This function resets the RX core's reception of audio stream packets on the main link. More...
 
u32 XDp_TxGetEdid (XDp *InstancePtr, u8 *Edid)
 This function retrieves an immediately connected RX device's Extended Display Identification Data (EDID) structure. More...
 
u32 XDp_TxGetRemoteEdid (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 *Edid)
 This function retrieves a remote RX device's Extended Display Identification Data (EDID) structure. More...
 
u32 XDp_TxGetEdidBlock (XDp *InstancePtr, u8 *Data, u8 BlockNum)
 Retrieve an immediately connected RX device's Extended Display Identification Data (EDID) block given the block number. More...
 
u32 XDp_TxGetRemoteEdidBlock (XDp *InstancePtr, u8 *Data, u8 BlockNum, u8 LinkCountTotal, u8 *RelativeAddress)
 Retrieve a downstream DisplayPort device's Extended Display Identification Data (EDID) block given the block number. More...
 
u32 XDp_TxGetRemoteEdidDispIdExt (XDp *InstancePtr, u8 *Data, u8 LinkCountTotal, u8 *RelativeAddress)
 Search for and retrieve a downstream DisplayPort device's Extended Display Identification Data (EDID) extension block of type DisplayID. More...
 
u32 XDp_TxGetDispIdDataBlock (u8 *DisplayIdRaw, u8 SectionTag, u8 **DataBlockPtr)
 Given a section tag, search for and retrieve the appropriate section data block that is part of the specified DisplayID structure. More...
 
u32 XDp_TxGetRemoteTiledDisplayDb (XDp *InstancePtr, u8 *EdidExt, u8 LinkCountTotal, u8 *RelativeAddress, u8 **DataBlockPtr)
 Search for and retrieve a downstream DisplayPort device's Tiled Display Topology (TDT) section data block that is part of the downstream device's DisplayID structure. More...
 
void XDp_InterruptHandler (XDp *InstancePtr)
 This function is the interrupt handler for the XDp driver. More...
 
void XDp_TxSetHpdEventHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a hot-plug-detect event interrupt occurs. More...
 
void XDp_TxSetHpdPulseHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a hot-plug-detect pulse interrupt occurs. More...
 
void XDp_TxSetDrvHpdEventHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a driver's internal callback function for when a hot-plug-detect event interrupt occurs. More...
 
void XDp_TxSetDrvHpdPulseHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a driver's internal callback function for when a hot-plug-detect pulse interrupt occurs. More...
 
void XDp_TxSetMsaHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when the main stream attribute (MSA) values are updated. More...
 
void XDp_RxGenerateHpdInterrupt (XDp *InstancePtr, u16 DurationUs)
 This function generates a pulse on the hot-plug-detect (HPD) line of the specified duration. More...
 
void XDp_RxInterruptEnable (XDp *InstancePtr, u32 Mask)
 This function enables interrupts associated with the specified mask. More...
 
void XDp_RxInterruptDisable (XDp *InstancePtr, u32 Mask)
 This function disables interrupts associated with the specified mask. More...
 
void XDp_RxSetIntrVmChangeHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a video mode change interrupt occurs. More...
 
void XDp_RxSetIntrPowerStateHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when the power state interrupt occurs. More...
 
void XDp_RxSetIntrNoVideoHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a no video interrupt occurs. More...
 
void XDp_RxSetIntrVBlankHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a vertical blanking interrupt occurs. More...
 
void XDp_RxSetIntrTrainingLostHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a training lost interrupt occurs. More...
 
void XDp_RxSetIntrVideoHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a valid video interrupt occurs. More...
 
void XDp_RxSetIntrInfoPktHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when an audio info packet interrupt occurs. More...
 
void XDp_RxSetIntrExtPktHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when an audio extension packet interrupt occurs. More...
 
void XDp_RxSetIntrTrainingDoneHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a training done interrupt occurs. More...
 
void XDp_RxSetIntrBwChangeHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a bandwidth change interrupt occurs. More...
 
void XDp_RxSetIntrTp1Handler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a training pattern 1 interrupt occurs. More...
 
void XDp_RxSetIntrTp2Handler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a training pattern 2 interrupt occurs. More...
 
void XDp_RxSetIntrTp3Handler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a training pattern 3 interrupt occurs. More...
 
void XDp_RxSetIntrDownReqHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a down request interrupt occurs. More...
 
void XDp_RxSetIntrDownReplyHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a down reply interrupt occurs. More...
 
void XDp_RxSetIntrAudioOverHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when an audio packet overflow interrupt occurs. More...
 
void XDp_RxSetIntrPayloadAllocHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when the RX's DPCD payload allocation registers have been written for allocation, de-allocation, or partial deletion. More...
 
void XDp_RxSetIntrActRxHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when an ACT received interrupt occurs. More...
 
void XDp_RxSetIntrCrcTestHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a CRC test start interrupt occurs. More...
 
void XDp_RxSetIntrHdcpDebugWriteHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a write to any hdcp debug register occurs. More...
 
void XDp_RxSetIntrHdcpAksvWriteHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a write to the hdcp Aksv MSB register occurs. More...
 
void XDp_RxSetIntrHdcpAnWriteHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a write to the hdcp An MSB register occurs. More...
 
void XDp_RxSetIntrHdcpAinfoWriteHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a write to the hdcp Ainfo MSB register occurs. More...
 
void XDp_RxSetIntrHdcpRoReadHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a read of the hdcp Ro/Ri MSB register occurs. More...
 
void XDp_RxSetIntrHdcpBinfoReadHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when a read of the hdcp Binfo register occurs. More...
 
void XDp_RxSetIntrUnplugHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a callback function for when an unplug event interrupt occurs. More...
 
void XDp_RxSetDrvIntrVideoHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a driver callback function for when a valid video interrupt occurs. More...
 
void XDp_RxSetDrvIntrPowerStateHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs a driver callback function for when the power state interrupt occurs. More...
 
void XDp_RxSetDrvIntrNoVideoHandler (XDp *InstancePtr, XDp_IntrHandler CallbackFunc, void *CallbackRef)
 This function installs driver callback function for when a no video interrupt occurs. More...
 
void XDp_TxMstCfgModeEnable (XDp *InstancePtr)
 This function will enable multi-stream transport (MST) mode for the driver. More...
 
void XDp_TxMstCfgModeDisable (XDp *InstancePtr)
 This function will disable multi-stream transport (MST) mode for the driver. More...
 
u32 XDp_TxMstCapable (XDp *InstancePtr)
 This function will check if the immediate downstream RX device is capable of multi-stream transport (MST) mode. More...
 
u32 XDp_TxMstEnable (XDp *InstancePtr)
 This function will enable multi-stream transport (MST) mode in both the DisplayPort TX and the immediate downstream RX device. More...
 
u32 XDp_TxMstDisable (XDp *InstancePtr)
 This function will disable multi-stream transport (MST) mode in both the DisplayPort TX and the immediate downstream RX device. More...
 
void XDp_TxMstCfgStreamEnable (XDp *InstancePtr, u8 Stream)
 This function will configure the InstancePtr->TxInstance.MstStreamConfig structure to enable the specified stream. More...
 
void XDp_TxMstCfgStreamDisable (XDp *InstancePtr, u8 Stream)
 This function will configure the InstancePtr->TxInstance.MstStreamConfig structure to disable the specified stream. More...
 
u8 XDp_TxMstStreamIsEnabled (XDp *InstancePtr, u8 Stream)
 This function will check whether. More...
 
void XDp_TxSetStreamSelectFromSinkList (XDp *InstancePtr, u8 Stream, u8 SinkNum)
 This function will map a stream to a downstream DisplayPort TX device that is associated with a sink from the InstancePtr->TxInstance.Topology.SinkList. More...
 
void XDp_TxSetStreamSinkRad (XDp *InstancePtr, u8 Stream, u8 LinkCountTotal, u8 *RelativeAddress)
 This function will map a stream to a downstream DisplayPort TX device determined by the relative address. More...
 
u32 XDp_TxDiscoverTopology (XDp *InstancePtr)
 This function will explore the DisplayPort topology of downstream devices connected to the DisplayPort TX. More...
 
u32 XDp_TxFindAccessibleDpDevices (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress)
 This function will explore the DisplayPort topology of downstream devices starting from the branch device specified by the LinkCountTotal and RelativeAddress parameters. More...
 
void XDp_TxTopologySwapSinks (XDp *InstancePtr, u8 Index0, u8 Index1)
 Swap the ordering of the sinks in the topology's sink list. More...
 
void XDp_TxTopologySortSinksByTiling (XDp *InstancePtr)
 Order the sink list with all sinks of the same tiled display being sorted by 'tile order'. More...
 
u32 XDp_TxRemoteDpcdRead (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u32 DpcdAddress, u32 BytesToRead, u8 *ReadData)
 This function performs a remote DisplayPort Configuration Data (DPCD) read by sending a sideband message. More...
 
u32 XDp_TxRemoteDpcdWrite (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u32 DpcdAddress, u32 BytesToWrite, u8 *WriteData)
 This function performs a remote DisplayPort Configuration Data (DPCD) write by sending a sideband message. More...
 
u32 XDp_TxRemoteIicRead (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 IicAddress, u16 Offset, u16 BytesToRead, u8 *ReadData)
 This function performs a remote I2C read by sending a sideband message. More...
 
u32 XDp_TxRemoteIicWrite (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 IicAddress, u8 BytesToWrite, u8 *WriteData)
 This function performs a remote I2C write by sending a sideband message. More...
 
u32 XDp_TxAllocatePayloadStreams (XDp *InstancePtr)
 This function will allocate bandwidth for all enabled stream. More...
 
u32 XDp_TxAllocatePayloadVcIdTable (XDp *InstancePtr, u8 VcId, u8 Ts, u8 StartTs)
 This function will allocate a bandwidth for a virtual channel in the payload ID table in both the DisplayPort TX and the downstream DisplayPort devices on the path to the target device specified by LinkCountTotal and RelativeAddress. More...
 
u32 XDp_TxClearPayloadVcIdTable (XDp *InstancePtr)
 This function will clear the virtual channel payload ID table in both the DisplayPort TX and all downstream DisplayPort devices. More...
 
u32 XDp_TxSendSbMsgRemoteDpcdWrite (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u32 DpcdAddress, u32 BytesToWrite, u8 *WriteData)
 This function will send a REMOTE_DPCD_WRITE sideband message which will write some data to the specified DisplayPort Configuration Data (DPCD) address of a downstream DisplayPort device. More...
 
u32 XDp_TxSendSbMsgRemoteDpcdRead (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u32 DpcdAddress, u32 BytesToRead, u8 *ReadData)
 This function will send a REMOTE_DPCD_READ sideband message which will read from the specified DisplayPort Configuration Data (DPCD) address of a downstream DisplayPort device. More...
 
u32 XDp_TxSendSbMsgRemoteIicWrite (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 IicDeviceId, u8 BytesToWrite, u8 *WriteData)
 This function will send a REMOTE_I2C_WRITE sideband message which will write to the specified I2C address of a downstream DisplayPort device. More...
 
u32 XDp_TxSendSbMsgRemoteIicRead (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 IicDeviceId, u8 Offset, u8 BytesToRead, u8 *ReadData)
 This function will send a REMOTE_I2C_READ sideband message which will read from the specified I2C address of a downstream DisplayPort device. More...
 
u32 XDp_TxSendSbMsgLinkAddress (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, XDp_SbMsgLinkAddressReplyDeviceInfo *DeviceInfo)
 This function will send a LINK_ADDRESS sideband message to a target DisplayPort branch device. More...
 
u32 XDp_TxSendSbMsgEnumPathResources (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u16 *AvailPbn, u16 *FullPbn)
 This function will send an ENUM_PATH_RESOURCES sideband message which will determine the available payload bandwidth number (PBN) for a path to a target device. More...
 
u32 XDp_TxSendSbMsgAllocatePayload (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 VcId, u16 Pbn)
 This function will send an ALLOCATE_PAYLOAD sideband message which will allocate bandwidth for a virtual channel in the payload ID tables of the downstream devices connecting the DisplayPort TX to the target device. More...
 
u32 XDp_TxSendSbMsgClearPayloadIdTable (XDp *InstancePtr)
 This function will send a CLEAR_PAYLOAD_ID_TABLE sideband message which will de-allocate all virtual channel payload ID tables. More...
 
void XDp_TxWriteGuid (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 *Guid)
 This function will write a global unique identifier (GUID) to the target DisplayPort device. More...
 
void XDp_TxGetGuid (XDp *InstancePtr, u8 LinkCountTotal, u8 *RelativeAddress, u8 *Guid)
 This function will obtain the global unique identifier (GUID) for the target DisplayPort device. More...
 
u32 XDp_RxHandleDownReq (XDp *InstancePtr)
 This function will handle incoming sideband messages. More...
 
XDp_RxIicMapEntryXDp_RxGetIicMapEntry (XDp *InstancePtr, u8 PortNum, u8 IicAddress)
 This function returns a pointer to the I2C map entry at the supplied I2C address for the specified port. More...
 
u32 XDp_RxSetIicMapEntry (XDp *InstancePtr, u8 PortNum, u8 IicAddress, u8 ReadNumBytes, u8 *ReadData)
 This function adds an entry into the I2C map for a given port. More...
 
void XDp_RxSetDpcdMap (XDp *InstancePtr, u8 PortNum, u32 StartAddr, u32 NumBytes, u8 *DpcdMap)
 This function specified the DPCD address space for a given port. More...
 
void XDp_RxMstExposePort (XDp *InstancePtr, u8 PortNum, u8 Expose)
 This function allows the user to select which ports will be exposed when replying to a LINK_ADDRESS sideband message. More...
 
void XDp_RxMstSetPort (XDp *InstancePtr, u8 PortNum, XDp_SbMsgLinkAddressReplyPortDetail *PortDetails)
 This function sets the port information that is contained in the driver instance structure for the specified port number, to be copied from the supplied port details structure. More...
 
void XDp_RxMstSetInputPort (XDp *InstancePtr, u8 PortNum, XDp_SbMsgLinkAddressReplyPortDetail *PortOverride)
 This function, for an input port, sets the port information that is contained in the driver instance structure for the specified port number. More...
 
void XDp_RxMstSetPbn (XDp *InstancePtr, u8 PortNum, u16 PbnVal)
 This function will set the available payload bandwidth number (PBN) of the specified port that is available for allocation, and the full PBN that the port is capable of using. More...
 
u32 XDp_SelfTest (XDp *InstancePtr)
 This function runs a self-test on the XDp driver/device depending on whether the core is operating in TX or RX mode. More...
 
void XDp_TxCfgMsaRecalculate (XDp *InstancePtr, u8 Stream)
 This function calculates the following Main Stream Attributes (MSA): More...
 
void XDp_TxCfgMsaUseStandardVideoMode (XDp *InstancePtr, u8 Stream, XVidC_VideoMode VideoMode)
 This function sets the Main Stream Attribute (MSA) values in the configuration structure to match one of the standard display mode timings from the XDp_TxDmtModes[] standard Display Monitor Timing (DMT) table. More...
 
void XDp_TxCfgMsaUseEdidPreferredTiming (XDp *InstancePtr, u8 Stream, u8 *Edid)
 This function sets the main stream attribute values in the configuration structure to match the preferred timing of the sink monitor. More...
 
void XDp_TxCfgMsaUseCustom (XDp *InstancePtr, u8 Stream, XDp_TxMainStreamAttributes *MsaConfigCustom, u8 Recalculate)
 This function takes a the main stream attributes from MsaConfigCustom and copies them into InstancePtr->TxInstance.MsaConfig. More...
 
u32 XDp_TxCfgSetColorEncode (XDp *InstancePtr, u8 Stream, XVidC_ColorFormat Format, XVidC_ColorStd ColorCoeffs, XDp_DynamicRange Range)
 This function will set the color encoding scheme for a given stream. More...
 
void XDp_TxCfgMsaSetBpc (XDp *InstancePtr, u8 Stream, u8 BitsPerColor)
 This function sets the bits per color value of the video stream. More...
 
void XDp_TxCfgMsaEnSynchClkMode (XDp *InstancePtr, u8 Stream, u8 Enable)
 This function enables or disables synchronous clock mode for a video stream. More...
 
void XDp_TxSetVideoMode (XDp *InstancePtr, u8 Stream)
 This function clears the main stream attributes registers of the DisplayPort TX core and sets them to the values specified in the main stream attributes configuration structure. More...
 
void XDp_TxClearMsaValues (XDp *InstancePtr, u8 Stream)
 This function clears the main stream attributes registers of the DisplayPort TX core. More...
 
void XDp_TxSetMsaValues (XDp *InstancePtr, u8 Stream)
 This function sets the main stream attributes registers of the DisplayPort TX core with the values specified in the main stream attributes configuration structure. More...
 
void XDp_TxSetUserPixelWidth (XDp *InstancePtr, u8 UserPixelWidth)
 This function configures the number of pixels output through the user data interface for DisplayPort TX core. More...
 
void XDp_RxSetUserPixelWidth (XDp *InstancePtr, u8 UserPixelWidth)
 This function configures the number of pixels output through the user data interface. More...
 
XVidC_ColorDepth XDp_RxGetBpc (XDp *InstancePtr, u8 Stream)
 This function extracts the bits per color from MISC0 of the stream. More...
 
XVidC_ColorFormat XDp_RxGetColorComponent (XDp *InstancePtr, u8 Stream)
 This function extracts the color component format from MISC0 of the stream. More...
 
void XDp_RxSetLineReset (XDp *InstancePtr, u8 Stream)
 Disable/enables the end of line reset to the internal video pipe in case of reduced blanking as required. More...
 
void XDp_RxAllocatePayloadStream (XDp *InstancePtr)
 This function will set the virtual channel payload table both in software and in the DisplayPort RX core's hardware registers based on the MST allocation values from ALLOCATE_PAYLOAD and CLEAR_PAYLOAD sideband message requests. More...