Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sunxvr500.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fb.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/of_device.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  e3d_info
 

Macros

#define RAMDAC_VID_WH   0x00000070UL /* (height-1)<<16 | (width-1) */
 
#define RAMDAC_VID_CFG   0x00000074UL /* 0x1a000088|(linesz_log2<<16) */
 
#define RAMDAC_VID_32FB_0   0x00000078UL /* PCI base 32bpp FB buffer 0 */
 
#define RAMDAC_VID_32FB_1   0x0000007cUL /* PCI base 32bpp FB buffer 1 */
 
#define RAMDAC_VID_8FB_0   0x00000080UL /* PCI base 8bpp FB buffer 0 */
 
#define RAMDAC_VID_8FB_1   0x00000084UL /* PCI base 8bpp FB buffer 1 */
 
#define RAMDAC_VID_XXXFB   0x00000088UL /* PCI base of XXX FB */
 
#define RAMDAC_VID_YYYFB   0x0000008cUL /* PCI base of YYY FB */
 
#define RAMDAC_VID_ZZZFB   0x00000090UL /* PCI base of ZZZ FB */
 
#define RAMDAC_INDEX   0x000000bcUL
 
#define RAMDAC_DATA   0x000000c0UL
 

Functions

 module_init (e3d_init)
 
 module_exit (e3d_exit)
 
 MODULE_DESCRIPTION ("framebuffer driver for Sun XVR-500 graphics")
 
 MODULE_AUTHOR ("David S. Miller <[email protected]>")
 
 MODULE_VERSION ("1.0")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define RAMDAC_DATA   0x000000c0UL

Definition at line 95 of file sunxvr500.c.

#define RAMDAC_INDEX   0x000000bcUL

Definition at line 94 of file sunxvr500.c.

#define RAMDAC_VID_32FB_0   0x00000078UL /* PCI base 32bpp FB buffer 0 */

Definition at line 85 of file sunxvr500.c.

#define RAMDAC_VID_32FB_1   0x0000007cUL /* PCI base 32bpp FB buffer 1 */

Definition at line 86 of file sunxvr500.c.

#define RAMDAC_VID_8FB_0   0x00000080UL /* PCI base 8bpp FB buffer 0 */

Definition at line 87 of file sunxvr500.c.

#define RAMDAC_VID_8FB_1   0x00000084UL /* PCI base 8bpp FB buffer 1 */

Definition at line 88 of file sunxvr500.c.

#define RAMDAC_VID_CFG   0x00000074UL /* 0x1a000088|(linesz_log2<<16) */

Definition at line 84 of file sunxvr500.c.

#define RAMDAC_VID_WH   0x00000070UL /* (height-1)<<16 | (width-1) */

Definition at line 83 of file sunxvr500.c.

#define RAMDAC_VID_XXXFB   0x00000088UL /* PCI base of XXX FB */

Definition at line 89 of file sunxvr500.c.

#define RAMDAC_VID_YYYFB   0x0000008cUL /* PCI base of YYY FB */

Definition at line 90 of file sunxvr500.c.

#define RAMDAC_VID_ZZZFB   0x00000090UL /* PCI base of ZZZ FB */

Definition at line 91 of file sunxvr500.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller <[email protected]>"  )
MODULE_DESCRIPTION ( "framebuffer driver for Sun XVR-500 graphics"  )
module_exit ( e3d_exit  )
module_init ( e3d_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "1.0"  )