Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mbxfb.c File Reference
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <video/mbxfb.h>
#include "regs.h"
#include "reg_bits.h"

Go to the source code of this file.

Data Structures

struct  mbxfb_info
 
struct  pixclock_div
 

Macros

#define write_reg(val, reg)   do { writel((val), (reg)); } while(0)
 
#define write_reg_dly(val, reg)   do { writel((val), reg); udelay(1000); } while(0)
 
#define MIN_XRES   16
 
#define MIN_YRES   16
 
#define MAX_XRES   2048
 
#define MAX_YRES   2048
 
#define MAX_PALETTES   16
 
#define MEMORY_OFFSET   0x60000
 
#define mbxfb_suspend   NULL
 
#define mbxfb_resume   NULL
 
#define mbxfb_debugfs_init(x)   do {} while(0)
 
#define mbxfb_debugfs_remove(x)   do {} while(0)
 
#define res_size(_r)   (((_r)->end - (_r)->start) + 1)
 

Functions

 module_platform_driver (mbxfb_driver)
 
 MODULE_DESCRIPTION ("loadable framebuffer driver for Marathon device")
 
 MODULE_AUTHOR ("Mike Rapoport, Compulab")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX_PALETTES   16

Definition at line 51 of file mbxfb.c.

#define MAX_XRES   2048

Definition at line 48 of file mbxfb.c.

#define MAX_YRES   2048

Definition at line 49 of file mbxfb.c.

#define mbxfb_debugfs_init (   x)    do {} while(0)

Definition at line 878 of file mbxfb.c.

#define mbxfb_debugfs_remove (   x)    do {} while(0)

Definition at line 879 of file mbxfb.c.

#define mbxfb_resume   NULL

Definition at line 873 of file mbxfb.c.

#define mbxfb_suspend   NULL

Definition at line 872 of file mbxfb.c.

#define MEMORY_OFFSET   0x60000

Definition at line 55 of file mbxfb.c.

#define MIN_XRES   16

Definition at line 46 of file mbxfb.c.

#define MIN_YRES   16

Definition at line 47 of file mbxfb.c.

#define res_size (   _r)    (((_r)->end - (_r)->start) + 1)

Definition at line 882 of file mbxfb.c.

#define write_reg (   val,
  reg 
)    do { writel((val), (reg)); } while(0)

Definition at line 38 of file mbxfb.c.

#define write_reg_dly (   val,
  reg 
)    do { writel((val), reg); udelay(1000); } while(0)

Definition at line 44 of file mbxfb.c.

Function Documentation

MODULE_AUTHOR ( "Mike  Rapoport,
Compulab"   
)
MODULE_DESCRIPTION ( "loadable framebuffer driver for Marathon device )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( mbxfb_driver  )