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

mxc_ipu_bl.c File Reference


Detailed Description

Backlight Driver for IPU PWM on Freescale MXC/i.MX platforms.

This file contains API defined in include/linux/clk.h for setting up and retrieving clocks.

Based on Sharp's Corgi Backlight Driver

Definition in file mxc_ipu_bl.c.

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/ipu.h>

Go to the source code of this file.

Classes

struct  mxcbl_dev_data

Defines

#define MXC_DEFAULT_INTENSITY   127
#define MXC_INTENSITY_OFF   0
#define MXC_MAX_INTENSITY   255

Functions

 late_initcall (mxcbl_init)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("Freescale MXC/i.MX IPU PWM Backlight Driver")
 module_exit (mxcbl_exit)
 MODULE_LICENSE ("GPL")
static int mxcbl_check_fb (struct fb_info *info)
static void __exit mxcbl_exit (void)
static int mxcbl_get_intensity (struct backlight_device *bd)
static int __init mxcbl_init (void)
static int __init mxcbl_probe (struct platform_device *pdev)
static int mxcbl_remove (struct platform_device *pdev)
static int mxcbl_send_intensity (struct backlight_device *bd)

Variables

static int fb_id
static struct platform_driver mxcbl_driver
static struct backlight_ops mxcbl_ops


Generated by  Doxygen 1.6.0   Back to index