Linux Kernel
3.7.1
|
#include <linux/freezer.h>
#include "mdfld_dsi_output.h"
#include "mdfld_dsi_pkg_sender.h"
#include "mdfld_dsi_dpi.h"
Go to the source code of this file.
Macros | |
#define | MDFLD_DSI_READ_MAX_COUNT 5000 |
Enumerations | |
enum | data_type { DSI_DT_GENERIC_SHORT_WRITE_0 = 0x03, DSI_DT_GENERIC_SHORT_WRITE_1 = 0x13, DSI_DT_GENERIC_SHORT_WRITE_2 = 0x23, DSI_DT_GENERIC_READ_0 = 0x04, DSI_DT_GENERIC_READ_1 = 0x14, DSI_DT_GENERIC_READ_2 = 0x24, DSI_DT_GENERIC_LONG_WRITE = 0x29, DSI_DT_DCS_SHORT_WRITE_0 = 0x05, DSI_DT_DCS_SHORT_WRITE_1 = 0x15, DSI_DT_DCS_READ = 0x06, DSI_DT_DCS_LONG_WRITE = 0x39 } |
enum | { MDFLD_DSI_PANEL_MODE_SLEEP = 0x1 } |
enum | { MDFLD_DSI_PKG_SENDER_FREE = 0x0, MDFLD_DSI_PKG_SENDER_BUSY = 0x1 } |
Functions | |
int | mdfld_dsi_send_mcs_long (struct mdfld_dsi_pkg_sender *sender, u8 *data, u32 len, bool hs) |
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_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) |
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) |
#define MDFLD_DSI_READ_MAX_COUNT 5000 |
Definition at line 33 of file mdfld_dsi_pkg_sender.c.
anonymous enum |
Definition at line 49 of file mdfld_dsi_pkg_sender.c.
anonymous enum |
Definition at line 53 of file mdfld_dsi_pkg_sender.c.
enum data_type |
Definition at line 35 of file mdfld_dsi_pkg_sender.c.
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.
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.
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.