dsitxss
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
xdsitxss.h File Reference
#include "xil_types.h"
#include "xdsi.h"
#include "xparameters.h"

Data Structures

struct  DsiTxSsSubCore
 Sub-core configuration information structure. More...
 
struct  XDsiTxSs_Config
 MIPI DSI Tx Subsystem configuration structure. More...
 
struct  XDsiTxSs
 The XDsiTxSs driver instance data. More...
 

Typedefs

typedef void(* XDsiTxSs_Callback )(void *CallbackRef, u32 Mask)
 Callback type for all interrupts defined. More...
 

Enumerations

enum  XDsiSS_Selection { XDSITXSS_DISABLE = 0, XDSITXSS_ENABLE = 1 }
 DSI TX Subsystem enable/disable selection enumeration. More...
 
enum  XDsiSS_Subcore { XDSITXSS_DSI = 0, XDSITXSS_PHY = 1 }
 DSI TX Subsystem sub-core selection enumeration. More...
 

Functions

XDsiTxSs_ConfigXDsiTxSs_LookupConfig (UINTPTR BaseAddress)
 This function looks for the device configuration based on the unique device ID. More...
 
u32 XDsiTxSs_GetDrvIndex (XDsiTxSs *InstancePtr, UINTPTR BaseAddress)
 This function returns the Index number of config table using BaseAddress. More...
 
s32 XDsiTxSs_CfgInitialize (XDsiTxSs *InstancePtr, XDsiTxSs_Config *CfgPtr, UINTPTR EffectiveAddr)
 This function initializes the MIPI DSI TX subsystem and included sub-cores. More...
 
u32 XDsiTxSs_DefaultConfigure (XDsiTxSs *InstancePtr)
 This function is used to configure the DSI default parameters that are to be handled by the application. More...
 
int XDsiTxSs_Activate (XDsiTxSs *InstancePtr, XDsiSS_Subcore core, u8 Flag)
 This function is used to activate the DSI Subsystem. More...
 
void XDsiTxSs_Reset (XDsiTxSs *InstancePtr)
 This function is used to reset the DSI Subsystem. More...
 
void XDsiTxSs_ReportCoreInfo (XDsiTxSs *InstancePtr)
 This function reports list of cores included in DSI TX Subsystem. More...
 
u32 XDsiTxSs_SelfTest (XDsiTxSs *InstancePtr)
 This function performs self test on MIPI DSI Tx Subsystem sub-cores. More...
 
void XDsiTxSs_SendShortPacket (XDsiTxSs *InstancePtr)
 This function will send the short packet to controller Generic Short Packet Register and fill up the structure passed from caller. More...
 
int XDsiTxSs_SetDSIMode (XDsiTxSs *InstancePtr, XDsi_DsiModeType mode)
 
int XDsiTxSs_SendCmdModePacket (XDsiTxSs *InstancePtr)
 
void XDsiTxSs_GetConfigParams (XDsiTxSs *InstancePtr)
 This function will get the information from the GUI settings. More...
 
u32 XDsiTxSs_IsControllerReady (XDsiTxSs *InstancePtr)
 This function will get the information from the GUI settings. More...
 
u32 XDsiTxSs_GetPixelFormat (XDsiTxSs *InstancePtr)
 This function is used to get pixel format. More...
 
u32 XDsiTxSs_GetCmdQVacancy (XDsiTxSs *InstancePtr)
 This function is used to get Command queue Vacancy. More...
 
s32 XDsiTxSs_SetVideoInterfaceTiming (XDsiTxSs *InstancePtr, XDsi_VideoMode VideoMode, XVidC_VideoMode Resolution, u16 BurstPacketSize)
 This function Set Timing mode and Resolution. More...
 
s32 XDsiTxSs_SetCustomVideoInterfaceTiming (XDsiTxSs *InstancePtr, XDsi_VideoMode VideoMode, XDsi_VideoTiming *Timing)
 This function Set Timning mode and Resolution as per user inputs. More...
 
u32 XDsiTxSs_SetCallback (XDsiTxSs *InstancePtr, u32 HandlerType, void *CallbackFunc, void *CallbackRef)
 This routine installs an asynchronous callback function for the given HandlerType: More...
 
void XDsiTxSs_IntrHandler (void *InstancePtr)
 This function is the interrupt handler for the MIPI DSI Tx Subsystem. More...