#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/fb.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/cpufreq.h>
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/math64.h>
#include <linux/platform_data/video-imxfb.h>
#include <mach/hardware.h>
Go to the source code of this file.
#define CPOS_CXP |
( |
|
x | ) |
(((x) & 3ff) << 16) |
#define DRIVER_NAME "imx-fb" |
#define HCR_H_WAIT_1 |
( |
|
x | ) |
(((x) & 0xff) << 8) |
#define HCR_H_WAIT_2 |
( |
|
x | ) |
((x) & 0xff) |
#define HCR_H_WIDTH |
( |
|
x | ) |
(((x) & 0x3f) << 26) |
#define imxfb_resume NULL |
#define imxfb_suspend NULL |
#define LCDICR_INT_CON (1) |
#define LCDICR_INT_SYN (1<<2) |
#define LCDISR_BOF (1<<0) |
#define LCDISR_EOF (1<<1) |
#define LCDISR_ERR_RES (1<<2) |
#define LCDISR_UDR_ERR (1<<3) |
#define LCWHB_BD |
( |
|
x | ) |
((x) & 0xff) |
#define LCWHB_BK_EN (1<<31) |
#define LCWHB_CH |
( |
|
h | ) |
(((h) & 0x1f) << 16) |
#define LCWHB_CW |
( |
|
w | ) |
(((w) & 0x1f) << 24) |
#define POS_POS |
( |
|
x | ) |
((x) & 1f) |
#define RMCR_LCDC_EN_MX1 (1<<1) |
#define RMCR_SELF_REF (1<<0) |
#define SIZE_XMAX |
( |
|
x | ) |
((((x) >> 4) & 0x3f) << 20) |
#define VCR_V_WAIT_1 |
( |
|
x | ) |
(((x) & 0xff) << 8) |
#define VCR_V_WAIT_2 |
( |
|
x | ) |
((x) & 0xff) |
#define VCR_V_WIDTH |
( |
|
x | ) |
(((x) & 0x3f) << 26) |
#define VPW_VPW |
( |
|
x | ) |
((x) & 0x3ff) |
MODULE_AUTHOR |
( |
"Sascha |
Hauer, |
|
|
Pengutronix" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Freescale i.MX framebuffer driver" |
| ) |
|
module_exit |
( |
imxfb_cleanup |
| ) |
|