Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/gpio.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/platform_data/video-msm_fb.h>
Go to the source code of this file.
Data Structures | |
struct | panel_info |
Macros | |
#define | LCD_CONTROL_BLOCK_BASE 0x110000 |
#define | CMN (LCD_CONTROL_BLOCK_BASE|0x10) |
#define | INTFLG (LCD_CONTROL_BLOCK_BASE|0x18) |
#define | HCYCLE (LCD_CONTROL_BLOCK_BASE|0x34) |
#define | HDE_START (LCD_CONTROL_BLOCK_BASE|0x3C) |
#define | VPOS (LCD_CONTROL_BLOCK_BASE|0xC0) |
#define | MPLFBUF (LCD_CONTROL_BLOCK_BASE|0x20) |
#define | WAKEUP (LCD_CONTROL_BLOCK_BASE|0x54) |
#define | WSYN_DLY (LCD_CONTROL_BLOCK_BASE|0x58) |
#define | REGENB (LCD_CONTROL_BLOCK_BASE|0x5C) |
#define | BASE5 0x150000 |
#define | BASE6 0x160000 |
#define | BASE7 0x170000 |
#define | GPIOIEV (BASE5 + 0x10) |
#define | GPIOIE (BASE5 + 0x14) |
#define | GPIORIS (BASE5 + 0x18) |
#define | GPIOMIS (BASE5 + 0x1C) |
#define | GPIOIC (BASE5 + 0x20) |
#define | INTMASK (BASE6 + 0x0C) |
#define | INTMASK_VWAKEOUT (1U << 0) |
#define | INTMASK_VWAKEOUT_ACTIVE_LOW (1U << 8) |
#define | GPIOSEL (BASE7 + 0x00) |
#define | GPIOSEL_VWAKEINT (1U << 0) |
Functions | |
irqreturn_t | toshiba_vsync_interrupt (int irq, void *data) |
module_init (mddi_client_toshiba_init) | |
#define BASE5 0x150000 |
Definition at line 39 of file mddi_client_toshiba.c.
#define BASE6 0x160000 |
Definition at line 40 of file mddi_client_toshiba.c.
#define BASE7 0x170000 |
Definition at line 41 of file mddi_client_toshiba.c.
#define CMN (LCD_CONTROL_BLOCK_BASE|0x10) |
Definition at line 29 of file mddi_client_toshiba.c.
#define GPIOIC (BASE5 + 0x20) |
Definition at line 47 of file mddi_client_toshiba.c.
#define GPIOIE (BASE5 + 0x14) |
Definition at line 44 of file mddi_client_toshiba.c.
#define GPIOIEV (BASE5 + 0x10) |
Definition at line 43 of file mddi_client_toshiba.c.
#define GPIOMIS (BASE5 + 0x1C) |
Definition at line 46 of file mddi_client_toshiba.c.
#define GPIORIS (BASE5 + 0x18) |
Definition at line 45 of file mddi_client_toshiba.c.
#define GPIOSEL (BASE7 + 0x00) |
Definition at line 52 of file mddi_client_toshiba.c.
#define GPIOSEL_VWAKEINT (1U << 0) |
Definition at line 53 of file mddi_client_toshiba.c.
#define HCYCLE (LCD_CONTROL_BLOCK_BASE|0x34) |
Definition at line 31 of file mddi_client_toshiba.c.
#define HDE_START (LCD_CONTROL_BLOCK_BASE|0x3C) |
Definition at line 32 of file mddi_client_toshiba.c.
#define INTFLG (LCD_CONTROL_BLOCK_BASE|0x18) |
Definition at line 30 of file mddi_client_toshiba.c.
#define INTMASK (BASE6 + 0x0C) |
Definition at line 49 of file mddi_client_toshiba.c.
#define INTMASK_VWAKEOUT (1U << 0) |
Definition at line 50 of file mddi_client_toshiba.c.
#define INTMASK_VWAKEOUT_ACTIVE_LOW (1U << 8) |
Definition at line 51 of file mddi_client_toshiba.c.
#define LCD_CONTROL_BLOCK_BASE 0x110000 |
Definition at line 28 of file mddi_client_toshiba.c.
#define MPLFBUF (LCD_CONTROL_BLOCK_BASE|0x20) |
Definition at line 34 of file mddi_client_toshiba.c.
#define REGENB (LCD_CONTROL_BLOCK_BASE|0x5C) |
Definition at line 37 of file mddi_client_toshiba.c.
#define VPOS (LCD_CONTROL_BLOCK_BASE|0xC0) |
Definition at line 33 of file mddi_client_toshiba.c.
#define WAKEUP (LCD_CONTROL_BLOCK_BASE|0x54) |
Definition at line 35 of file mddi_client_toshiba.c.
#define WSYN_DLY (LCD_CONTROL_BLOCK_BASE|0x58) |
Definition at line 36 of file mddi_client_toshiba.c.
module_init | ( | mddi_client_toshiba_init | ) |
irqreturn_t toshiba_vsync_interrupt | ( | int | irq, |
void * | data | ||
) |
Definition at line 165 of file mddi_client_toshiba.c.