PDK API Guide for J721E
dss_dctrl.h File Reference

Introduction

DSS Controller Driver API/interface file.

Go to the source code of this file.

Data Structures

struct  Dss_DctrlPathInfo
 Structure containing DSS path information. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_PATH. This IOCTL takes the array of edges connected between nodes. More...
 
struct  Dss_DctrlSyncOpCfg
 Structure containing DSS sync operations configuration. This structure is used as a part of Dss_DctrlVpParams. More...
 
struct  Dss_DctrlVpParams
 Structure containing Video Port information. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_VP_PARAMS. More...
 
struct  Dss_DctrlOverlayParams
 Structure containing Overlay information. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_OVERLAY_PARAMS. More...
 
struct  Dss_DctrlOverlayLayerParams
 Structure containing Overlay layer information. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_LAYER_PARAMS. More...
 
struct  Dss_DctrlVpCscCoeff
 Structure containing Video Port CSC information. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_VP_CSC_COEFF. More...
 
struct  Dss_DctrlAdvVpParams
 Structure containing advance Video Port information. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_ADV_VP_PARAMS. More...
 
struct  Dss_DctrlLcdBlankTimingParams
 Structure containing LCD Blank Timing Configuration. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_LCD_BLANK_TIMING_PARAMS. More...
 
struct  Dss_DctrlRegionSafetyChkCfg
 Structure containing Safety Check configuration for a particular region. More...
 
struct  Dss_DctrlVpSafetyCbData
 Structure containing safety error callback data. This structure is returned by the driver . More...
 
struct  Dss_DctrlVpSafetyChkParams
 Structure containing Safety Check configuration of Video Port. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_VP_SAFETY_CHK_PARAMS. More...
 
struct  Dss_DctrlVpErrorStats
 Structure containing Error Stats of Video Port. This structure is used as an argument to IOCTL_DSS_DCTRL_GET_VP_ERROR_STATS. More...
 
struct  Dss_DctrlGlobalDssParams
 Structure containing global DSS Configuration. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_GLOBAL_DSS_PARAMS. More...
 
struct  Dss_DctrlSyncLostCbParams
 Structure containing Sync Lost callback parameters. This structure is used as an argument to IOCTL_DSS_DCTRL_REGISTER_SYNCLOST_CB. More...
 
struct  Dss_DctrlLineNumCbParams
 Structure containing line number interrupt callback parameters. This structure is used as an argument to IOCTL_DSS_DCTRL_REGISTER_LINENUM_CB. More...
 
struct  Dss_DctrlDsiParams
 Structure containing DSI Output parameters. This structure is used as an argument to IOCTL_DSS_DCTRL_SET_DSI_PARAMS. More...
 

Macros

#define IOCTL_DSS_DCTRL_SET_PATH   (DSS_DCTRL_IOCTL_BASE + 0x01U)
 Command to set the DSS display path configuration. More...
 
#define IOCTL_DSS_DCTRL_CLEAR_PATH   (DSS_DCTRL_IOCTL_BASE + 0x02U)
 Command to clear the DSS display path configuration. More...
 
#define IOCTL_DSS_DCTRL_SET_VP_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x03U)
 Command to set Video Port configuration. More...
 
#define IOCTL_DSS_DCTRL_SET_OVERLAY_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x04U)
 Command to set configuration of the given overlay. More...
 
#define IOCTL_DSS_DCTRL_SET_LAYER_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x05U)
 Command to set layer/Z-order configuration of the given overlay. More...
 
#define IOCTL_DSS_DCTRL_SET_VP_CSC_COEFF   (DSS_DCTRL_IOCTL_BASE + 0x06U)
 Command to program the CSC coefficients for Video Port. By default BT 601 coefficients are set. More...
 
#define IOCTL_DSS_DCTRL_SET_ADV_VP_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x07U)
 Command to set advance Video Port configuration. More...
 
#define IOCTL_DSS_DCTRL_SET_LCD_BLANK_TIMING_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x08U)
 Command to program blank timing parameters of given LCD. More...
 
#define IOCTL_DSS_DCTRL_SET_VP_SAFETY_CHK_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x09U)
 Command to program Safety Check configuration at Video Port Output. More...
 
