coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mipi_dsi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIPI_DSI_MRPS   0x04 /* Maximum Return Packet Size */
 
#define MIPI_DSI_REG_LEN   16 /* 4 x 4 bytes register */
 
#define DSI_VIDEO_DST_FORMAT_RGB565   0
 
#define DSI_VIDEO_DST_FORMAT_RGB666   1
 
#define DSI_VIDEO_DST_FORMAT_RGB666_LOOSE   2
 
#define DSI_VIDEO_DST_FORMAT_RGB888   3
 

Enumerations

enum  { DSI_VIDEO_MODE , DSI_CMD_MODE }
 

Functions

enum cb_err mdss_dsi_config (struct edid *edid, uint32_t num_of_lanes, uint32_t bpp)
 
void mdss_dsi_clock_config (void)
 
void mdss_dsi_video_mode_config (struct edid *edid, uint32_t bpp)
 
enum cb_err mdss_dsi_panel_initialize (const u8 *init_cmds)
 

Macro Definition Documentation

◆ DSI_VIDEO_DST_FORMAT_RGB565

#define DSI_VIDEO_DST_FORMAT_RGB565   0

Definition at line 12 of file mipi_dsi.h.

◆ DSI_VIDEO_DST_FORMAT_RGB666

#define DSI_VIDEO_DST_FORMAT_RGB666   1

Definition at line 13 of file mipi_dsi.h.

◆ DSI_VIDEO_DST_FORMAT_RGB666_LOOSE

#define DSI_VIDEO_DST_FORMAT_RGB666_LOOSE   2

Definition at line 14 of file mipi_dsi.h.

◆ DSI_VIDEO_DST_FORMAT_RGB888

#define DSI_VIDEO_DST_FORMAT_RGB888   3

Definition at line 15 of file mipi_dsi.h.

◆ MIPI_DSI_MRPS

#define MIPI_DSI_MRPS   0x04 /* Maximum Return Packet Size */

Definition at line 9 of file mipi_dsi.h.

◆ MIPI_DSI_REG_LEN

#define MIPI_DSI_REG_LEN   16 /* 4 x 4 bytes register */

Definition at line 10 of file mipi_dsi.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DSI_VIDEO_MODE 
DSI_CMD_MODE 

Definition at line 17 of file mipi_dsi.h.

Function Documentation

◆ mdss_dsi_clock_config()

void mdss_dsi_clock_config ( void  )

Definition at line 154 of file dsi.c.

References dsi_regs::clk_ctrl, dsi0, DSI_AHBM_SCLK_ON, DSI_AHBS_HCLK_ON, DSI_BYTECLK_ON, DSI_DSICLK_ON, DSI_ESCCLK_ON, DSI_FORCE_ON_DYN_AHBM_HCLK, DSI_PCLK_ON, setbits32, and write32().

Referenced by mdss_dsi_host_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mdss_dsi_config()

◆ mdss_dsi_panel_initialize()

enum cb_err mdss_dsi_panel_initialize ( const u8 init_cmds)

Definition at line 270 of file dsi.c.

◆ mdss_dsi_video_mode_config()

void mdss_dsi_video_mode_config ( struct edid edid,
uint32_t  bpp 
)

Definition at line 99 of file dsi.c.