|
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/tty.h>#include <linux/slab.h>#include <linux/delay.h>#include <linux/fb.h>#include <linux/ioport.h>#include <linux/init.h>#include <linux/types.h>#include <linux/interrupt.h>#include <linux/sched.h>#include <linux/timer.h>#include <linux/device.h>#include <linux/backlight.h>#include <linux/lcd.h>#include <linux/spinlock.h>#include <linux/dma-mapping.h>#include <linux/platform_device.h>#include <asm/blackfin.h>#include <asm/irq.h>#include <asm/dpmc.h>#include <asm/dma-mapping.h>#include <asm/dma.h>#include <asm/gpio.h>#include <asm/portmux.h>#include <mach/bf54x-lq043.h>Go to the source code of this file.
Data Structures | |
| struct | bfin_bf54xfb_info |
Macros | |
| #define | NO_BL_SUPPORT |
| #define | DRIVER_NAME "bf54x-lq043" |
| #define | BFIN_LCD_NBR_PALETTE_ENTRIES 256 |
| #define | EPPI0_18 |
| #define | EPPI0_24 {P_PPI0_D18, P_PPI0_D19, P_PPI0_D20, P_PPI0_D21, P_PPI0_D22, P_PPI0_D23, 0} |
| #define | LCD_X_RES 480 /*Horizontal Resolution */ |
| #define | LCD_Y_RES 272 /* Vertical Resolution */ |
| #define | LCD_BPP 24 /* Bit Per Pixel */ |
| #define | DMA_BUS_SIZE 32 |
| #define | LCD_CLK (8*1000*1000) /* 8MHz */ |
| #define | EPPI_HCOUNT LCD_X_RES |
| #define | EPPI_VCOUNT LCD_Y_RES |
| #define | EPPI_LINE 525 |
| #define | EPPI_FRAME 286 |
| #define | EPPI_FS1W_HBL 41 |
| #define | EPPI_FS1P_AVPL EPPI_LINE |
| #define | EPPI_HDELAY 43 |
| #define | EPPI_FS2W_LVB (EPPI_LINE * 10) |
| #define | EPPI_FS2P_LAVF (EPPI_LINE * EPPI_FRAME) |
| #define | EPPI_VDELAY 12 |
| #define | EPPI_CLIP 0xFF00FF00 |
| #define | EPPI_CONTROL (0x20136E2E | SWAPEN) |
| #define | bfin_bf54x_suspend NULL |
| #define | bfin_bf54x_resume NULL |
Functions | |
| module_param (nocursor, int, 0644) | |
| MODULE_PARM_DESC (nocursor,"cursor enable/disable") | |
| module_param (outp_rgb666, int, 0) | |
| MODULE_PARM_DESC (outp_rgb666,"Output 18-bit RGB666") | |
| int | bfin_bf54x_fb_cursor (struct fb_info *info, struct fb_cursor *cursor) |
| MODULE_DESCRIPTION ("Blackfin BF54x TFT LCD Driver") | |
| MODULE_LICENSE ("GPL") | |
| module_init (bfin_bf54x_driver_init) | |
| module_exit (bfin_bf54x_driver_cleanup) | |
| #define bfin_bf54x_resume NULL |
Definition at line 752 of file bf54x-lq043fb.c.
| #define bfin_bf54x_suspend NULL |
Definition at line 751 of file bf54x-lq043fb.c.
| #define BFIN_LCD_NBR_PALETTE_ENTRIES 256 |
Definition at line 68 of file bf54x-lq043fb.c.
| #define DMA_BUS_SIZE 32 |
Definition at line 102 of file bf54x-lq043fb.c.
| #define DRIVER_NAME "bf54x-lq043" |
Definition at line 65 of file bf54x-lq043fb.c.
| #define EPPI0_18 |
Definition at line 70 of file bf54x-lq043fb.c.
| #define EPPI0_24 {P_PPI0_D18, P_PPI0_D19, P_PPI0_D20, P_PPI0_D21, P_PPI0_D22, P_PPI0_D23, 0} |
Definition at line 74 of file bf54x-lq043fb.c.
| #define EPPI_CLIP 0xFF00FF00 |
Definition at line 157 of file bf54x-lq043fb.c.
| #define EPPI_CONTROL (0x20136E2E | SWAPEN) |
Definition at line 174 of file bf54x-lq043fb.c.
| #define EPPI_FRAME 286 |
Definition at line 137 of file bf54x-lq043fb.c.
| #define EPPI_FS1P_AVPL EPPI_LINE |
Definition at line 143 of file bf54x-lq043fb.c.
| #define EPPI_FS1W_HBL 41 |
Definition at line 140 of file bf54x-lq043fb.c.
| #define EPPI_FS2P_LAVF (EPPI_LINE * EPPI_FRAME) |
Definition at line 152 of file bf54x-lq043fb.c.
| #define EPPI_FS2W_LVB (EPPI_LINE * 10) |
Definition at line 149 of file bf54x-lq043fb.c.
| #define EPPI_HCOUNT LCD_X_RES |
Definition at line 128 of file bf54x-lq043fb.c.
| #define EPPI_HDELAY 43 |
Definition at line 146 of file bf54x-lq043fb.c.
| #define EPPI_LINE 525 |
Definition at line 134 of file bf54x-lq043fb.c.
| #define EPPI_VCOUNT LCD_Y_RES |
Definition at line 131 of file bf54x-lq043fb.c.
| #define EPPI_VDELAY 12 |
Definition at line 155 of file bf54x-lq043fb.c.
| #define LCD_BPP 24 /* Bit Per Pixel */ |
Definition at line 101 of file bf54x-lq043fb.c.
| #define LCD_CLK (8*1000*1000) /* 8MHz */ |
Definition at line 125 of file bf54x-lq043fb.c.
| #define LCD_X_RES 480 /*Horizontal Resolution */ |
Definition at line 98 of file bf54x-lq043fb.c.
| #define LCD_Y_RES 272 /* Vertical Resolution */ |
Definition at line 99 of file bf54x-lq043fb.c.
| #define NO_BL_SUPPORT |
Definition at line 63 of file bf54x-lq043fb.c.
Definition at line 373 of file bf54x-lq043fb.c.
| MODULE_DESCRIPTION | ( | "Blackfin BF54x TFT LCD Driver" | ) |
| module_exit | ( | bfin_bf54x_driver_cleanup | ) |
| module_init | ( | bfin_bf54x_driver_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | nocursor | , |
| int | , | ||
| 0644 | |||
| ) |
| module_param | ( | outp_rgb666 | , |
| int | , | ||
| 0 | |||
| ) |
1.8.2