Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
controlfb.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/vmalloc.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/nvram.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/pgtable.h>
#include <asm/btext.h>
#include "macmodes.h"
#include "controlfb.h"

Go to the source code of this file.

Data Structures

struct  fb_par_control
 
struct  fb_info_control
 

Macros

#define DIRTY(z)   ((x)->z != (y)->z)
 
#define DIRTY_CMAP(z)   (memcmp(&((x)->z), &((y)->z), sizeof((y)->z)))
 
#define CNTRL_REG(INFO, REG)   (&(((INFO)->control_regs->REG).r))
 
#define RADACAL_WRITE(a, d)
 
#define CONTROL_PIXCLOCK_BASE   256016
 
#define CONTROL_PIXCLOCK_MIN   5000 /* ~ 200 MHz dot clock */
 

Functions

 module_init (control_init)
 

Macro Definition Documentation

#define CNTRL_REG (   INFO,
  REG 
)    (&(((INFO)->control_regs->REG).r))

Definition at line 119 of file controlfb.c.

#define CONTROL_PIXCLOCK_BASE   256016

Definition at line 793 of file controlfb.c.

#define CONTROL_PIXCLOCK_MIN   5000 /* ~ 200 MHz dot clock */

Definition at line 794 of file controlfb.c.

#define DIRTY (   z)    ((x)->z != (y)->z)

Definition at line 70 of file controlfb.c.

#define DIRTY_CMAP (   z)    (memcmp(&((x)->z), &((y)->z), sizeof((y)->z)))

Definition at line 71 of file controlfb.c.

#define RADACAL_WRITE (   a,
  d 
)
Value:
out_8(&p->cmap_regs->addr, (a)); \
out_8(&p->cmap_regs->dat, (d))

Definition at line 490 of file controlfb.c.

Function Documentation

module_init ( control_init  )