Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
max8925_bl.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/backlight.h>
#include <linux/mfd/max8925.h>
#include <linux/slab.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  max8925_backlight_data
 

Macros

#define MAX_BRIGHTNESS   (0xff)
 
#define MIN_BRIGHTNESS   (0)
 
#define LWX_FREQ(x)   (((x - 601) / 100) & 0x7)
 

Functions

 module_platform_driver (max8925_backlight_driver)
 
 MODULE_DESCRIPTION ("Backlight Driver for Maxim MAX8925")
 
 MODULE_AUTHOR ("Haojian Zhuang <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:max8925-backlight")
 

Macro Definition Documentation

#define LWX_FREQ (   x)    (((x - 601) / 100) & 0x7)

Definition at line 25 of file max8925_bl.c.

#define MAX_BRIGHTNESS   (0xff)

Definition at line 22 of file max8925_bl.c.

#define MIN_BRIGHTNESS   (0)

Definition at line 23 of file max8925_bl.c.

Function Documentation

MODULE_ALIAS ( "platform:max8925-backlight"  )
MODULE_AUTHOR ( "Haojian Zhuang <[email protected]>"  )
MODULE_DESCRIPTION ( "Backlight Driver for Maxim MAX8925"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( max8925_backlight_driver  )