Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sm501fb.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/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/vmalloc.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/wait.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/console.h>
#include <linux/io.h>
#include <asm/uaccess.h>
#include <asm/div64.h>
#include <linux/sm501.h>
#include <linux/sm501-regs.h>
#include "edid.h"

Go to the source code of this file.

Data Structures

struct  sm501_mem
 
struct  sm501fb_info
 
struct  sm501fb_par
 

Macros

#define NR_PALETTE   256
 
#define SM501_MEMF_CURSOR   (1)
 
#define SM501_MEMF_PANEL   (2)
 
#define SM501_MEMF_CRT   (4)
 
#define SM501_MEMF_ACCEL   (8)
 
#define sm501fb_hz_to_ps(x)   sm501fb_ps_to_hz(x)
 
#define sm501fb_suspend   NULL
 
#define sm501fb_resume   NULL
 

Enumerations

enum  sm501_controller { HEAD_CRT = 0, HEAD_PANEL = 1 }
 

Functions

 module_platform_driver (sm501fb_driver)
 
 module_param_named (mode, fb_mode, charp, 0)
 
 MODULE_PARM_DESC (mode,"Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\" ")
 
 module_param_named (bpp, default_bpp, ulong, 0)
 
 MODULE_PARM_DESC (bpp,"Specify bit-per-pixel if not specified mode")
 
 MODULE_AUTHOR ("Ben Dooks, Vincent Sanders")
 
 MODULE_DESCRIPTION ("SM501 Framebuffer driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define NR_PALETTE   256

Definition at line 64 of file sm501fb.c.

#define SM501_MEMF_ACCEL   (8)

Definition at line 168 of file sm501fb.c.

#define SM501_MEMF_CRT   (4)

Definition at line 167 of file sm501fb.c.

#define SM501_MEMF_CURSOR   (1)

Definition at line 165 of file sm501fb.c.

#define SM501_MEMF_PANEL   (2)

Definition at line 166 of file sm501fb.c.

#define sm501fb_hz_to_ps (   x)    sm501fb_ps_to_hz(x)

Definition at line 270 of file sm501fb.c.

#define sm501fb_resume   NULL

Definition at line 2219 of file sm501fb.c.

#define sm501fb_suspend   NULL

Definition at line 2218 of file sm501fb.c.

Enumeration Type Documentation

Enumerator:
HEAD_CRT 
HEAD_PANEL 

Definition at line 66 of file sm501fb.c.

Function Documentation

MODULE_AUTHOR ( "Ben  Dooks,
Vincent Sanders"   
)
MODULE_DESCRIPTION ( "SM501 Framebuffer driver )
MODULE_LICENSE ( "GPL v2 )
module_param_named ( mode  ,
fb_mode  ,
charp  ,
 
)
module_param_named ( bpp  ,
default_bpp  ,
ulong  ,
 
)
MODULE_PARM_DESC ( mode  ,
"Specify resolution as \"<xres>x<yres>\" "  [-< bpp >][@< refresh >] 
)
MODULE_PARM_DESC ( bpp  ,
"Specify bit-per-pixel if not specified mode  
)
module_platform_driver ( sm501fb_driver  )