dp14rxss
Vitis Drivers API Documentation
|
Data Structures | |
struct | XDpRxSs_UsrOpt |
User input structure. More... | |
struct | XDpRxSs_DpSubCore |
DisplayPort Sub-core structure. More... | |
struct | XDpRxSs_IicSubCore |
IIC Sub-core structure. More... | |
struct | XDpRxSs_SubCoreConfig |
This typedef contains configuration information for the DpRxSs subcore instances. More... | |
struct | XDpRxSs_Hdcp1xSubCore |
High-Bandwidth Content Protection (HDCP) Sub-core structure. More... | |
struct | XDpRxSs_TmrCtrSubCore |
Timer Counter Sub-core structure. More... | |
struct | XDpRxSs_Hdcp22SubCore |
Sub-Core Configuration Table. More... | |
struct | XDpRxSs_Config |
This typedef contains configuration information for the DisplayPort Receiver Subsystem core. More... | |
struct | XDpRxSs |
The DisplayPort RX Subsystem driver instance data. More... | |
Macros | |
#define | XDPRXSS_H_ |
Prevent circular inclusions by using protection macros. More... | |
#define | XDpRxSs_TimerHandler XDp_TimerHandler |
Callback type which represents a custom timer wait handler. More... | |
#define | XDpRxSs_DtgEnable(InstancePtr) XDp_RxDtgEn((InstancePtr)->DpPtr) |
This function macro enables the display timing generator (DTG). More... | |
#define | XDpRxSs_DtgDisable(InstancePtr) XDp_RxDtgDis((InstancePtr)->DpPtr) |
This function macro disables the display timing generator (DTG). More... | |
#define | XDpRxSs_AudioEnable(InstancePtr) XDp_RxAudioEn((InstancePtr)->DpPtr) |
This function macro enables audio stream packets on the main link. More... | |
#define | XDpRxSs_AudioDisable(InstancePtr) XDp_RxAudioDis((InstancePtr)->DpPtr) |
This function macro disables audio stream packets on the main link. More... | |
#define | XDpRxSs_AudioReset(InstancePtr) XDp_RxAudioReset((InstancePtr)->DpPtr) |
This function macro resets the reception of audio stream packets on the main link. More... | |
#define | XDpRxSs_Mst_AudioEnable(InstancePtr, StreamId) XDp_Rx_Mst_AudioEn((InstancePtr)->DpPtr, StreamId) |
This function macro enables MST audio on a given stream on the main link. More... | |
#define | XDpRxSs_Mst_AudioDisable(InstancePtr) XDp_RxAudioDis((InstancePtr)->DpPtr) |
This function macro disables audio on a given stream on the main link. More... | |
#define | XDpRxSs_WaitUs(InstancePtr, MicroSeconds) XDp_WaitUs((InstancePtr)->DpPtr, MicroSeconds) |
This function macro is the delay/sleep function for the XDpRxSs driver. More... | |
#define | XDPRXSS_HW_H_ |
Prevent circular inclusions by using protection macros. More... | |
#define | XDPRXSS_LINK_BW_SET_162GBPS XDP_RX_OVER_LINK_BW_SET_162GBPS |
1.62 Gbps link rate. More... | |
#define | XDPRXSS_LINK_BW_SET_270GBPS XDP_RX_OVER_LINK_BW_SET_270GBPS |
2.70 Gbps link rate. More... | |
#define | XDPRXSS_LINK_BW_SET_540GBPS XDP_RX_OVER_LINK_BW_SET_540GBPS |
5.40 Gbps link rate. More... | |
#define | XDPRXSS_LINK_BW_SET_810GBPS XDP_RX_OVER_LINK_BW_SET_810GBPS |
8.10 Gbps link rate. More... | |
#define | XDPRXSS_LANE_COUNT_SET_1 XDP_RX_OVER_LANE_COUNT_SET_1 |
Lane count of 1. More... | |
#define | XDPRXSS_LANE_COUNT_SET_2 XDP_RX_OVER_LANE_COUNT_SET_2 |
Lane count of 2. More... | |
#define | XDPRXSS_LANE_COUNT_SET_4 XDP_RX_OVER_LANE_COUNT_SET_4 |
Lane count of 4. More... | |
#define | XDPRXSS_RX_PHY_CONFIG XDP_RX_PHY_CONFIG |
PHY reset and config. More... | |
#define | XDPRXSS_PHY_POWER_DOWN XDP_RX_PHY_POWER_DOWN |
PHY power down. More... | |
#define | XDPRXSS_MSA_HRES XDP_RX_MSA_HRES |
Number of active pixels per line (the horizontal resolution). More... | |
#define | XDPRXSS_MSA_VRES XDP_RX_MSA_VHEIGHT |
Number of active lines (the vertical resolution). More... | |
#define | XDPRXSS_NUM_STREAMS 4 |
Maximum number of streams supported. More... | |
#define | XDPRXSS_MAX_NPORTS XDP_MAX_NPORTS |
Maximum number of RX ports. More... | |
#define | XDPRXSS_GUID_NBYTES XDP_GUID_NBYTES |
Number of bytes for GUID. More... | |
#define | XDPRXSS_TMRCTR_RST_VAL 100000000 |
Timer Counter reset value. More... | |
#define | XDPRXSS_MCDP6000_IIC_SLAVE 0x14 |
MCDP6000 slave device. More... | |
Typedefs | |
typedef void(* | XDpRxSs_Callback )(void *InstancePtr) |
Callback type which represents the handler for events. More... | |
Functions | |
u32 | XDpRxSs_CfgInitialize (XDpRxSs *InstancePtr, XDpRxSs_Config *CfgPtr, UINTPTR EffectiveAddr) |
This function initializes the DisplayPort Receiver Subsystem core. More... | |
void | XDpRxSs_Reset (XDpRxSs *InstancePtr) |
This function resets the DisplayPort Receiver Subsystem including all sub-cores. More... | |
u32 | XDpRxSs_Start (XDpRxSs *InstancePtr) |
This function starts the DisplayPort Receiver Subsystem including all sub-cores. More... | |
u32 | XDpRxSs_SetLinkRate (XDpRxSs *InstancePtr, u8 LinkRate) |
This function sets the data rate to be used by the DisplayPort RX Subsystem core. More... | |
u32 | XDpRxSs_SetLaneCount (XDpRxSs *InstancePtr, u8 LaneCount) |
This function sets the number of lanes to be used by DisplayPort RX Subsystem core. More... | |
u32 | XDpRxSs_ExposePort (XDpRxSs *InstancePtr, u8 Port) |
This function allows the user to select number of ports to be exposed when replying to a LINK_ADDRESS sideband message and hides rest of the ports. More... | |
u32 | XDpRxSs_CheckLinkStatus (XDpRxSs *InstancePtr) |
This function checks if the receiver's DisplayPort Configuration Data (DPCD) indicates that the receiver has achieved clock recovery, channel equalization, symbol lock, and interlane alignment for all lanes currently in use. More... | |
void | XDpRxSs_SetUserPixelWidth (XDpRxSs *InstancePtr, u8 UserPixelWidth) |
This function configures the number of pixels output through the user data interface. More... | |
u8 | XDpRxss_GetBpc (XDpRxSs *InstancePtr, u8 Stream) |
This function extracts the bits per color from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream. More... | |
u8 | XDpRxss_GetColorComponent (XDpRxSs *InstancePtr, u8 Stream) |
This function extracts the color component format from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream. More... | |
u8 | XDpRxss_GetColorimetry (XDpRxSs *InstancePtr, u8 Stream) |
This function extracts the YCbCrColorimetry from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream. More... | |
u8 | XDpRxss_GetDynamicRange (XDpRxSs *InstancePtr, u8 Stream) |
This function extracts the dynamic range from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream. More... | |
u32 | XDpRxSs_HandleDownReq (XDpRxSs *InstancePtr) |
This function handles incoming sideband messages. More... | |
void | XDpRxSs_McDp6000_init (void *InstancePtr) |
This routine initializes the MCDP6000 part on the VFMC card used for DP 1.4. More... | |
void | XDpRxSs_SetAdaptiveSyncCaps (XDpRxSs *InstancePtr, u32 Enable) |
This function sets Adaptive-Sync capabilities to DisplayPort RX Subsystem. More... | |
void | XDpRxSs_MaskAdaptiveIntr (XDpRxSs *InstancePtr, u32 Mask) |
This function masks the Adaptive-Sync interrupts from DisplayPort RX Subsystem. More... | |
void | XDpRxSs_UnMaskAdaptiveIntr (XDpRxSs *InstancePtr, u32 Mask) |
This function unmasks Adaptive-Sync interrupt from DisplayPort RX Subsystem. More... | |
int | XDpRxSs_GetVblank (XDpRxSs *InstancePtr, u8 Stream) |
This function retrieves the current vblank value of the incoming video stream. More... | |
int | XDpRxSs_GetVtotal (XDpRxSs *InstancePtr, u8 Stream) |
This function retrieves the current VTotal value of the incoming video stream. More... | |
XDpRxSs_Config * | XDpRxSs_LookupConfig (u16 DeviceId) |
This function returns a reference to an XDpRxSs_Config structure based on the core id, DeviceId. More... | |
void | XDpRxSs_ReportCoreInfo (XDpRxSs *InstancePtr) |
This function reports list of sub-cores included in DisplayPort RX Subsystem. More... | |
void | XDpRxSs_ReportLinkInfo (XDpRxSs *InstancePtr) |
This function prints the link status, selected resolution, link rate /lane count symbol error. More... | |
void | XDpRxSs_ReportMsaInfo (XDpRxSs *InstancePtr) |
This function prints the current main stream attributes from the DisplayPort RX core. More... | |
void | XDpRxSs_ReportHdcpInfo (XDpRxSs *InstancePtr) |
This function prints the debug display info of the HDCP interface. More... | |
u32 | XDpRxSs_SelfTest (XDpRxSs *InstancePtr) |
This function performs self test on DisplayPort Receiver Subsystem sub-cores. More... | |
void | XDpRxSs_DpIntrHandler (void *InstancePtr) |
This function is the interrupt handler for the DisplayPort RX core operating in RX mode. More... | |
u32 | XDpRxSs_SetCallBack (XDpRxSs *InstancePtr, u32 HandlerType, void *CallbackFunc, void *CallbackRef) |
This function installs an asynchronous callback function for the given HandlerType: More... | |
void | XDpRxSs_SetUserTimerHandler (XDpRxSs *InstancePtr, XDpRxSs_TimerHandler CallbackFunc, void *CallbackRef) |
This function installs a custom delay/sleep function to be used by the DisplayPort RX Subsystem. More... | |
void | XDpRxSs_DrvNoVideoHandler (void *InstancePtr) |
This function is the interrupt handler for No Video. More... | |
void | XDpRxSs_DrvVideoHandler (void *InstancePtr) |
This function is for the video interrupt handler. More... | |
void | XDpRxSs_DrvPowerChangeHandler (void *InstancePtr) |
This function is for the power change interrupt handler. More... | |
u32 | XDpRxSs_MCDP6000_GetRegister (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress, u16 RegisterAddress) |
This function reads a single 32b word from the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_SetRegister (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress, u16 RegisterAddress, u32 Value) |
This function writes a single 32b word to the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_ModifyRegister (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress, u16 RegisterAddress, u32 Value, u32 Mask) |
This function modifies a single 32b word from the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_DpInit (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function initializes the MCDP6000 device with default values for DP use with the Video FMC. More... | |
int | XDpRxSs_MCDP6000_IbertInit (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function initializes the MCDP6000 device with default values for IBERT use with the Video FMC. More... | |
int | XDpRxSs_MCDP6000_ResetCrPath (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function requests a reset of the CR path of the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_ResetDpPath (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function requests a reset of the DP path of the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_EnablePrbs7_Tx (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function enables the PRBS7 output of the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_EnablePrbs7_Rx (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function enables the PRBS7 counter mode in MC Rx path Used in DP PHY compliance mode. More... | |
int | XDpRxSs_MCDP6000_DisablePrbs7_Rx (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function Disables the PRBS7 counter mode in MC Rx path Used in DP PHY compliance mode. More... | |
int | XDpRxSs_MCDP6000_EnableCounter (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function enables symbol counter. More... | |
int | XDpRxSs_MCDP6000_ClearCounter (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function clears symbol counter. More... | |
int | XDpRxSs_MCDP6000_Read_ErrorCounters (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function reads error counters for all lanes. More... | |
void | XDpRxSs_MCDP6000_RegisterDump (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function displays a registerdump of the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_TransparentMode (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function sets the transparent mode of the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_BWchange (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function changes the bandwidth of the MCDP6000 device. More... | |
int | XDpRxSs_MCDP6000_AccessLaneSet (XDpRxSs *DpRxSsPtr, u8 I2CSlaveAddress) |
This function sets the access lane register of the MCDP6000 device. More... | |
Register access macro definition | |
#define | XDpRxSs_In32 Xil_In32 |
Input Operations. More... | |
#define | XDpRxSs_Out32 Xil_Out32 |
Output Operations. More... | |
#define | XDpRxSs_ReadReg(BaseAddress, RegOffset) XDpRxSs_In32((BaseAddress) + ((u32)RegOffset)) |
This macro reads a value from a DisplayPort Receiver Subsystem register. More... | |
#define | XDpRxSs_WriteReg(BaseAddress, RegOffset, Data) XDpRxSs_Out32((BaseAddress) + ((u32)RegOffset), (u32)(Data)) |
This macro writes a value to a DisplayPort Receiver Subsystem register. More... | |
#define XDpRxSs_AudioDisable | ( | InstancePtr | ) | XDp_RxAudioDis((InstancePtr)->DpPtr) |
This function macro disables audio stream packets on the main link.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Referenced by DpRxSs_Main(), DpRxSs_TrainingLostHandler(), and DpRxSs_UnplugHandler().
#define XDpRxSs_AudioEnable | ( | InstancePtr | ) | XDp_RxAudioEn((InstancePtr)->DpPtr) |
This function macro enables audio stream packets on the main link.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Referenced by DpRxSs_Main().
#define XDpRxSs_AudioReset | ( | InstancePtr | ) | XDp_RxAudioReset((InstancePtr)->DpPtr) |
This function macro resets the reception of audio stream packets on the main link.
InstancePtr | is a pointer to the XDpRxSs core instance. |
#define XDpRxSs_DtgDisable | ( | InstancePtr | ) | XDp_RxDtgDis((InstancePtr)->DpPtr) |
This function macro disables the display timing generator (DTG).
InstancePtr | is a pointer to the XDpRxSs core instance. |
#define XDpRxSs_DtgEnable | ( | InstancePtr | ) | XDp_RxDtgEn((InstancePtr)->DpPtr) |
This function macro enables the display timing generator (DTG).
InstancePtr | is a pointer to the XDpRxSs core instance. |
#define XDPRXSS_GUID_NBYTES XDP_GUID_NBYTES |
Number of bytes for GUID.
#define XDPRXSS_H_ |
Prevent circular inclusions by using protection macros.
#define XDPRXSS_HW_H_ |
Prevent circular inclusions by using protection macros.
#define XDpRxSs_In32 Xil_In32 |
Input Operations.
#define XDPRXSS_LANE_COUNT_SET_1 XDP_RX_OVER_LANE_COUNT_SET_1 |
Lane count of 1.
Referenced by XDpRxSs_SetLaneCount().
#define XDPRXSS_LANE_COUNT_SET_2 XDP_RX_OVER_LANE_COUNT_SET_2 |
Lane count of 2.
Referenced by XDpRxSs_SetLaneCount().
#define XDPRXSS_LANE_COUNT_SET_4 XDP_RX_OVER_LANE_COUNT_SET_4 |
Lane count of 4.
Referenced by XDpRxSs_SetLaneCount().
#define XDPRXSS_LINK_BW_SET_162GBPS XDP_RX_OVER_LINK_BW_SET_162GBPS |
1.62 Gbps link rate.
Referenced by XDpRxSs_SetLinkRate().
#define XDPRXSS_LINK_BW_SET_270GBPS XDP_RX_OVER_LINK_BW_SET_270GBPS |
2.70 Gbps link rate.
Referenced by XDpRxSs_SetLinkRate().
#define XDPRXSS_LINK_BW_SET_540GBPS XDP_RX_OVER_LINK_BW_SET_540GBPS |
5.40 Gbps link rate.
Referenced by XDpRxSs_SetLinkRate().
#define XDPRXSS_LINK_BW_SET_810GBPS XDP_RX_OVER_LINK_BW_SET_810GBPS |
8.10 Gbps link rate.
Referenced by XDpRxSs_SetLinkRate().
#define XDPRXSS_MAX_NPORTS XDP_MAX_NPORTS |
Maximum number of RX ports.
#define XDPRXSS_MCDP6000_IIC_SLAVE 0x14 |
MCDP6000 slave device.
Referenced by XDpRxSs_McDp6000_init().
#define XDPRXSS_MSA_HRES XDP_RX_MSA_HRES |
Number of active pixels per line (the horizontal resolution).
Referenced by DpRxSs_DetectResolution().
#define XDPRXSS_MSA_VRES XDP_RX_MSA_VHEIGHT |
Number of active lines (the vertical resolution).
Referenced by DpRxSs_DetectResolution().
#define XDpRxSs_Mst_AudioDisable | ( | InstancePtr | ) | XDp_RxAudioDis((InstancePtr)->DpPtr) |
This function macro disables audio on a given stream on the main link.
InstancePtr | is a pointer to the XDpRxSs core instance. |
#define XDpRxSs_Mst_AudioEnable | ( | InstancePtr, | |
StreamId | |||
) | XDp_Rx_Mst_AudioEn((InstancePtr)->DpPtr, StreamId) |
This function macro enables MST audio on a given stream on the main link.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Stream | Id to be enabled audio |
#define XDPRXSS_NUM_STREAMS 4 |
Maximum number of streams supported.
#define XDpRxSs_Out32 Xil_Out32 |
Output Operations.
#define XDPRXSS_PHY_POWER_DOWN XDP_RX_PHY_POWER_DOWN |
PHY power down.
#define XDpRxSs_ReadReg | ( | BaseAddress, | |
RegOffset | |||
) | XDpRxSs_In32((BaseAddress) + ((u32)RegOffset)) |
This macro reads a value from a DisplayPort Receiver Subsystem register.
A 32 bit read is performed. If the component is implemented in a smaller width, only the least significant data is read from the register. The most significant data will be read as 0.
BaseAddress | is the base address of the XDpRxSs core instance. |
RegOffset | is the register offset of the register (defined at the top of this file). |
Referenced by DpRxSs_DetectResolution(), XDpRxSs_GetVblank(), XDpRxSs_GetVtotal(), XDpRxSs_MaskAdaptiveIntr(), XDpRxSs_ReportLinkInfo(), XDpRxSs_SetAdaptiveSyncCaps(), and XDpRxSs_UnMaskAdaptiveIntr().
#define XDPRXSS_RX_PHY_CONFIG XDP_RX_PHY_CONFIG |
PHY reset and config.
#define XDpRxSs_TimerHandler XDp_TimerHandler |
Callback type which represents a custom timer wait handler.
#define XDPRXSS_TMRCTR_RST_VAL 100000000 |
Timer Counter reset value.
Referenced by XDpRxSs_CfgInitialize().
#define XDpRxSs_WaitUs | ( | InstancePtr, | |
MicroSeconds | |||
) | XDp_WaitUs((InstancePtr)->DpPtr, MicroSeconds) |
This function macro is the delay/sleep function for the XDpRxSs driver.
InstancePtr | is a pointer to the XDpRxSs core instance. |
MicroSeconds | is the number of microseconds to delay/sleep for. |
Referenced by DpRxSs_DetectResolution().
#define XDpRxSs_WriteReg | ( | BaseAddress, | |
RegOffset, | |||
Data | |||
) | XDpRxSs_Out32((BaseAddress) + ((u32)RegOffset), (u32)(Data)) |
This macro writes a value to a DisplayPort Receiver Subsystem register.
A 32 bit write is performed. If the component is implemented in a smaller width, only the least significant data is written.
BaseAddress | is the base address of the XDpRxSs core instance. |
RegOffset | is the register offset of the register (defined at the top of this file) to be written. |
Data | is the 32-bit value to write into the register. |
Referenced by XDpRxSs_MaskAdaptiveIntr(), XDpRxSs_Reset(), XDpRxSs_SetAdaptiveSyncCaps(), and XDpRxSs_UnMaskAdaptiveIntr().
typedef void(* XDpRxSs_Callback)(void *InstancePtr) |
Callback type which represents the handler for events.
InstancePtr | is a pointer to the XDpRxSs instance. |
enum XDpRxSs_HandlerType |
These constants specify different types of handler and used to differentiate interrupt requests from sub-cores.
enum XDpRxSs_HdcpProtocol |
u32 XDpRxSs_CfgInitialize | ( | XDpRxSs * | InstancePtr, |
XDpRxSs_Config * | CfgPtr, | ||
UINTPTR | EffectiveAddr | ||
) |
This function initializes the DisplayPort Receiver Subsystem core.
This function must be called prior to using the core. Initialization of the core includes setting up the instance data and ensuring the hardware is in a quiescent state.
InstancePtr | is a pointer to the XDpRxSs core instance. |
CfgPtr | points to the configuration structure associated with the DisplayPort RX Subsystem core. |
EffectiveAddr | is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used. |
References XDpRxSs_Config::BaseAddress, XDpRxSs_UsrOpt::Bpc, XDpRxSs_Config::ClkWizSubCore, XDpRxSs::Config, XDpRxSs_SubCoreConfig::DeviceId, XDpRxSs_DpSubCore::DpConfig, XDpRxSs::DpPtr, XDpRxSs_Config::DpSubCore, XDpRxSs_Hdcp1xSubCore::Hdcp1xConfig, XDpRxSs_Config::Hdcp1xSubCore, XDpRxSs_Config::Hdcp22Enable, XDpRxSs_Config::HdcpEnable, XDpRxSs_Config::IicSubCore, XDpRxSs_Config::IncludeClkWiz, XDpRxSs::IsReady, XDpRxSs_UsrOpt::LaneCount, XDpRxSs_UsrOpt::LinkRate, XDpRxSs_Config::MaxBpc, XDpRxSs_Config::MaxLaneCount, XDpRxSs_UsrOpt::MstSupport, XDpRxSs_Config::MstSupport, XDpRxSs_Config::NumMstStreams, XDpRxSs_UsrOpt::NumOfStreams, XDpRxSs_Config::TmrCtrSubCore, XDpRxSs::UsrOpt, XDPRXSS_DRV_HANDLER_DP_NO_VID_EVENT, XDPRXSS_DRV_HANDLER_DP_PWR_CHG_EVENT, XDPRXSS_DRV_HANDLER_DP_VID_EVENT, XDpRxSs_DrvNoVideoHandler(), XDpRxSs_DrvPowerChangeHandler(), XDpRxSs_DrvVideoHandler(), XDPRXSS_HDCP_14, XDPRXSS_HDCP_22, XDpRxSs_SetCallBack(), and XDPRXSS_TMRCTR_RST_VAL.
Referenced by DpRxSs_DebugExample(), DpRxSs_HdcpExample(), DpRxSs_IntrExample(), DpRxSs_Main(), DpRxSs_MstExample(), and DpRxSs_SelfTestExample().
u32 XDpRxSs_CheckLinkStatus | ( | XDpRxSs * | InstancePtr | ) |
This function checks if the receiver's DisplayPort Configuration Data (DPCD) indicates that the receiver has achieved clock recovery, channel equalization, symbol lock, and interlane alignment for all lanes currently in use.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::DpPtr.
void XDpRxSs_DpIntrHandler | ( | void * | InstancePtr | ) |
This function is the interrupt handler for the DisplayPort RX core operating in RX mode.
The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using XDpRxSs_SetCallBack() during initialization phase.
InstancePtr | is a pointer to the XDpRxSs core instance that just interrupted. |
References XDpRxSs::DpPtr, and XDpRxSs::IsReady.
Referenced by DpRxSs_SetupIntrSystem().
void XDpRxSs_DrvNoVideoHandler | ( | void * | InstancePtr | ) |
This function is the interrupt handler for No Video.
InstancePtr | is a pointer to the XDpRxSs core instance that just interrupted. |
References XDpRxSs::DpPtr, and XDpRxSs::IsReady.
Referenced by XDpRxSs_CfgInitialize().
void XDpRxSs_DrvPowerChangeHandler | ( | void * | InstancePtr | ) |
This function is for the power change interrupt handler.
InstancePtr | is a pointer to the XDpRxSs core instance that just interrupted. |
References XDpRxSs::DpPtr, and XDpRxSs::IsReady.
Referenced by XDpRxSs_CfgInitialize().
void XDpRxSs_DrvVideoHandler | ( | void * | InstancePtr | ) |
This function is for the video interrupt handler.
InstancePtr | is a pointer to the XDpRxSs core instance that just interrupted. |
References XDpRxSs::DpPtr, and XDpRxSs::IsReady.
Referenced by XDpRxSs_CfgInitialize().
u32 XDpRxSs_ExposePort | ( | XDpRxSs * | InstancePtr, |
u8 | Port | ||
) |
This function allows the user to select number of ports to be exposed when replying to a LINK_ADDRESS sideband message and hides rest of the ports.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Port | specifies the number of ports to be exposed within the range 1 to 4. |
References XDpRxSs::Config, XDpRxSs::DpPtr, XDpRxSs_UsrOpt::MstSupport, XDpRxSs_Config::NumMstStreams, XDpRxSs_UsrOpt::NumOfStreams, and XDpRxSs::UsrOpt.
u8 XDpRxss_GetBpc | ( | XDpRxSs * | InstancePtr, |
u8 | Stream | ||
) |
This function extracts the bits per color from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Stream | is the stream number to make the calculations for. |
References XDpRxSs::DpPtr.
u8 XDpRxss_GetColorComponent | ( | XDpRxSs * | InstancePtr, |
u8 | Stream | ||
) |
This function extracts the color component format from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Stream | is the stream number to make the calculations for. |
References XDpRxSs::DpPtr.
u8 XDpRxss_GetColorimetry | ( | XDpRxSs * | InstancePtr, |
u8 | Stream | ||
) |
This function extracts the YCbCrColorimetry from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Stream | is the stream number to make the calculations for. |
References XDpRxSs::DpPtr.
u8 XDpRxss_GetDynamicRange | ( | XDpRxSs * | InstancePtr, |
u8 | Stream | ||
) |
This function extracts the dynamic range from MISC0 or VSC SDP packet based on whether reception of colorimetry information through VSC SDP packets or through MISC registers of the stream.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Stream | is the stream number to make the calculations for. |
References XDpRxSs::DpPtr.
int XDpRxSs_GetVblank | ( | XDpRxSs * | InstancePtr, |
u8 | Stream | ||
) |
This function retrieves the current vblank value of the incoming video stream.
InstancePtr | is a pointer to the XDpRxSs core instance. Stream is the stream number to get the vblank. |
References XDpRxSs::DpPtr, and XDpRxSs_ReadReg.
int XDpRxSs_GetVtotal | ( | XDpRxSs * | InstancePtr, |
u8 | Stream | ||
) |
This function retrieves the current VTotal value of the incoming video stream.
InstancePtr | is a pointer to the XDpRxSs core instance. Stream is the stream number to get the vtotal. |
Note: This function has to be called after assertion Bit-30 of XDP_RX_INTERRUPT_CAUSE_2 register
References XDpRxSs::DpPtr, and XDpRxSs_ReadReg.
u32 XDpRxSs_HandleDownReq | ( | XDpRxSs * | InstancePtr | ) |
This function handles incoming sideband messages.
It will 1) Read the contents of the down request registers, 2) Delegate control depending on the request type, and 3) Send a down reply.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::DpPtr.
Referenced by DpRxSs_DownReqestHandler().
XDpRxSs_Config * XDpRxSs_LookupConfig | ( | u16 | DeviceId | ) |
This function returns a reference to an XDpRxSs_Config structure based on the core id, DeviceId.
The return value will refer to an entry in the device configuration table defined in the xdprxss_g.c file.
DeviceId | is the unique core ID of the XDpRxSs core for the lookup operation. |
Referenced by DpRxSs_DebugExample(), DpRxSs_HdcpExample(), DpRxSs_IntrExample(), DpRxSs_Main(), DpRxSs_MstExample(), and DpRxSs_SelfTestExample().
void XDpRxSs_MaskAdaptiveIntr | ( | XDpRxSs * | InstancePtr, |
u32 | Mask | ||
) |
This function masks the Adaptive-Sync interrupts from DisplayPort RX Subsystem.
InstancePtr | is a pointer to the XDpRxSs instance. |
Interrupts | to mask |
References XDpRxSs::DpPtr, XDpRxSs_ReadReg, and XDpRxSs_WriteReg.
int XDpRxSs_MCDP6000_AccessLaneSet | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function sets the access lane register of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_SetRegister().
int XDpRxSs_MCDP6000_BWchange | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function changes the bandwidth of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_ModifyRegister().
int XDpRxSs_MCDP6000_ClearCounter | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function clears symbol counter.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
Referenced by DpRxSs_AccessLinkQualHandler().
int XDpRxSs_MCDP6000_DisablePrbs7_Rx | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function Disables the PRBS7 counter mode in MC Rx path Used in DP PHY compliance mode.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
Referenced by DpRxSs_AccessLinkQualHandler().
int XDpRxSs_MCDP6000_DpInit | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function initializes the MCDP6000 device with default values for DP use with the Video FMC.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
Referenced by XDpRxSs_McDp6000_init().
int XDpRxSs_MCDP6000_EnableCounter | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function enables symbol counter.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
int XDpRxSs_MCDP6000_EnablePrbs7_Rx | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function enables the PRBS7 counter mode in MC Rx path Used in DP PHY compliance mode.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
Referenced by DpRxSs_AccessLinkQualHandler().
int XDpRxSs_MCDP6000_EnablePrbs7_Tx | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function enables the PRBS7 output of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_SetRegister().
u32 XDpRxSs_MCDP6000_GetRegister | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress, | ||
u16 | RegisterAddress | ||
) |
This function reads a single 32b word from the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
RegisterAddress | is the 16-bit register address. |
References XDpRxSs::Config.
Referenced by DpRxSs_AccessErrorCounterHandler(), DpRxSs_Main(), XDpRxSs_MCDP6000_ClearCounter(), XDpRxSs_MCDP6000_DisablePrbs7_Rx(), XDpRxSs_MCDP6000_DpInit(), XDpRxSs_MCDP6000_EnableCounter(), XDpRxSs_MCDP6000_EnablePrbs7_Rx(), XDpRxSs_MCDP6000_ModifyRegister(), XDpRxSs_MCDP6000_Read_ErrorCounters(), and XDpRxSs_MCDP6000_RegisterDump().
int XDpRxSs_MCDP6000_IbertInit | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function initializes the MCDP6000 device with default values for IBERT use with the Video FMC.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_SetRegister().
void XDpRxSs_McDp6000_init | ( | void * | InstancePtr | ) |
This routine initializes the MCDP6000 part on the VFMC card used for DP 1.4.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs_MCDP6000_DpInit(), and XDPRXSS_MCDP6000_IIC_SLAVE.
Referenced by DpRxSs_Main().
int XDpRxSs_MCDP6000_ModifyRegister | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress, | ||
u16 | RegisterAddress, | ||
u32 | Value, | ||
u32 | Mask | ||
) |
This function modifies a single 32b word from the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
RegisterAddress | is the 16-bit register address. |
Value | is the 32b word to write |
Mask | is the 32b mask |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
Referenced by XDpRxSs_MCDP6000_BWchange(), and XDpRxSs_MCDP6000_ResetCrPath().
int XDpRxSs_MCDP6000_Read_ErrorCounters | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function reads error counters for all lanes.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister(), and XDpRxSs_MCDP6000_SetRegister().
Referenced by DpRxSs_AccessErrorCounterHandler(), and DpRxSs_Main().
void XDpRxSs_MCDP6000_RegisterDump | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function displays a registerdump of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_GetRegister().
int XDpRxSs_MCDP6000_ResetCrPath | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function requests a reset of the CR path of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_ModifyRegister().
int XDpRxSs_MCDP6000_ResetDpPath | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function requests a reset of the DP path of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_SetRegister().
int XDpRxSs_MCDP6000_SetRegister | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress, | ||
u16 | RegisterAddress, | ||
u32 | Value | ||
) |
This function writes a single 32b word to the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
RegisterAddress | is the 16-bit register address. |
Value | is the 32b word to write |
References XDpRxSs::Config.
Referenced by XDpRxSs_MCDP6000_AccessLaneSet(), XDpRxSs_MCDP6000_ClearCounter(), XDpRxSs_MCDP6000_DisablePrbs7_Rx(), XDpRxSs_MCDP6000_DpInit(), XDpRxSs_MCDP6000_EnableCounter(), XDpRxSs_MCDP6000_EnablePrbs7_Rx(), XDpRxSs_MCDP6000_EnablePrbs7_Tx(), XDpRxSs_MCDP6000_IbertInit(), XDpRxSs_MCDP6000_ModifyRegister(), XDpRxSs_MCDP6000_Read_ErrorCounters(), XDpRxSs_MCDP6000_ResetDpPath(), and XDpRxSs_MCDP6000_TransparentMode().
int XDpRxSs_MCDP6000_TransparentMode | ( | XDpRxSs * | DpRxSsPtr, |
u8 | I2CSlaveAddress | ||
) |
This function sets the transparent mode of the MCDP6000 device.
DpRxSsPtr | is a pointer to the XDpRxSs core instance. |
I2CSlaveAddress | is the 7-bit I2C slave address. |
References XDpRxSs_MCDP6000_SetRegister().
void XDpRxSs_ReportCoreInfo | ( | XDpRxSs * | InstancePtr | ) |
This function reports list of sub-cores included in DisplayPort RX Subsystem.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs_Config::ColorFormat, XDpRxSs::Config, XDpRxSs::DpPtr, XDpRxSs_Config::HdcpEnable, XDpRxSs_Config::MaxBpc, XDpRxSs_Config::MaxLaneCount, XDpRxSs_Config::MaxNumAudioCh, XDpRxSs_UsrOpt::MstSupport, XDpRxSs_Config::MstSupport, XDpRxSs_Config::NumMstStreams, XDpRxSs_UsrOpt::NumOfStreams, XDpRxSs_Config::SecondaryChEn, and XDpRxSs::UsrOpt.
Referenced by DpRxSs_DebugExample(), and DpRxSs_Main().
void XDpRxSs_ReportHdcpInfo | ( | XDpRxSs * | InstancePtr | ) |
This function prints the debug display info of the HDCP interface.
InstancePtr | is a pointer to the XDpRxSs core instance. |
Referenced by DpRxSs_DebugExample().
void XDpRxSs_ReportLinkInfo | ( | XDpRxSs * | InstancePtr | ) |
This function prints the link status, selected resolution, link rate /lane count symbol error.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::DpPtr, and XDpRxSs_ReadReg.
Referenced by DpRxSs_DebugExample(), and DpRxSs_Main().
void XDpRxSs_ReportMsaInfo | ( | XDpRxSs * | InstancePtr | ) |
This function prints the current main stream attributes from the DisplayPort RX core.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::Config, XDpRxSs::DpPtr, and XDpRxSs_Config::NumMstStreams.
Referenced by DpRxSs_DebugExample(), and DpRxSs_Main().
void XDpRxSs_Reset | ( | XDpRxSs * | InstancePtr | ) |
This function resets the DisplayPort Receiver Subsystem including all sub-cores.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::Config, XDpRxSs::DpPtr, XDpRxSs_Config::HdcpEnable, and XDpRxSs_WriteReg.
u32 XDpRxSs_SelfTest | ( | XDpRxSs * | InstancePtr | ) |
This function performs self test on DisplayPort Receiver Subsystem sub-cores.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::Config, XDpRxSs::DpPtr, and XDpRxSs_Config::HdcpEnable.
Referenced by DpRxSs_SelfTestExample().
void XDpRxSs_SetAdaptiveSyncCaps | ( | XDpRxSs * | InstancePtr, |
u32 | Enable | ||
) |
This function sets Adaptive-Sync capabilities to DisplayPort RX Subsystem.
InstancePtr | is a pointer to the XDpRxSs instance. |
Enable | is to enable/disable the Adaptive-Sync capabilities in DisplayPort Rx Subsystem |
References XDpRxSs::DpPtr, XDpRxSs_ReadReg, and XDpRxSs_WriteReg.
u32 XDpRxSs_SetCallBack | ( | XDpRxSs * | InstancePtr, |
u32 | HandlerType, | ||
void * | CallbackFunc, | ||
void * | CallbackRef | ||
) |
This function installs an asynchronous callback function for the given HandlerType:
HandlerType Callback Function Type ---------------------------------------- ----------------------------------- XDPRXSS_HANDLER_DP_VM_CHG_EVENT XDp_RxSetIntrVmChangeHandler XDPRXSS_HANDLER_DP_PWR_CHG_EVENT XDp_RxSetIntrPowerStateHandler XDPRXSS_HANDLER_DP_NO_VID_EVENT XDp_RxSetIntrNoVideoHandler XDPRXSS_HANDLER_DP_VBLANK_EVENT XDp_RxSetIntrVBlankHandler XDPRXSS_HANDLER_DP_TLOST_EVENT XDp_RxSetIntrTrainingLostHandler XDPRXSS_HANDLER_DP_VID_EVENT XDp_RxSetIntrVideoHandler XDPRXSS_HANDLER_DP_INFO_PKT_EVENT XDp_RxSetIntrInfoPktHandler XDPRXSS_HANDLER_DP_EXT_PKT_EVENT XDp_RxSetIntrExtPktHandler XDPRXSS_HANDLER_DP_TDONE_EVENT XDp_RxSetIntrTrainingDoneHandler XDPRXSS_HANDLER_DP_BW_CHG_EVENT XDp_RxSetIntrBwChangeHandler XDPRXSS_HANDLER_DP_DWN_REQ_EVENT XDp_RxSetIntrDownReqHandler XDPRXSS_HANDLER_DP_DWN_REP_EVENT XDp_RxSetIntrDownReplyHandler XDPRXSS_HANDLER_DP_AUD_OVRFLW_EVENT XDp_RxSetIntrAudioOverHandler XDPRXSS_HANDLER_DP_PAYLOAD_ALLOC_EVENT XDp_RxSetIntrPayloadAllocHandler XDPRXSS_HANDLER_DP_ACT_RX_EVENT XDp_RxSetIntrActRxHandler XDPRXSS_HANDLER_DP_CRC_TEST_EVENT XDp_RxSetIntrCrcTestHandler XDPRXSS_HANDLER_HDCP_RPTR_TDSA_EVENT XHdcp1x_SetCallBack XDPRXSS_HANDLER_UNPLUG_EVENT UnplugCallback XDPRXSS_HANDLER_LINKBW_EVENT LinkBwCallback XDPRXSS_HANDLER_PLL_RESET_EVENT PllResetCallback
InstancePtr | is a pointer to the XDpRxSs core instance. |
HandlerType | specifies the type of handler. |
CallbackFunc | is the address of the callback function. |
CallbackRef | is a user data item that will be passed to the callback function when it is invoked. |
References XDpRxSs::DpPtr, XDpRxSs::IsReady, XDpRxSs::LinkBwCallback, XDpRxSs::LinkBwRef, XDpRxSs::PllResetCallback, XDpRxSs::PllResetRef, XDpRxSs::UnplugCallback, XDpRxSs::UnplugRef, XDPRXSS_DRV_HANDLER_DP_NO_VID_EVENT, XDPRXSS_DRV_HANDLER_DP_PWR_CHG_EVENT, XDPRXSS_DRV_HANDLER_DP_VID_EVENT, XDPRXSS_HANDLER_ACCESS_ERROR_COUNTER_EVENT, XDPRXSS_HANDLER_ACCESS_LANE_SET_EVENT, XDPRXSS_HANDLER_ACCESS_LINK_QUAL_EVENT, XDPRXSS_HANDLER_DP_ACT_RX_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_SDP_STREAM_1_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_SDP_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_SDP_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_SDP_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_VBLANK_STREAM_1_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_VBLANK_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_VBLANK_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_ADAPTIVESYNC_VBLANK_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_AUD_OVRFLW_EVENT, XDPRXSS_HANDLER_DP_BW_CHG_EVENT, XDPRXSS_HANDLER_DP_CRC_TEST_EVENT, XDPRXSS_HANDLER_DP_DWN_REP_EVENT, XDPRXSS_HANDLER_DP_DWN_REQ_EVENT, XDPRXSS_HANDLER_DP_EXT_PKT_EVENT, XDPRXSS_HANDLER_DP_EXT_PKT_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_EXT_PKT_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_EXT_PKT_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_INFO_PKT_EVENT, XDPRXSS_HANDLER_DP_INFO_PKT_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_INFO_PKT_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_INFO_PKT_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_NO_VID_EVENT, XDPRXSS_HANDLER_DP_NO_VID_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_NO_VID_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_NO_VID_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_PAYLOAD_ALLOC_EVENT, XDPRXSS_HANDLER_DP_PWR_CHG_EVENT, XDPRXSS_HANDLER_DP_TDONE_EVENT, XDPRXSS_HANDLER_DP_TLOST_EVENT, XDPRXSS_HANDLER_DP_VBLANK_EVENT, XDPRXSS_HANDLER_DP_VBLANK_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_VBLANK_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_VBLANK_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_VID_EVENT, XDPRXSS_HANDLER_DP_VID_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_VID_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_VID_STREAM_4_EVENT, XDPRXSS_HANDLER_DP_VM_CHG_EVENT, XDPRXSS_HANDLER_DP_VM_CHG_STREAM_2_EVENT, XDPRXSS_HANDLER_DP_VM_CHG_STREAM_3_EVENT, XDPRXSS_HANDLER_DP_VM_CHG_STREAM_4_EVENT, XDPRXSS_HANDLER_LINKBW_EVENT, XDPRXSS_HANDLER_PLL_RESET_EVENT, and XDPRXSS_HANDLER_UNPLUG_EVENT.
Referenced by DpRxSs_SetupIntrSystem(), and XDpRxSs_CfgInitialize().
u32 XDpRxSs_SetLaneCount | ( | XDpRxSs * | InstancePtr, |
u8 | LaneCount | ||
) |
This function sets the number of lanes to be used by DisplayPort RX Subsystem core.
InstancePtr | is a pointer to the XDpRxSs instance. |
LaneCount | is the number of lanes to be used.
|
References XDpRxSs::DpPtr, XDpRxSs_UsrOpt::LaneCount, XDpRxSs::UsrOpt, XDPRXSS_LANE_COUNT_SET_1, XDPRXSS_LANE_COUNT_SET_2, and XDPRXSS_LANE_COUNT_SET_4.
Referenced by DpRxSs_DebugExample(), DpRxSs_HdcpExample(), DpRxSs_IntrExample(), DpRxSs_Main(), and DpRxSs_MstExample().
u32 XDpRxSs_SetLinkRate | ( | XDpRxSs * | InstancePtr, |
u8 | LinkRate | ||
) |
This function sets the data rate to be used by the DisplayPort RX Subsystem core.
InstancePtr | is a pointer to the XDpRxSs instance. |
LinkRate | is the rate at which link needs to be driven.
|
References XDpRxSs::DpPtr, XDpRxSs_UsrOpt::LinkRate, XDpRxSs::UsrOpt, XDPRXSS_LINK_BW_SET_162GBPS, XDPRXSS_LINK_BW_SET_270GBPS, XDPRXSS_LINK_BW_SET_540GBPS, and XDPRXSS_LINK_BW_SET_810GBPS.
Referenced by DpRxSs_DebugExample(), DpRxSs_HdcpExample(), DpRxSs_IntrExample(), DpRxSs_Main(), and DpRxSs_MstExample().
void XDpRxSs_SetUserPixelWidth | ( | XDpRxSs * | InstancePtr, |
u8 | UserPixelWidth | ||
) |
This function configures the number of pixels output through the user data interface.
InstancePtr | is a pointer to the XDpRxSs core instance. |
UserPixelWidth | is the user pixel width to be configured. |
References XDpRxSs::DpPtr.
void XDpRxSs_SetUserTimerHandler | ( | XDpRxSs * | InstancePtr, |
XDpRxSs_TimerHandler | CallbackFunc, | ||
void * | CallbackRef | ||
) |
This function installs a custom delay/sleep function to be used by the DisplayPort RX Subsystem.
InstancePtr | is a pointer to the XDpRxSs core instance. |
CallbackFunc | is the address to the callback function. |
CallbackRef | is the user data item (microseconds to delay) that will be passed to the custom sleep/delay function when it is invoked. |
References XDpRxSs::DpPtr.
Referenced by DpRxSs_SetupIntrSystem(), and DpRxSs_SetupTimerHandler().
u32 XDpRxSs_Start | ( | XDpRxSs * | InstancePtr | ) |
This function starts the DisplayPort Receiver Subsystem including all sub-cores.
InstancePtr | is a pointer to the XDpRxSs core instance. |
References XDpRxSs::DpPtr, XDpRxSs_UsrOpt::MstSupport, and XDpRxSs::UsrOpt.
Referenced by DpRxSs_DebugExample(), DpRxSs_HdcpExample(), DpRxSs_IntrExample(), DpRxSs_Main(), and DpRxSs_MstExample().
void XDpRxSs_UnMaskAdaptiveIntr | ( | XDpRxSs * | InstancePtr, |
u32 | Mask | ||
) |
This function unmasks Adaptive-Sync interrupt from DisplayPort RX Subsystem.
InstancePtr | is a pointer to the XDpRxSs instance. |
Interrupts | to unmask |
References XDpRxSs::DpPtr, XDpRxSs_ReadReg, and XDpRxSs_WriteReg.