Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
lcdc.c File Reference
#include <linux/module.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/err.h>
#include <linux/mm.h>
#include <linux/fb.h>
#include <linux/dma-mapping.h>
#include <linux/vmalloc.h>
#include <linux/clk.h>
#include <linux/gfp.h>
#include <mach/lcdc.h>
#include <plat/dma.h>
#include <asm/mach-types.h>
#include "omapfb.h"
#include "lcdc.h"

Go to the source code of this file.

Data Structures

struct  omap_lcd_controller
 

Macros

#define MODULE_NAME   "lcdc"
 
#define MAX_PALETTE_SIZE   PAGE_SIZE
 

Enumerations

enum  lcdc_load_mode { OMAP_LCDC_LOAD_PALETTE, OMAP_LCDC_LOAD_FRAME, OMAP_LCDC_LOAD_PALETTE_AND_FRAME }
 

Functions

int omap_lcdc_set_dma_callback (void(*callback)(void *data), void *data)
 
 EXPORT_SYMBOL (omap_lcdc_set_dma_callback)
 
void omap_lcdc_free_dma_callback (void)
 
 EXPORT_SYMBOL (omap_lcdc_free_dma_callback)
 

Variables

struct lcd_ctrl omap1_int_ctrl
 

Macro Definition Documentation

#define MAX_PALETTE_SIZE   PAGE_SIZE

Definition at line 44 of file lcdc.c.

#define MODULE_NAME   "lcdc"

Definition at line 42 of file lcdc.c.

Enumeration Type Documentation

Enumerator:
OMAP_LCDC_LOAD_PALETTE 
OMAP_LCDC_LOAD_FRAME 
OMAP_LCDC_LOAD_PALETTE_AND_FRAME 

Definition at line 46 of file lcdc.c.

Function Documentation

EXPORT_SYMBOL ( omap_lcdc_set_dma_callback  )
EXPORT_SYMBOL ( omap_lcdc_free_dma_callback  )
void omap_lcdc_free_dma_callback ( void  )

Definition at line 602 of file lcdc.c.

int omap_lcdc_set_dma_callback ( void(*)(void *data callback,
void data 
)

Definition at line 588 of file lcdc.c.

Variable Documentation

struct lcd_ctrl omap1_int_ctrl
Initial value:
= {
.name = "internal",
.init = omap_lcdc_init,
.cleanup = omap_lcdc_cleanup,
.get_caps = omap_lcdc_get_caps,
.set_update_mode = omap_lcdc_set_update_mode,
.get_update_mode = omap_lcdc_get_update_mode,
.update_window = NULL,
.suspend = omap_lcdc_suspend,
.resume = omap_lcdc_resume,
.setup_plane = omap_lcdc_setup_plane,
.enable_plane = omap_lcdc_enable_plane,
.setcolreg = omap_lcdc_setcolreg,
}

Definition at line 843 of file lcdc.c.