#define IOCTL_DSS_DCTRL_GET_VP_ERROR_STATS   (DSS_DCTRL_IOCTL_BASE + 0x0AU)
 IOCTL to get the number of errors for a given Video Port. More...
 
#define IOCTL_DSS_DCTRL_SET_GLOBAL_DSS_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x0BU)
 IOCTL to set the global DSS parameters. More...
 
#define IOCTL_DSS_DCTRL_STOP_VP   (DSS_DCTRL_IOCTL_BASE + 0x0CU)
 Command to disable Video Port. More...
 
#define IOCTL_DSS_DCTRL_REGISTER_SYNCLOST_CB   (DSS_DCTRL_IOCTL_BASE + 0x0DU)
 Command to register Video Port sync lost callback function. More...
 
#define IOCTL_DSS_DCTRL_REGISTER_LINENUM_CB   (DSS_DCTRL_IOCTL_BASE + 0x0EU)
 Command to register Video Port line number callback function. More...
 
#define IOCTL_DSS_DCTRL_SET_DSI_PARAMS   (DSS_DCTRL_IOCTL_BASE + 0x0FU)
 Command to set the DSI specific parameters. More...
 

Typedefs

typedef void(* Dss_DctrlSyncLostCbFxn) (uint32_t vpId, void *appData)
 Video Port sync loss callback function prototype. More...
 
typedef void(* Dss_DctrlSafetyErrCbFxn) (uint32_t vpId, Dss_DctrlVpSafetyCbData safetyCbData, void *appData)
 Video Port safety error callback function prototype. More...
 
typedef void(* Dss_DctrlLineNumCbFxn) (uint32_t vpId, void *appData)
 Video Port line number callback function prototype. More...
 

Functions

static void Dss_dctrlPathInfoInit (Dss_DctrlPathInfo *pathInfo)
 Dss_DctrlPathInfo structure init function. More...
 
static void Dss_dctrlVpParamsInit (Dss_DctrlVpParams *vpParams)
 Dss_DctrlVpParams structure init function. More...
 
static void Dss_dctrlOverlayParamsInit (Dss_DctrlOverlayParams *overlayParams)
 Dss_DctrlOverlayParams structure init function. More...
 
static void Dss_dctrlOverlayLayerParamsInit (Dss_DctrlOverlayLayerParams *layerParams)
 Dss_DctrlOverlayLayerParams structure init function. More...
 
static void Dss_dctrlAdvVpParamsInit (Dss_DctrlAdvVpParams *advVpParams)
 Dss_DctrlAdvVpParams structure init function. More...
 
static void Dss_dctrlLcdBlankTimingParamsInit (Dss_DctrlLcdBlankTimingParams *lcdBlankTimingParams)
 Dss_DctrlLcdBlankTimingParams structure init function. More...
 
static void Dss_dctrlRegionSafetyChkCfgInit (Dss_DctrlRegionSafetyChkCfg *regionSafetyChkCfg)
 Dss_DctrlRegionSafetyChkCfg structure init function. More...
 
static void Dss_dctrlVpSafetyCbDataInit (Dss_DctrlVpSafetyCbData *safetyCbData)
 Dss_DctrlVpSafetyCbData structure init function. More...
 
static void Dss_dctrlVpSafetyChkParamsInit (Dss_DctrlVpSafetyChkParams *vpSafetyChkParams)
 Dss_DctrlVpSafetyChkParams structure init function. More...
 
static void Dss_dctrlVpErrorStatsInit (Dss_DctrlVpErrorStats *vpErrorStats)
 Dss_DctrlVpErrorStats structure init function. More...
 
static void Dss_dctrlGlobalDssParamsInit (Dss_DctrlGlobalDssParams *globalDssParams)
 Dss_DctrlGlobalDssParams structure init function. More...
 
static void Dss_dctrlSyncLostCbParamsInit (Dss_DctrlSyncLostCbParams *syncLostCbParams)
 Dss_DctrlSyncLostCbParams structure init function. More...
 
static void Dss_dctrlLineNumCbParamsInit (Dss_DctrlLineNumCbParams *lineNumCbParams)
 Dss_DctrlLineNumCbParams structure init function. More...
 
static void Dss_DctrlSyncOpCfgInit (Dss_DctrlSyncOpCfg *syncOpCfg)