Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
omapfb_main.c File Reference
#include <linux/platform_device.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/module.h>
#include <plat/dma.h>
#include "omapfb.h"
#include "lcdc.h"

Go to the source code of this file.

Data Structures

struct  caps_table_struct
 

Macros

#define MODULE_NAME   "omapfb"
 
#define _C(x)   (fbdev->ctrl->x != NULL)
 
#define _P(x)   (fbdev->panel->x != NULL)
 

Functions

int omapfb_update_window_async (struct fb_info *fbi, struct omapfb_update_window *win, void(*callback)(void *), void *callback_data)
 
 EXPORT_SYMBOL (omapfb_update_window_async)
 
int omapfb_register_client (struct omapfb_notifier_block *omapfb_nb, omapfb_notifier_callback_t callback, void *callback_data)
 
 EXPORT_SYMBOL (omapfb_register_client)
 
int omapfb_unregister_client (struct omapfb_notifier_block *omapfb_nb)
 
 EXPORT_SYMBOL (omapfb_unregister_client)
 
void omapfb_notify_clients (struct omapfb_device *fbdev, unsigned long event)
 
 EXPORT_SYMBOL (omapfb_notify_clients)
 
void omapfb_write_first_pixel (struct omapfb_device *fbdev, u16 pixval)
 
 EXPORT_SYMBOL (omapfb_write_first_pixel)
 
void omapfb_register_panel (struct lcd_panel *panel)
 
 module_param_named (accel, def_accel, uint, 0664)
 
 module_param_array_named (vram, def_vram, ulong,&def_vram_cnt, 0664)
 
 module_param_named (vxres, def_vxres, long, 0664)
 
 module_param_named (vyres, def_vyres, long, 0664)
 
 module_param_named (rotate, def_rotate, uint, 0664)
 
 module_param_named (mirror, def_mirror, uint, 0664)
 
 module_param_named (manual_update, manual_update, bool, 0664)
 
 module_init (omapfb_init)
 
 module_exit (omapfb_cleanup)
 
 MODULE_DESCRIPTION ("TI OMAP framebuffer driver")
 
 MODULE_AUTHOR ("Imre Deak <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct lcd_ctrl hwa742_ctrl
 

Macro Definition Documentation

#define _C (   x)    (fbdev->ctrl->x != NULL)
#define _P (   x)    (fbdev->panel->x != NULL)
#define MODULE_NAME   "omapfb"

Definition at line 38 of file omapfb_main.c.

Function Documentation

EXPORT_SYMBOL ( omapfb_update_window_async  )
EXPORT_SYMBOL ( omapfb_register_client  )
EXPORT_SYMBOL ( omapfb_unregister_client  )
EXPORT_SYMBOL ( omapfb_notify_clients  )
EXPORT_SYMBOL ( omapfb_write_first_pixel  )
MODULE_AUTHOR ( "Imre Deak <[email protected]>"  )
MODULE_DESCRIPTION ( "TI OMAP framebuffer driver )
module_exit ( omapfb_cleanup  )
module_init ( omapfb_init  )
MODULE_LICENSE ( "GPL"  )
module_param_array_named ( vram  ,
def_vram  ,
ulong  ,
def_vram_cnt,
0664   
)
module_param_named ( accel  ,
def_accel  ,
uint  ,
0664   
)
module_param_named ( vxres  ,
def_vxres  ,
long  ,
0664   
)
module_param_named ( vyres  ,
def_vyres  ,
long  ,
0664   
)
module_param_named ( rotate  ,
def_rotate  ,
uint  ,
0664   
)
module_param_named ( mirror  ,
def_mirror  ,
uint  ,
0664   
)
module_param_named ( manual_update  ,
manual_update  ,
bool  ,
0664   
)
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 omapfb_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 omapfb_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 hwa742_ctrl

Definition at line 138 of file hwa742.c.