Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/spinlock.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/sched.h>
#include <linux/platform_data/video-msm_fb.h>
#include "mddi_hw.h"
Go to the source code of this file.
Data Structures | |
union | mddi_rev |
struct | reg_read_info |
struct | mddi_info |
Macros | |
#define | FLAG_DISABLE_HIBERNATION 0x0001 |
#define | FLAG_HAVE_CAPS 0x0002 |
#define | FLAG_HAS_VSYNC_IRQ 0x0004 |
#define | FLAG_HAVE_STATUS 0x0008 |
#define | CMD_GET_CLIENT_CAP 0x0601 |
#define | CMD_GET_CLIENT_STATUS 0x0602 |
#define | mddi_readl(r) readl(mddi->base + (MDDI_##r)) |
#define | mddi_writel(v, r) writel((v), mddi->base + (MDDI_##r)) |
Functions | |
void | mddi_activate_link (struct msm_mddi_client_data *cdata) |
void | mddi_set_auto_hibernate (struct msm_mddi_client_data *cdata, int on) |
int | mddi_check_status (struct mddi_info *mddi) |
void | mddi_remote_write (struct msm_mddi_client_data *cdata, uint32_t val, uint32_t reg) |
uint32_t | mddi_remote_read (struct msm_mddi_client_data *cdata, uint32_t reg) |
module_init (_mddi_init) | |
Variables | |
union mddi_rev | __attribute__ |
void mddi_activate_link | ( | struct msm_mddi_client_data * | cdata | ) |
uint32_t mddi_remote_read | ( | struct msm_mddi_client_data * | cdata, |
uint32_t | reg | ||
) |
void mddi_remote_write | ( | struct msm_mddi_client_data * | cdata, |
uint32_t | val, | ||
uint32_t | reg | ||
) |
void mddi_set_auto_hibernate | ( | struct msm_mddi_client_data * | cdata, |
int | on | ||
) |
module_init | ( | _mddi_init | ) |
union mddi_rev __attribute__ |