Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tgafb.c File Reference
#include <linux/bitrev.h>
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/selection.h>
#include <linux/string.h>
#include <linux/tc.h>
#include <asm/io.h>
#include <video/tgafb.h>

Go to the source code of this file.

Macros

#define TGA_BUS_PCI(dev)   0
 
#define TGA_BUS_TC(dev)   0
 
#define DIFFCHECK(X)
 

Functions

 module_init (tgafb_init)
 
 module_exit (tgafb_exit)
 
 MODULE_DESCRIPTION ("Framebuffer driver for TGA/SFB+ chipset")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DIFFCHECK (   X)
Value:
do { \
if (m <= 0x3f) { \
int delta = f - (TGA_PLL_BASE_FREQ * (X)) / (r << shift); \
if (delta < 0) \
delta = -delta; \
if (delta < min_diff) \
min_diff = delta, vm = m, va = a, vr = r; \
} \
} while (0)

Definition at line 422 of file tgafb.c.

#define TGA_BUS_PCI (   dev)    0

Definition at line 38 of file tgafb.c.

#define TGA_BUS_TC (   dev)    0

Definition at line 44 of file tgafb.c.

Function Documentation

MODULE_DESCRIPTION ( "Framebuffer driver for TGA/SFB+ chipset )
module_exit ( tgafb_exit  )
module_init ( tgafb_init  )
MODULE_LICENSE ( "GPL"  )