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

Go to the source code of this file.

Data Structures

struct  omapfb_mem_region
 
struct  omapfb_mem_desc
 
struct  lcd_panel
 
struct  extif_timings
 
struct  lcd_ctrl_extif
 
struct  omapfb_notifier_block
 
struct  lcd_ctrl
 
struct  omapfb_plane_struct
 
struct  omapfb_device
 

Macros

#define OMAPFB_EVENT_READY   1
 
#define OMAPFB_EVENT_DISABLED   2
 
#define OMAP_LCDC_INV_VSYNC   0x0001
 
#define OMAP_LCDC_INV_HSYNC   0x0002
 
#define OMAP_LCDC_INV_PIX_CLOCK   0x0004
 
#define OMAP_LCDC_INV_OUTPUT_EN   0x0008
 
#define OMAP_LCDC_HSVS_RISING_EDGE   0x0010
 
#define OMAP_LCDC_HSVS_OPPOSITE   0x0020
 
#define OMAP_LCDC_SIGNAL_MASK   0x003f
 
#define OMAP_LCDC_PANEL_TFT   0x0100
 
#define OMAPFB_PLANE_XRES_MIN   8
 
#define OMAPFB_PLANE_YRES_MIN   8
 
#define OMAPFB_PLANE_NUM   1
 

Typedefs

typedef int(* omapfb_notifier_callback_t )(struct notifier_block *, unsigned long event, void *fbi)
 

Enumerations

enum  omapfb_state { OMAPFB_DISABLED = 0, OMAPFB_SUSPENDED = 99, OMAPFB_ACTIVE = 100 }
 

Functions

void omapfb_register_panel (struct lcd_panel *panel)
 
void omapfb_write_first_pixel (struct omapfb_device *fbdev, u16 pixval)
 
void omapfb_notify_clients (struct omapfb_device *fbdev, unsigned long event)
 
int omapfb_register_client (struct omapfb_notifier_block *nb, omapfb_notifier_callback_t callback, void *callback_data)
 
int omapfb_unregister_client (struct omapfb_notifier_block *nb)
 
int omapfb_update_window_async (struct fb_info *fbi, struct omapfb_update_window *win, void(*callback)(void *), void *callback_data)
 

Variables

struct lcd_ctrl omap1_lcd_ctrl
 

Macro Definition Documentation

#define OMAP_LCDC_HSVS_OPPOSITE   0x0020

Definition at line 39 of file omapfb.h.

#define OMAP_LCDC_HSVS_RISING_EDGE   0x0010

Definition at line 38 of file omapfb.h.

#define OMAP_LCDC_INV_HSYNC   0x0002

Definition at line 35 of file omapfb.h.

#define OMAP_LCDC_INV_OUTPUT_EN   0x0008

Definition at line 37 of file omapfb.h.

#define OMAP_LCDC_INV_PIX_CLOCK   0x0004

Definition at line 36 of file omapfb.h.

#define OMAP_LCDC_INV_VSYNC   0x0001

Definition at line 34 of file omapfb.h.

#define OMAP_LCDC_PANEL_TFT   0x0100

Definition at line 43 of file omapfb.h.

#define OMAP_LCDC_SIGNAL_MASK   0x003f

Definition at line 41 of file omapfb.h.

#define OMAPFB_EVENT_DISABLED   2

Definition at line 32 of file omapfb.h.

#define OMAPFB_EVENT_READY   1

Definition at line 31 of file omapfb.h.

#define OMAPFB_PLANE_NUM   1

Definition at line 50 of file omapfb.h.

#define OMAPFB_PLANE_XRES_MIN   8

Definition at line 45 of file omapfb.h.

#define OMAPFB_PLANE_YRES_MIN   8

Definition at line 46 of file omapfb.h.

Typedef Documentation

typedef int(* omapfb_notifier_callback_t)(struct notifier_block *, unsigned long event, void *fbi)

Definition at line 150 of file omapfb.h.

Enumeration Type Documentation

Enumerator:
OMAPFB_DISABLED 
OMAPFB_SUSPENDED 
OMAPFB_ACTIVE 

Definition at line 195 of file omapfb.h.

Function Documentation

void omapfb_notify_clients ( struct omapfb_device fbdev,
unsigned long  event 
)

Definition at line 1015 of file omapfb_main.c.

int omapfb_register_client ( struct omapfb_notifier_block nb,
omapfb_notifier_callback_t  callback,
void callback_data 
)

Definition at line 977 of file omapfb_main.c.

void omapfb_register_panel ( struct lcd_panel panel)

Definition at line 1816 of file omapfb_main.c.

int omapfb_unregister_client ( struct omapfb_notifier_block nb)

Definition at line 1008 of file omapfb_main.c.

int omapfb_update_window_async ( struct fb_info fbi,
struct omapfb_update_window win,
void(*)(void *)  callback,
void callback_data 
)

Definition at line 709 of file omapfb_main.c.

void omapfb_write_first_pixel ( struct omapfb_device fbdev,
u16  pixval 
)

Definition at line 1061 of file omapfb_main.c.

Variable Documentation

struct lcd_ctrl omap1_lcd_ctrl