Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
au1100fb.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/fb.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ctype.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <asm/mach-au1x00/au1000.h>
#include "au1100fb.h"

Go to the source code of this file.

Macros

#define DEBUG   0
 
#define DRIVER_NAME   "au1100fb"
 
#define DRIVER_DESC   "LCD controller driver for AU1100 processors"
 
#define to_au1100fb_device(_info)   (_info ? container_of(_info, struct au1100fb_device, info) : NULL);
 
#define au1100fb_drv_suspend   NULL
 
#define au1100fb_drv_resume   NULL
 

Functions

int au1100fb_setmode (struct au1100fb_device *fbdev)
 
int au1100fb_fb_setcolreg (unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *fbi)
 
int au1100fb_fb_pan_display (struct fb_var_screeninfo *var, struct fb_info *fbi)
 
void au1100fb_fb_rotate (struct fb_info *fbi, int angle)
 
int au1100fb_fb_mmap (struct fb_info *fbi, struct vm_area_struct *vma)
 
int au1100fb_drv_remove (struct platform_device *dev)
 
 module_init (au1100fb_load)
 
 module_exit (au1100fb_unload)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct fb_bitfield rgb_bitfields [][4]
 

Macro Definition Documentation

#define au1100fb_drv_resume   NULL

Definition at line 667 of file au1100fb.c.

#define au1100fb_drv_suspend   NULL

Definition at line 666 of file au1100fb.c.

#define DEBUG   0

Definition at line 59 of file au1100fb.c.

#define DRIVER_DESC   "LCD controller driver for AU1100 processors"

Definition at line 64 of file au1100fb.c.

#define DRIVER_NAME   "au1100fb"

Definition at line 63 of file au1100fb.c.

#define to_au1100fb_device (   _info)    (_info ? container_of(_info, struct au1100fb_device, info) : NULL);

Definition at line 66 of file au1100fb.c.

Function Documentation

int au1100fb_drv_remove ( struct platform_device dev)

Definition at line 601 of file au1100fb.c.

int au1100fb_fb_mmap ( struct fb_info fbi,
struct vm_area_struct vma 
)

Definition at line 375 of file au1100fb.c.

int au1100fb_fb_pan_display ( struct fb_var_screeninfo var,
struct fb_info fbi 
)

Definition at line 307 of file au1100fb.c.

void au1100fb_fb_rotate ( struct fb_info fbi,
int  angle 
)

Definition at line 354 of file au1100fb.c.

int au1100fb_fb_setcolreg ( unsigned  regno,
unsigned  red,
unsigned  green,
unsigned  blue,
unsigned  transp,
struct fb_info fbi 
)

Definition at line 248 of file au1100fb.c.

int au1100fb_setmode ( struct au1100fb_device fbdev)

Definition at line 151 of file au1100fb.c.

MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( au1100fb_unload  )
module_init ( au1100fb_load  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct fb_bitfield rgb_bitfields[][4]
Initial value:
=
{
{ { 10, 6, 0 }, { 5, 5, 0 }, { 0, 5, 0 }, { 0, 0, 0 } },
{ { 11, 5, 0 }, { 5, 6, 0 }, { 0, 5, 0 }, { 0, 0, 0 } },
{ { 11, 5, 0 }, { 6, 5, 0 }, { 0, 6, 0 }, { 0, 0, 0 } },
{ { 10, 5, 0 }, { 5, 5, 0 }, { 0, 5, 0 }, { 15, 1, 0 } },
{ { 11, 5, 0 }, { 6, 5, 0 }, { 1, 5, 0 }, { 0, 1, 0 } },
{ { 8, 4, 0 }, { 4, 4, 0 }, { 0, 4, 0 }, { 0, 0, 0 } },
}

Definition at line 73 of file au1100fb.c.