hdcp22_rx_dp
Vitis Drivers API Documentation
xhdcp22_rx_dp.c File Reference

Functions

int XHdcp22Rx_Dp_CfgInitialize (XHdcp22_Rx_Dp *InstancePtr, XHdcp22_Rx_Dp_Config *ConfigPtr, UINTPTR EffectiveAddr)
 Initialize the instance provided by the caller based on the given configuration data. More...
 
int XHdcp22Rx_Dp_Reset (XHdcp22_Rx_Dp *InstancePtr)
 This function resets the HDCP22-RX system to the default state. More...
 
int XHdcp22Rx_Dp_Enable (XHdcp22_Rx_Dp *InstancePtr)
 This function enables the HDCP22-RX state machine. More...
 
int XHdcp22Rx_Dp_Disable (XHdcp22_Rx_Dp *InstancePtr)
 This function disables the HDCP22-RX state machine. More...
 
int XHdcp22Rx_Dp_SetCallback (XHdcp22_Rx_Dp *InstancePtr, XHdcp22_Rx_Dp_HandlerType HandlerType, void *CallbackFunc, void *CallbackRef)
 This function installs callback functions for the given HandlerType: More...
 
int XHdcp22Rx_Dp_Poll (XHdcp22_Rx_Dp *InstancePtr)
 This function executes the HDCP22-RX state machine. More...
 
u8 XHdcp22Rx_Dp_IsEnabled (XHdcp22_Rx_Dp *InstancePtr)
 This function checks if the HDCP22-RX state machine is enabled. More...
 
u8 XHdcp22Rx_Dp_IsEncryptionEnabled (XHdcp22_Rx_Dp *InstancePtr)
 This function checks if the HDCP22-RX cipher encryption is enabled. More...
 
u8 XHdcp22Rx_Dp_IsInProgress (XHdcp22_Rx_Dp *InstancePtr)
 This function checks if the HDCP22-RX state machine is enabled but not yet in the Authenticated state. More...
 
u8 XHdcp22Rx_Dp_IsAuthenticated (XHdcp22_Rx_Dp *InstancePtr)
 This function checks if the HDCP22-RX state machine is in the Authenticated state. More...
 
u8 XHdcp22Rx_Dp_IsError (XHdcp22_Rx_Dp *InstancePtr)
 This function checks if the HDCP22-RX state machine has detected an error condition. More...
 
u8 XHdcp22Rx_Dp_IsRepeater (XHdcp22_Rx_Dp *InstancePtr)
 This function returns the current repeater mode status. More...
 
void XHdcp22Rx_Dp_SetRepeater (XHdcp22_Rx_Dp *InstancePtr, u8 Set)
 This function sets the repeater mode status. More...
 
void XHdcp22Rx_Dp_SetLinkError (XHdcp22_Rx_Dp *InstancePtr)
 This function is called when 50 consecutive data island ECC errors are detected indicating a link integrity problem. More...
 
void XHdcp22Rx_Dp_SetDdcError (XHdcp22_Rx_Dp *InstancePtr)
 This function is called when a DDC read/write burst stops prior to completing the expected message size. More...
 
void XHdcp22Rx_Dp_SetWriteMessageAvailable (XHdcp22_Rx_Dp *InstancePtr)
 This function is called when a complete message is available in the write message buffer. More...
 
void XHdcp22Rx_Dp_SetReadMessageComplete (XHdcp22_Rx_Dp *InstancePtr)
 This function is called when a message has been read out of the read message buffer. More...
 
void XHdcp22Rx_Dp_LoadLc128 (XHdcp22_Rx_Dp *InstancePtr, const u8 *Lc128Ptr)
 This function is used to load the Lc128 value by copying the contents of the array referenced by Lc128Ptr into the cipher. More...
 
void XHdcp22Rx_Dp_LoadPublicCert (XHdcp22_Rx_Dp *InstancePtr, const u8 *PublicCertPtr)
 This function is used to load the public certificate. More...
 
int XHdcp22Rx_Dp_LoadPrivateKey (XHdcp22_Rx_Dp *InstancePtr, const u8 *PrivateKeyPtr)
 This function is used to load the private key. More...
 
