Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tdfxfb.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/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <video/tdfx.h>

Go to the source code of this file.

Macros

#define DPRINTK(a, b...)   pr_debug("fb: %s: " a, __func__ , ## b)
 
#define MTRR_TYPE_WRCOMB   1
 
#define BANSHEE_MAX_PIXCLOCK   270000
 
#define VOODOO3_MAX_PIXCLOCK   300000
 
#define VOODOO5_MAX_PIXCLOCK   350000
 
#define CNVT_TOHW(val, width)   ((((val) << (width)) + 0x7FFF - (val)) >> 16)
 

Functions

 MODULE_DEVICE_TABLE (pci, tdfxfb_id_table)
 
 MODULE_AUTHOR ("Hannu Mallat <[email protected]>")
 
 MODULE_DESCRIPTION ("3Dfx framebuffer device driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param (hwcursor, int, 0644)
 
 MODULE_PARM_DESC (hwcursor,"Enable hardware cursor ""(1=enable, 0=disable, default=1)")
 
 module_param (mode_option, charp, 0)
 
 MODULE_PARM_DESC (mode_option,"Initial video mode e.g. '648x480-8@60'")
 
 module_init (tdfxfb_init)
 
 module_exit (tdfxfb_exit)
 

Macro Definition Documentation

#define BANSHEE_MAX_PIXCLOCK   270000

Definition at line 99 of file tdfxfb.c.

#define CNVT_TOHW (   val,
  width 
)    ((((val) << (width)) + 0x7FFF - (val)) >> 16)

Definition at line 756 of file tdfxfb.c.

#define DPRINTK (   a,
  b... 
)    pr_debug("fb: %s: " a, __func__ , ## b)

Definition at line 79 of file tdfxfb.c.

#define MTRR_TYPE_WRCOMB   1

Definition at line 85 of file tdfxfb.c.

#define VOODOO3_MAX_PIXCLOCK   300000

Definition at line 100 of file tdfxfb.c.

#define VOODOO5_MAX_PIXCLOCK   350000

Definition at line 101 of file tdfxfb.c.

Function Documentation

MODULE_AUTHOR ( "Hannu Mallat <[email protected]>"  )
MODULE_DESCRIPTION ( "3Dfx framebuffer device driver"  )
MODULE_DEVICE_TABLE ( pci  ,
tdfxfb_id_table   
)
module_exit ( tdfxfb_exit  )
module_init ( tdfxfb_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( hwcursor  ,
int  ,
0644   
)
module_param ( mode_option  ,
charp  ,
 
)
MODULE_PARM_DESC ( hwcursor  ,
"Enable hardware cursor ""(1=enable, 0=disable, default=1)"   
)
MODULE_PARM_DESC ( mode_option  ,
"Initial video mode e.g. '648x480-8@60'"   
)