Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pm3fb.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <video/pm3fb.h>

Go to the source code of this file.

Data Structures

struct  pm3_par
 

Macros

#define DPRINTK(a, b...)
 
#define PM3_PIXMAP_SIZE   (2048 * 4)
 
#define CNVT_TOHW(val, width)   ((((val) << (width)) + 0x7FFF - (val)) >> 16)
 

Functions

 MODULE_DEVICE_TABLE (pci, pm3fb_id_table)
 
 module_init (pm3fb_init)
 
 module_param (mode_option, charp, 0)
 
 MODULE_PARM_DESC (mode_option,"Initial video mode e.g. '648x480-8@60'")
 
 module_param (noaccel, bool, 0)
 
 MODULE_PARM_DESC (noaccel,"Disable acceleration")
 
 module_param (hwcursor, int, 0644)
 
 MODULE_PARM_DESC (hwcursor,"Enable hardware cursor ""(1=enable, 0=disable, default=1)")
 
 MODULE_DESCRIPTION ("Permedia3 framebuffer device driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CNVT_TOHW (   val,
  width 
)    ((((val) << (width)) + 0x7FFF - (val)) >> 16)
#define DPRINTK (   a,
  b... 
)

Definition at line 50 of file pm3fb.c.

#define PM3_PIXMAP_SIZE   (2048 * 4)

Definition at line 53 of file pm3fb.c.

Function Documentation

MODULE_DESCRIPTION ( "Permedia3 framebuffer device driver )
MODULE_DEVICE_TABLE ( pci  ,
pm3fb_id_table   
)
module_init ( pm3fb_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( mode_option  ,
charp  ,
 
)
module_param ( noaccel  ,
bool  ,
 
)
module_param ( hwcursor  ,
int  ,
0644   
)
MODULE_PARM_DESC ( mode_option  ,
"Initial video mode e.g. '648x480-8@60'"   
)
MODULE_PARM_DESC ( noaccel  ,
"Disable acceleration"   
)
MODULE_PARM_DESC ( hwcursor  ,
"Enable hardware cursor ""(1=enable, 0=disable, default=1)"   
)