Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mxcfb_epson.c File Reference


Detailed Description

MXC Frame buffer driver for ADC.

Definition in file mxcfb_epson.c.

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/fb.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <mach/hardware.h>
#include <asm/io.h>
#include <asm/mach-types.h>
#include <asm/uaccess.h>
#include <mach/ipu.h>
#include <mach/mxcfb.h>

Go to the source code of this file.

Classes

struct  mxcfb_data
struct  mxcfb_info

Defines

#define MXCFB_NAME   "MXCFB_EPSON"
#define MXCFB_REFRESH_DEFAULT   MXCFB_REFRESH_PARTIAL
#define mxcfb_resume   NULL
#define MXCFB_SCREEN_HEIGHT   220
#define MXCFB_SCREEN_LEFT_OFFSET   2
#define MXCFB_SCREEN_TOP_OFFSET   0
#define MXCFB_SCREEN_WIDTH   176
#define mxcfb_suspend   NULL
#define PARTIAL_REFRESH

Enumerations

enum  {
  DISON = 0xAF, DISOFF = 0xAE, DISCTL = 0xCA, SD_CSET = 0x15,
  SD_PSET = 0x75, DATCTL = 0xBC, SLPIN = 0x95, SLPOUT = 0x94,
  DISNOR = 0xA6, RAMWR = 0x5C, VOLCTR = 0xC6, GCP16 = 0xCC,
  GCP64 = 0xCB
}

Functions

static u_int _chan_to_field (u_int chan, struct fb_bitfield *bf)
static void _init_panel (int disp)
static uint32_t bpp_to_pixfmt (int bpp)
 EXPORT_SYMBOL (mxcfb_set_refresh_mode)
void gpio_lcd_active (void)
static void init_channel_template (int disp)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("MXC Epson framebuffer driver")
 module_exit (mxcfb_exit)
 module_init (mxcfb_init)
 MODULE_SUPPORTED_DEVICE ("fb")
static int mxcfb_blank (int blank, struct fb_info *fbi)
static int mxcfb_check_var (struct fb_var_screeninfo *var, struct fb_info *fbi)
static void mxcfb_exit (void)
static int mxcfb_init (void)
static struct fb_info * mxcfb_init_fbinfo (struct device *dev, struct fb_ops *ops)
static void mxcfb_init_panel (struct fb_info *fbi)
static int mxcfb_map_video_memory (struct fb_info *fbi)
static int mxcfb_open (struct fb_info *fbi, int user)
static int mxcfb_probe (struct platform_device *pdev)
static int mxcfb_release (struct fb_info *fbi, int user)
static int mxcfb_set_fix (struct fb_info *info)
static int mxcfb_set_par (struct fb_info *fbi)
int mxcfb_set_refresh_mode (struct fb_info *fbi, int mode, struct mxcfb_rect *update_region)
static int mxcfb_setcolreg (u_int regno, u_int red, u_int green, u_int blue, u_int trans, struct fb_info *fbi)
static irqreturn_t mxcfb_sys1_eof_irq_handler (int irq, void *dev_id)
static irqreturn_t mxcfb_sys2_eof_irq_handler (int irq, void *dev_id)
static int mxcfb_unmap_video_memory (struct fb_info *fbi)
void set_panel_region (int disp, uint32_t x1, uint32_t x2, uint32_t y1, uint32_t y2)
void slcd_gpio_config (void)

Variables

static unsigned long default_bpp = 16
static struct platform_device mxcfb_device
static struct platform_driver mxcfb_driver
static struct mxcfb_data mxcfb_drv_data
static struct fb_ops mxcfb_ops


Generated by  Doxygen 1.6.0   Back to index