Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
omapfb-main.c File Reference
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/fb.h>
#include <linux/dma-mapping.h>
#include <linux/vmalloc.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/omapfb.h>
#include <video/omapdss.h>
#include <plat/cpu.h>
#include <plat/vram.h>
#include <plat/vrfb.h>
#include "omapfb.h"

Go to the source code of this file.

Macros

#define MODULE_NAME   "omapfb"
 
#define OMAPFB_PLANE_XRES_MIN   8
 
#define OMAPFB_PLANE_YRES_MIN   8
 

Functions

 module_param (auto_update, bool, 0)
 
 module_param (auto_update_freq, uint, 0644)
 
int dss_mode_to_fb_mode (enum omap_color_mode dssmode, struct fb_var_screeninfo *var)
 
void set_fb_fix (struct fb_info *fbi)
 
int check_fb_var (struct fb_info *fbi, 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)
 
int omapfb_apply_changes (struct fb_info *fbi, int init)
 
int omapfb_realloc_fbmem (struct fb_info *fbi, unsigned long size, int type)
 
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)
 
 module_param_named (mode, def_mode, charp, 0)
 
 module_param_named (vram, def_vram, charp, 0)
 
 module_param_named (rotate, def_rotate, int, 0)
 
 module_param_named (vrfb, def_vrfb, bool, 0)
 
 module_param_named (mirror, def_mirror, bool, 0)
 
 late_initcall (omapfb_init)
 
 module_exit (omapfb_exit)
 
 MODULE_AUTHOR ("Tomi Valkeinen <[email protected]>")
 
 MODULE_DESCRIPTION ("OMAP2/3 Framebuffer")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define MODULE_NAME   "omapfb"

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

#define OMAPFB_PLANE_XRES_MIN   8

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

#define OMAPFB_PLANE_YRES_MIN   8

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

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.

late_initcall ( omapfb_init  )
MODULE_AUTHOR ( "Tomi Valkeinen <[email protected]>"  )
MODULE_DESCRIPTION ( "OMAP2/3 Framebuffer"  )
module_exit ( omapfb_exit  )
MODULE_LICENSE ( "GPL v2 )
module_param ( auto_update  ,
bool  ,
 
)
module_param ( auto_update_freq  ,
uint  ,
0644   
)
module_param_named ( mode  ,
def_mode  ,
charp  ,
 
)
module_param_named ( vram  ,
def_vram  ,
charp  ,
 
)
module_param_named ( rotate  ,
def_rotate  ,
int  ,
 
)
module_param_named ( vrfb  ,
def_vrfb  ,
bool  ,
 
)
module_param_named ( mirror  ,
def_mirror  ,
bool  ,
 
)
int omapfb_apply_changes ( struct fb_info fbi,
int  init 
)

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

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

Definition at line 1610 of file omapfb-main.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.

void set_fb_fix ( struct fb_info fbi)

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