u32 XHdcp22Rx_Dp_GetVersion (XHdcp22_Rx_Dp *InstancePtr)
 This function reads the version. More...
 
XTmrCtr * XHdcp22Rx_Dp_GetTimer (XHdcp22_Rx_Dp *InstancePtr)
 This function returns the pointer to the internal timer control instance needed for connecting the timer interrupt to an interrupt controller. More...
 
void XHdcp22Rx_Dp_SetTopology (XHdcp22_Rx_Dp *InstancePtr, const XHdcp22_Rx_Dp_Topology *TopologyPtr)
 This function copies a complete repeater topology table into the instance repeater topology table. More...
 
void XHdcp22Rx_Dp_SetTopologyReceiverIdList (XHdcp22_Rx_Dp *InstancePtr, const u8 *ListPtr, u32 ListSize)
 This function copies the RECEIVER_ID_LIST into the repeater topology table. More...
 
void XHdcp22Rx_Dp_SetTopologyField (XHdcp22_Rx_Dp *InstancePtr, XHdcp22_Rx_Dp_TopologyField Field, u8 Value)
 This function is used to set various fields inside the topology structure. More...
 
void XHdcp22Rx_Dp_SetTopologyUpdate (XHdcp22_Rx_Dp *InstancePtr)
 This function is used to indicate that the topology table has been updated and is ready for upstream propagation. More...
 
u8 XHdcp22Rx_Dp_GetContentStreamType (XHdcp22_Rx_Dp *InstancePtr)
 This function is gets the type information received from the RepeaterAuth_Stream_Manage message for downstream propagation of management information. More...
 
void XHdcp22Rx_Dp_TimerHandler (void *CallbackRef, u8 TmrCntNumber)
 This function handles timer interrupts. More...
 
void XHdcp22Rx_Dp_LogReset (XHdcp22_Rx_Dp *InstancePtr, u8 Verbose)
 This function clears the log pointers. More...
 
u32 XHdcp22Rx_Dp_LogGetTimeUSecs (XHdcp22_Rx_Dp *InstancePtr)
 This function returns the time expired since a log reset was called. More...
 
void XHdcp22Rx_Dp_LogWr (XHdcp22_Rx_Dp *InstancePtr, u16 Evt, u16 Data)
 This function writes HDCP22-RX log event into buffer. More...
 
XHdcp22_Rx_Dp_LogItemXHdcp22Rx_Dp_LogRd (XHdcp22_Rx_Dp *InstancePtr)
 This function provides the log information from the log buffer. More...
 
void XHdcp22Rx_Dp_LogDisplay (XHdcp22_Rx_Dp *InstancePtr)
 This function prints the contents of the log buffer. More...
 
void XHdcp22Rx_Dp_Info (XHdcp22_Rx_Dp *InstancePtr)
 This function prints the state machine information. More...
 
void XHdcp22Rx_Dp_SetDpcdMsgRdWrtAvailable (XHdcp22_Rx_Dp *InstancePtr, u32 type)
 This function is to set the DPCD flag if any DPCD read/write interrupts occurred. More...
 
void XHdcp22Rx_Dp_SetHdcp22OverProtocol (XHdcp22_Rx_Dp *InstancePtr, XHdcp22_Rx_Dp_Protocol protocol)
 This function is to set the protocol (HDMI/DP) over which HDCP22 is happening. More...
 
void XHdcp22_Dp_timer_attach (XHdcp22_Rx_Dp *InstancePtr, XTmrCtr *TmrCtrPtr)
 This function is to attache the HDCP22 timer instance to DP RX subsystem's timer. More...
 
void XHdcp22_Dp_RxSetLaneCount (XHdcp22_Rx_Dp *InstancePtr, u8 LaneCount)
 This function set the lane count of an hdcp22 interface. More...
 
u32 XHdcp22_Dp_RxSetRxCaps (XHdcp22_Rx_Dp *InstancePtr, u8 enable)
 This function sets the Rx_Caps in DPCD. More...
 
void XHdcp22_Dp_RxSetStreamType (XHdcp22_Rx_Dp *InstancePtr)
 This function sets Stream Type. More...
 
void XHdcp22_Dp_RxSetReauthReq (XHdcp22_Rx_Dp *InstancePtr)
 This function sets Reauth Request for upstream device. More...