#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/fb.h>
#include <linux/mm.h>
#include <linux/of_device.h>
#include <asm/io.h>
#include <asm/fbio.h>
#include "sbuslib.h"
Go to the source code of this file.
#define CG3_CR_DIVISOR_MASK 0x03 |
Definition at line 62 of file cg3.c.
#define CG3_CR_ENABLE_CURCMP 0x10 |
Definition at line 60 of file cg3.c.
#define CG3_CR_ENABLE_INTS 0x80 |
Definition at line 57 of file cg3.c.
#define CG3_CR_ENABLE_TIMING 0x20 |
Definition at line 59 of file cg3.c.
#define CG3_CR_ENABLE_VIDEO 0x40 |
Definition at line 58 of file cg3.c.
#define CG3_CR_XTAL_MASK 0x0c |
Definition at line 61 of file cg3.c.
#define CG3_FLAG_BLANKED 0x00000001 |
#define CG3_FLAG_RDI 0x00000002 |
#define CG3_RAM_OFFSET 0x800000UL |
#define CG3_REGS_OFFSET 0x400000UL |
#define CG3_SR_1152_900_76_A 0x40 |
Definition at line 67 of file cg3.c.
#define CG3_SR_1152_900_76_B 0x60 |
Definition at line 68 of file cg3.c.
#define CG3_SR_ID_COLOR 0x01 |
Definition at line 70 of file cg3.c.
#define CG3_SR_ID_MASK 0x0f |
Definition at line 69 of file cg3.c.
#define CG3_SR_ID_MONO 0x02 |
Definition at line 71 of file cg3.c.
#define CG3_SR_ID_MONO_ECL 0x03 |
Definition at line 72 of file cg3.c.
#define CG3_SR_PENDING_INT 0x80 |
Definition at line 65 of file cg3.c.
#define CG3_SR_RES_MASK 0x70 |
Definition at line 66 of file cg3.c.
#define D4M3 |
( |
|
x | ) |
((((x)>>2)<<1) + ((x)>>2)) /* (x/4)*3 */ |
#define D4M4 |
( |
|
x | ) |
((x)&~0x3) /* (x/4)*4 */ |
- Enumerator:
CG3_AT_66HZ |
|
CG3_AT_76HZ |
|
CG3_RDI |
|
Definition at line 74 of file cg3.c.
MODULE_DESCRIPTION |
( |
"framebuffer driver for CGthree chipsets" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
cg3_match |
|
|
) |
| |