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

mxcfb.c File Reference

Detailed Description

MXC Frame buffer driver for SDC.

Definition in file mxcfb.c.

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.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/dma-mapping.h>
#include <linux/clk.h>
#include <linux/console.h>
#include <linux/io.h>
#include <linux/ipu.h>
#include <linux/mxcfb.h>
#include <asm/mach-types.h>
#include <asm/uaccess.h>
#include <mach/hardware.h>

Go to the source code of this file.


struct  mxcfb_alloc_list
struct  mxcfb_data
struct  mxcfb_info


#define MXCFB_NAME   "mxc_sdc_fb"
#define mxcfb_resume   NULL
#define mxcfb_suspend   NULL


static u_int _chan_to_field (u_int chan, struct fb_bitfield *bf)
static uint32_t bpp_to_pixfmt (int bpp)
void gpio_lcd_active (void)
void gpio_lcd_inactive (void)
 LIST_HEAD (fb_alloc_list)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("MXC framebuffer driver")
 module_exit (mxcfb_exit)
 module_init (mxcfb_init)
static int mxcfb_blank (int blank, struct fb_info *info)
static int mxcfb_blank_ovl (int blank, struct fb_info *info)
static int mxcfb_check_var (struct fb_var_screeninfo *var, struct fb_info *info)
void mxcfb_exit (void)
int __init mxcfb_init (void)
static struct fb_info * mxcfb_init_fbinfo (struct device *dev, struct fb_ops *ops)
static int mxcfb_ioctl (struct fb_info *fbi, unsigned int cmd, unsigned long arg)
static int mxcfb_ioctl_ovl (struct fb_info *fbi, unsigned int cmd, unsigned long arg)
static irqreturn_t mxcfb_irq_handler (int irq, void *dev_id)
static int mxcfb_map_video_memory (struct fb_info *fbi, bool use_internal_ram)
static int mxcfb_mmap (struct fb_info *fbi, struct vm_area_struct *vma)
static int mxcfb_pan_display (struct fb_var_screeninfo *var, struct fb_info *info)
static int mxcfb_probe (struct platform_device *pdev)
static int mxcfb_set_fix (struct fb_info *info)
static int mxcfb_set_par (struct fb_info *fbi)
static int mxcfb_setcolreg (u_int regno, u_int red, u_int green, u_int blue, u_int trans, struct fb_info *fbi)
int mxcfb_setup (char *options)
static int mxcfb_unmap_video_memory (struct fb_info *fbi)
static irqreturn_t mxcfb_vsync_irq_handler (int irq, void *dev_id)


static unsigned long default_bpp = 16
static char * fb_mode = NULL
static struct platform_driver mxcfb_driver
static struct mxcfb_data mxcfb_drv_data
static struct fb_ops mxcfb_ops
static struct fb_ops mxcfb_ovl_ops

Generated by  Doxygen 1.6.0   Back to index