#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.
#define SM501_MEMF_ACCEL (8) |
#define SM501_MEMF_CRT (4) |
#define SM501_MEMF_CURSOR (1) |
#define SM501_MEMF_PANEL (2) |
#define sm501fb_hz_to_ps |
( |
|
x | ) |
sm501fb_ps_to_hz(x) |
#define sm501fb_resume NULL |
#define sm501fb_suspend NULL |
MODULE_AUTHOR |
( |
"Ben |
Dooks, |
|
|
Vincent Sanders" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"SM501 Framebuffer driver" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_param_named |
( |
mode |
, |
|
|
fb_mode |
, |
|
|
charp |
, |
|
|
0 |
|
|
) |
| |
module_param_named |
( |
bpp |
, |
|
|
default_bpp |
, |
|
|
ulong |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mode |
, |
|
|
"Specify resolution as \"<xres>x<yres>\" " |
[-< bpp >][@< refresh >] |
|
) |
| |
module_platform_driver |
( |
sm501fb_driver |
| ) |
|