Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mdfld_dsi_pkg_sender.h File Reference
#include <linux/kthread.h>

Go to the source code of this file.

Data Structures

struct  mdfld_dsi_pkg_sender
 

Macros

#define MDFLD_MAX_DCS_PARAM   8
 
#define DCS_SOFT_RESET   0x01
 
#define DCS_ENTER_SLEEP_MODE   0x10
 
#define DCS_EXIT_SLEEP_MODE   0x11
 
#define DCS_SET_DISPLAY_OFF   0x28
 
#define DCS_SET_DISPLAY_ON   0x29
 
#define DCS_SET_COLUMN_ADDRESS   0x2a
 
#define DCS_SET_PAGE_ADDRESS   0x2b
 
#define DCS_WRITE_MEM_START   0x2c
 
#define DCS_SET_TEAR_OFF   0x34
 
#define DCS_SET_TEAR_ON   0x35
 

Functions

int mdfld_dsi_pkg_sender_init (struct mdfld_dsi_connector *dsi_connector, int pipe)
 
void mdfld_dsi_pkg_sender_destroy (struct mdfld_dsi_pkg_sender *sender)
 
int mdfld_dsi_send_mcs_short (struct mdfld_dsi_pkg_sender *sender, u8 cmd, u8 param, u8 param_num, bool hs)
 
int mdfld_dsi_send_mcs_long (struct mdfld_dsi_pkg_sender *sender, u8 *data, u32 len, bool hs)
 
int mdfld_dsi_send_gen_short (struct mdfld_dsi_pkg_sender *sender, u8 param0, u8 param1, u8 param_num, bool hs)
 
int mdfld_dsi_send_gen_long (struct mdfld_dsi_pkg_sender *sender, u8 *data, u32 len, bool hs)
 
int mdfld_dsi_read_mcs (struct mdfld_dsi_pkg_sender *sender, u8 cmd, u32 *data, u16 len, bool hs)
 

Macro Definition Documentation

#define DCS_ENTER_SLEEP_MODE   0x10

Definition at line 67 of file mdfld_dsi_pkg_sender.h.

#define DCS_EXIT_SLEEP_MODE   0x11

Definition at line 68 of file mdfld_dsi_pkg_sender.h.

#define DCS_SET_COLUMN_ADDRESS   0x2a

Definition at line 71 of file mdfld_dsi_pkg_sender.h.

#define DCS_SET_DISPLAY_OFF   0x28

Definition at line 69 of file mdfld_dsi_pkg_sender.h.

#define DCS_SET_DISPLAY_ON   0x29

Definition at line 70 of file mdfld_dsi_pkg_sender.h.

#define DCS_SET_PAGE_ADDRESS   0x2b

Definition at line 72 of file mdfld_dsi_pkg_sender.h.

#define DCS_SET_TEAR_OFF   0x34

Definition at line 74 of file mdfld_dsi_pkg_sender.h.

#define DCS_SET_TEAR_ON   0x35

Definition at line 75 of file mdfld_dsi_pkg_sender.h.

#define DCS_SOFT_RESET   0x01

Definition at line 66 of file mdfld_dsi_pkg_sender.h.

#define DCS_WRITE_MEM_START   0x2c

Definition at line 73 of file mdfld_dsi_pkg_sender.h.

#define MDFLD_MAX_DCS_PARAM   8

Definition at line 31 of file mdfld_dsi_pkg_sender.h.

Function Documentation

void mdfld_dsi_pkg_sender_destroy ( struct mdfld_dsi_pkg_sender sender)

Definition at line 679 of file mdfld_dsi_pkg_sender.c.

int mdfld_dsi_pkg_sender_init ( struct mdfld_dsi_connector dsi_connector,
int  pipe 
)

For video mode, don't enable DPI timing output here, will init the DPI timing output during mode setting.

Definition at line 601 of file mdfld_dsi_pkg_sender.c.

int mdfld_dsi_read_mcs ( struct mdfld_dsi_pkg_sender sender,
u8  cmd,
u32 data,
u16  len,
bool  hs 
)

Definition at line 589 of file mdfld_dsi_pkg_sender.c.

int mdfld_dsi_send_gen_long ( struct mdfld_dsi_pkg_sender sender,
u8 data,
u32  len,
bool  hs 
)

Definition at line 515 of file mdfld_dsi_pkg_sender.c.

int mdfld_dsi_send_gen_short ( struct mdfld_dsi_pkg_sender sender,
u8  param0,
u8  param1,
u8  param_num,
bool  hs 
)

Definition at line 478 of file mdfld_dsi_pkg_sender.c.

int mdfld_dsi_send_mcs_long ( struct mdfld_dsi_pkg_sender sender,
u8 data,
u32  len,
bool  hs 
)

Definition at line 432 of file mdfld_dsi_pkg_sender.c.

int mdfld_dsi_send_mcs_short ( struct mdfld_dsi_pkg_sender sender,
u8  cmd,
u8  param,
u8  param_num,
bool  hs 
)

Definition at line 449 of file mdfld_dsi_pkg_sender.c.