Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
p9100.c File Reference
#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.

Data Structures

struct  p9100_regs
 
struct  p9100_cmd_parameng
 
struct  p9100_par
 

Macros

#define P9100_SYSCTL_OFF   0x0UL
 
#define P9100_VIDEOCTL_OFF   0x100UL
 
#define P9100_VRAMCTL_OFF   0x180UL
 
#define P9100_RAMDAC_OFF   0x200UL
 
#define P9100_VIDEOCOPROC_OFF   0x400UL
 
#define P9100_CMD_OFF   0x0UL
 
#define P9100_FB_OFF   0x0UL
 
#define SYS_CONFIG_PIXELSIZE_SHIFT   26
 
#define SCREENPAINT_TIMECTL1_ENABLE_VIDEO   0x20 /* 0 = off, 1 = on */
 
#define P9100_FLAG_BLANKED   0x00000001
 

Functions

 MODULE_DEVICE_TABLE (of, p9100_match)
 
 module_init (p9100_init)
 
 module_exit (p9100_exit)
 
 MODULE_DESCRIPTION ("framebuffer driver for P9100 chipsets")
 
 MODULE_AUTHOR ("David S. Miller <[email protected]>")
 
 MODULE_VERSION ("2.0")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define P9100_CMD_OFF   0x0UL

Definition at line 61 of file p9100.c.

#define P9100_FB_OFF   0x0UL

Definition at line 64 of file p9100.c.

#define P9100_FLAG_BLANKED   0x00000001

Definition at line 134 of file p9100.c.

#define P9100_RAMDAC_OFF   0x200UL

Definition at line 57 of file p9100.c.

#define P9100_SYSCTL_OFF   0x0UL

Definition at line 54 of file p9100.c.

#define P9100_VIDEOCOPROC_OFF   0x400UL

Definition at line 58 of file p9100.c.

#define P9100_VIDEOCTL_OFF   0x100UL

Definition at line 55 of file p9100.c.

#define P9100_VRAMCTL_OFF   0x180UL

Definition at line 56 of file p9100.c.

#define SCREENPAINT_TIMECTL1_ENABLE_VIDEO   0x20 /* 0 = off, 1 = on */

Definition at line 69 of file p9100.c.

#define SYS_CONFIG_PIXELSIZE_SHIFT   26

Definition at line 67 of file p9100.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller <[email protected]>"  )
MODULE_DESCRIPTION ( "framebuffer driver for P9100 chipsets"  )
MODULE_DEVICE_TABLE ( of  ,
p9100_match   
)
module_exit ( p9100_exit  )
module_init ( p9100_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.0"  )