Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
macfb.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/delay.h>
#include <linux/nubus.h>
#include <linux/init.h>
#include <linux/fb.h>
#include <asm/setup.h>
#include <asm/bootinfo.h>
#include <asm/macintosh.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  mdc_cmap_regs
 
struct  toby_cmap_regs
 
struct  jet_cmap_regs
 

Macros

#define DAC_BASE   0x50f24000
 
#define DAFB_BASE   0xf9800200
 
#define CIVIC_BASE   0x50f30800
 
#define GSC_BASE   0x50F20000
 
#define CSC_BASE   0x50F20000
 
#define PIXEL_TO_MM(a)   (((a)*10)/28) /* width in mm at 72 dpi */
 

Functions

 module_init (macfb_init)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CIVIC_BASE   0x50f30800

Definition at line 48 of file macfb.c.

#define CSC_BASE   0x50F20000

Definition at line 54 of file macfb.c.

#define DAC_BASE   0x50f24000

Definition at line 42 of file macfb.c.

#define DAFB_BASE   0xf9800200

Definition at line 45 of file macfb.c.

#define GSC_BASE   0x50F20000

Definition at line 51 of file macfb.c.

#define PIXEL_TO_MM (   a)    (((a)*10)/28) /* width in mm at 72 dpi */

Definition at line 121 of file macfb.c.

Function Documentation

module_init ( macfb_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

unsigned char addr

Definition at line 61 of file macfb.c.

unsigned char clut_data

Definition at line 95 of file macfb.c.

unsigned char clut_raddr

Definition at line 97 of file macfb.c.

unsigned char clut_waddr

Definition at line 93 of file macfb.c.

unsigned char cntl

Definition at line 70 of file macfb.c.

unsigned char lut

Definition at line 62 of file macfb.c.

char pad1[0x40]

Definition at line 67 of file macfb.c.

char pad2

Definition at line 69 of file macfb.c.

char pad3[0x3]

Definition at line 86 of file macfb.c.

unsigned long reset

Definition at line 74 of file macfb.c.

unsigned char status

Definition at line 85 of file macfb.c.

unsigned int status2

Definition at line 88 of file macfb.c.

unsigned long vbl_addr

Definition at line 87 of file macfb.c.