Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/arcfb.h>
#include <linux/platform_device.h>
#include <linux/uaccess.h>
Go to the source code of this file.
Data Structures | |
struct | arcfb_par |
Macros | |
#define | floor8(a) (a&(~0x07)) |
#define | floorXres(a, xres) (a&(~(xres - 1))) |
#define | iceil8(a) (((int)((a+7)/8))*8) |
#define | ceil64(a) (a|0x3F) |
#define | ceilXres(a, xres) (a|(xres - 1)) |
#define | KS_SET_DPY_START_LINE 0xC0 |
#define | KS_SET_PAGE_NUM 0xB8 |
#define | KS_SET_X 0x40 |
#define | KS_CEHI 0x01 |
#define | KS_CELO 0x00 |
#define | KS_SEL_CMD 0x08 |
#define | KS_SEL_DATA 0x00 |
#define | KS_DPY_ON 0x3F |
#define | KS_DPY_OFF 0x3E |
#define | KS_INTACK 0x40 |
#define | KS_CLRINT 0x02 |
Functions | |
module_param (num_cols, ulong, 0) | |
MODULE_PARM_DESC (num_cols,"Num horiz panels, eg: 2 = 128 bit wide") | |
module_param (num_rows, ulong, 0) | |
MODULE_PARM_DESC (num_rows,"Num vert panels, eg: 1 = 64 bit high") | |
module_param (nosplash, uint, 0) | |
MODULE_PARM_DESC (nosplash,"Disable doing the splash screen") | |
module_param (arcfb_enable, uint, 0) | |
MODULE_PARM_DESC (arcfb_enable,"Enable communication with Arc board") | |
module_param (dio_addr, ulong, 0) | |
MODULE_PARM_DESC (dio_addr,"IO address for data, eg: 0x480") | |
module_param (cio_addr, ulong, 0) | |
MODULE_PARM_DESC (cio_addr,"IO address for control, eg: 0x400") | |
module_param (c2io_addr, ulong, 0) | |
MODULE_PARM_DESC (c2io_addr,"IO address for secondary control, eg: 0x408") | |
module_param (splashval, ulong, 0) | |
MODULE_PARM_DESC (splashval,"Splash pattern: 0xFF is black, 0x00 is green") | |
module_param (tuhold, ulong, 0) | |
MODULE_PARM_DESC (tuhold,"Time to hold between strobing data to Arc board") | |
module_param (irq, uint, 0) | |
MODULE_PARM_DESC (irq,"IRQ for the Arc board") | |
module_init (arcfb_init) | |
module_exit (arcfb_exit) | |
MODULE_DESCRIPTION ("fbdev driver for Arc monochrome LCD board") | |
MODULE_AUTHOR ("Jaya Kumar") | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR | ( | "Jaya Kumar" | ) |
module_exit | ( | arcfb_exit | ) |
module_init | ( | arcfb_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | num_cols | , |
ulong | , | ||
0 | |||
) |
module_param | ( | num_rows | , |
ulong | , | ||
0 | |||
) |
module_param | ( | nosplash | , |
uint | , | ||
0 | |||
) |
module_param | ( | arcfb_enable | , |
uint | , | ||
0 | |||
) |
module_param | ( | dio_addr | , |
ulong | , | ||
0 | |||
) |
module_param | ( | cio_addr | , |
ulong | , | ||
0 | |||
) |
module_param | ( | c2io_addr | , |
ulong | , | ||
0 | |||
) |
module_param | ( | splashval | , |
ulong | , | ||
0 | |||
) |
module_param | ( | tuhold | , |
ulong | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | num_cols | , |
"Num horiz | panels | ||
) |
MODULE_PARM_DESC | ( | num_rows | , |
"Num vert | panels | ||
) |
MODULE_PARM_DESC | ( | nosplash | , |
"Disable doing the splash screen" | |||
) |
MODULE_PARM_DESC | ( | splashval | , |
"Splash pattern: 0xFF is | black, | ||
0x00 is green" | |||
) |