Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pm2fb.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.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/permedia2.h>
#include <video/cvisionppc.h>

Go to the source code of this file.

Data Structures

struct  pm2fb_par
 

Macros

#define DPRINTK(a, b...)
 
#define PM2_PIXMAP_SIZE   (1600 * 4)
 
#define PACKPP(p0, p1, p2)   (((p2) << 6) | ((p1) << 3) | (p0))
 
#define CNVT_TOHW(val, width)   ((((val) << (width)) + 0x7FFF -(val)) >> 16)
 

Functions

 MODULE_DEVICE_TABLE (pci, pm2fb_id_table)
 
 module_init (pm2fb_init)
 

Macro Definition Documentation

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

Definition at line 61 of file pm2fb.c.

#define PACKPP (   p0,
  p1,
  p2 
)    (((p2) << 6) | ((p1) << 3) | (p0))

Definition at line 204 of file pm2fb.c.

#define PM2_PIXMAP_SIZE   (1600 * 4)

Definition at line 64 of file pm2fb.c.

Function Documentation

MODULE_DEVICE_TABLE ( pci  ,
pm2fb_id_table   
)
module_init ( pm2fb_init  )

Variable Documentation

u16 pp

Definition at line 207 of file pm2fb.c.

u16 width

Definition at line 206 of file pm2fb.c.