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

Go to the source code of this file.

Data Structures

struct  omapfb2_mem_region
 
struct  omapfb_info
 
struct  omapfb_display_data
 
struct  omapfb2_device
 
struct  omapfb_colormode
 

Macros

#define DBG(format,...)
 
#define FB2OFB(fb_info)   ((struct omapfb_info *)(fb_info->par))
 
#define OMAPFB_MAX_OVL_PER_FB   3
 

Functions

void set_fb_fix (struct fb_info *fbi)
 
int check_fb_var (struct fb_info *fbi, struct fb_var_screeninfo *var)
 
int omapfb_realloc_fbmem (struct fb_info *fbi, unsigned long size, int type)
 
int omapfb_apply_changes (struct fb_info *fbi, int init)
 
int omapfb_create_sysfs (struct omapfb2_device *fbdev)
 
void omapfb_remove_sysfs (struct omapfb2_device *fbdev)
 
int omapfb_ioctl (struct fb_info *fbi, unsigned int cmd, unsigned long arg)
 
int omapfb_update_window (struct fb_info *fbi, u32 x, u32 y, u32 w, u32 h)
 
int dss_mode_to_fb_mode (enum omap_color_mode dssmode, struct fb_var_screeninfo *var)
 
int omapfb_setup_overlay (struct fb_info *fbi, struct omap_overlay *ovl, u16 posx, u16 posy, u16 outw, u16 outh)
 
void omapfb_start_auto_update (struct omapfb2_device *fbdev, struct omap_dss_device *display)
 
void omapfb_stop_auto_update (struct omapfb2_device *fbdev, struct omap_dss_device *display)
 
int omapfb_get_update_mode (struct fb_info *fbi, enum omapfb_update_mode *mode)
 
int omapfb_set_update_mode (struct fb_info *fbi, enum omapfb_update_mode mode)
 

Macro Definition Documentation

#define DBG (   format,
  ... 
)

Definition at line 42 of file omapfb.h.

#define FB2OFB (   fb_info)    ((struct omapfb_info *)(fb_info->par))

Definition at line 45 of file omapfb.h.

#define OMAPFB_MAX_OVL_PER_FB   3

Definition at line 48 of file omapfb.h.

Function Documentation

int check_fb_var ( struct fb_info fbi,
struct fb_var_screeninfo var 
)

Definition at line 667 of file omapfb-main.c.

int dss_mode_to_fb_mode ( enum omap_color_mode  dssmode,
struct fb_var_screeninfo var 
)

Definition at line 588 of file omapfb-main.c.

int omapfb_apply_changes ( struct fb_info fbi,
int  init 
)

Definition at line 938 of file omapfb-main.c.

int omapfb_create_sysfs ( struct omapfb2_device fbdev)

Definition at line 567 of file omapfb-sysfs.c.

int omapfb_get_update_mode ( struct fb_info fbi,
enum omapfb_update_mode mode 
)

Definition at line 366 of file omapfb-ioctl.c.

int omapfb_ioctl ( struct fb_info fbi,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 597 of file omapfb-ioctl.c.

int omapfb_realloc_fbmem ( struct fb_info fbi,
unsigned long  size,
int  type 
)

Definition at line 1610 of file omapfb-main.c.

void omapfb_remove_sysfs ( struct omapfb2_device fbdev)

Definition at line 590 of file omapfb-sysfs.c.

int omapfb_set_update_mode ( struct fb_info fbi,
enum omapfb_update_mode  mode 
)

Definition at line 323 of file omapfb-ioctl.c.

int omapfb_setup_overlay ( struct fb_info fbi,
struct omap_overlay ovl,
u16  posx,
u16  posy,
u16  outw,
u16  outh 
)

Definition at line 844 of file omapfb-main.c.

void omapfb_start_auto_update ( struct omapfb2_device fbdev,
struct omap_dss_device display 
)

Definition at line 1720 of file omapfb-main.c.

void omapfb_stop_auto_update ( struct omapfb2_device fbdev,
struct omap_dss_device display 
)

Definition at line 1748 of file omapfb-main.c.

int omapfb_update_window ( struct fb_info fbi,
u32  x,
u32  y,
u32  w,
u32  h 
)

Definition at line 303 of file omapfb-ioctl.c.

void set_fb_fix ( struct fb_info fbi)

Definition at line 603 of file omapfb-main.c.