Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fb-puv3.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/console.h>
#include <asm/sizes.h>
#include <mach/hardware.h>

Go to the source code of this file.

Macros

#define UNIFB_REGS_NUM   10
 
#define UNIFB_MEMSIZE   (SZ_4M) /* 4 MB for 1024*768*32b */
 
#define CNVT_TOHW(val, width)   ((((val)<<(width))+0x7FFF-(val))>>16)
 
#define unifb_resume   NULL
 
#define unifb_suspend   NULL
 

Functions

int unifb_mmap (struct fb_info *info, struct vm_area_struct *vma)
 
 module_init (unifb_init)
 
 module_exit (unifb_exit)
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define CNVT_TOHW (   val,
  width 
)    ((((val)<<(width))+0x7FFF-(val))>>16)
#define UNIFB_MEMSIZE   (SZ_4M) /* 4 MB for 1024*768*32b */

Definition at line 28 of file fb-puv3.c.

#define UNIFB_REGS_NUM   10

Definition at line 26 of file fb-puv3.c.

#define unifb_resume   NULL

Definition at line 818 of file fb-puv3.c.

#define unifb_suspend   NULL

Definition at line 819 of file fb-puv3.c.

Function Documentation

module_exit ( unifb_exit  )
module_init ( unifb_init  )
MODULE_LICENSE ( "GPL v2 )
int unifb_mmap ( struct fb_info info,
struct vm_area_struct vma 
)

Definition at line 640 of file fb-puv3.c.