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

Go to the source code of this file.

Data Structures

struct  offb_par
 

Macros

#define AVIVO_DC_LUT_RW_SELECT   0x6480
 
#define AVIVO_DC_LUT_RW_MODE   0x6484
 
#define AVIVO_DC_LUT_RW_INDEX   0x6488
 
#define AVIVO_DC_LUT_SEQ_COLOR   0x648c
 
#define AVIVO_DC_LUT_PWL_DATA   0x6490
 
#define AVIVO_DC_LUT_30_COLOR   0x6494
 
#define AVIVO_DC_LUT_READ_PIPE_SELECT   0x6498
 
#define AVIVO_DC_LUT_WRITE_EN_MASK   0x649c
 
#define AVIVO_DC_LUT_AUTOFILL   0x64a0
 
#define AVIVO_DC_LUTA_CONTROL   0x64c0
 
#define AVIVO_DC_LUTA_BLACK_OFFSET_BLUE   0x64c4
 
#define AVIVO_DC_LUTA_BLACK_OFFSET_GREEN   0x64c8
 
#define AVIVO_DC_LUTA_BLACK_OFFSET_RED   0x64cc
 
#define AVIVO_DC_LUTA_WHITE_OFFSET_BLUE   0x64d0
 
#define AVIVO_DC_LUTA_WHITE_OFFSET_GREEN   0x64d4
 
#define AVIVO_DC_LUTA_WHITE_OFFSET_RED   0x64d8
 
#define AVIVO_DC_LUTB_CONTROL   0x6cc0
 
#define AVIVO_DC_LUTB_BLACK_OFFSET_BLUE   0x6cc4
 
#define AVIVO_DC_LUTB_BLACK_OFFSET_GREEN   0x6cc8
 
#define AVIVO_DC_LUTB_BLACK_OFFSET_RED   0x6ccc
 
#define AVIVO_DC_LUTB_WHITE_OFFSET_BLUE   0x6cd0
 
#define AVIVO_DC_LUTB_WHITE_OFFSET_GREEN   0x6cd4
 
#define AVIVO_DC_LUTB_WHITE_OFFSET_RED   0x6cd8
 

Enumerations

enum  {
  cmap_unknown, cmap_simple, cmap_r128, cmap_M3A,
  cmap_M3B, cmap_radeon, cmap_gxt2000, cmap_avivo,
  cmap_qemu
}
 

Functions

 module_init (offb_init)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct offb_par default_par
 

Macro Definition Documentation

#define AVIVO_DC_LUT_30_COLOR   0x6494

Definition at line 73 of file offb.c.

#define AVIVO_DC_LUT_AUTOFILL   0x64a0

Definition at line 76 of file offb.c.

#define AVIVO_DC_LUT_PWL_DATA   0x6490

Definition at line 72 of file offb.c.

#define AVIVO_DC_LUT_READ_PIPE_SELECT   0x6498

Definition at line 74 of file offb.c.

#define AVIVO_DC_LUT_RW_INDEX   0x6488

Definition at line 70 of file offb.c.

#define AVIVO_DC_LUT_RW_MODE   0x6484

Definition at line 69 of file offb.c.

#define AVIVO_DC_LUT_RW_SELECT   0x6480

Definition at line 68 of file offb.c.

#define AVIVO_DC_LUT_SEQ_COLOR   0x648c

Definition at line 71 of file offb.c.

#define AVIVO_DC_LUT_WRITE_EN_MASK   0x649c

Definition at line 75 of file offb.c.

#define AVIVO_DC_LUTA_BLACK_OFFSET_BLUE   0x64c4

Definition at line 79 of file offb.c.

#define AVIVO_DC_LUTA_BLACK_OFFSET_GREEN   0x64c8

Definition at line 80 of file offb.c.

#define AVIVO_DC_LUTA_BLACK_OFFSET_RED   0x64cc

Definition at line 81 of file offb.c.

#define AVIVO_DC_LUTA_CONTROL   0x64c0

Definition at line 78 of file offb.c.

#define AVIVO_DC_LUTA_WHITE_OFFSET_BLUE   0x64d0

Definition at line 82 of file offb.c.

#define AVIVO_DC_LUTA_WHITE_OFFSET_GREEN   0x64d4

Definition at line 83 of file offb.c.

#define AVIVO_DC_LUTA_WHITE_OFFSET_RED   0x64d8

Definition at line 84 of file offb.c.

#define AVIVO_DC_LUTB_BLACK_OFFSET_BLUE   0x6cc4

Definition at line 87 of file offb.c.

#define AVIVO_DC_LUTB_BLACK_OFFSET_GREEN   0x6cc8

Definition at line 88 of file offb.c.

#define AVIVO_DC_LUTB_BLACK_OFFSET_RED   0x6ccc

Definition at line 89 of file offb.c.

#define AVIVO_DC_LUTB_CONTROL   0x6cc0

Definition at line 86 of file offb.c.

#define AVIVO_DC_LUTB_WHITE_OFFSET_BLUE   0x6cd0

Definition at line 90 of file offb.c.

#define AVIVO_DC_LUTB_WHITE_OFFSET_GREEN   0x6cd4

Definition at line 91 of file offb.c.

#define AVIVO_DC_LUTB_WHITE_OFFSET_RED   0x6cd8

Definition at line 92 of file offb.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
cmap_unknown 
cmap_simple 
cmap_r128 
cmap_M3A 
cmap_M3B 
cmap_radeon 
cmap_gxt2000 
cmap_avivo 
cmap_qemu 

Definition at line 42 of file offb.c.

Function Documentation

module_init ( offb_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct offb_par default_par

Definition at line 61 of file offb.c.