Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/i2c/twl.h>
#include <linux/err.h>
Go to the source code of this file.
Macros | |
#define | TWL_PWM0_ON 0x00 |
#define | TWL_PWM0_OFF 0x01 |
#define | TWL_INTBR_GPBR1 0x0c |
#define | TWL_INTBR_PMBR1 0x0d |
#define | TWL_PMBR1_PWM0_MUXMASK 0x0c |
#define | TWL_PMBR1_PWM0 0x04 |
#define | PWM0_CLK_ENABLE BIT(0) |
#define | PWM0_ENABLE BIT(2) |
#define | MIN_VALUE 9 |
#define | MAX_VALUE 63 |
#define | MAX_USER_VALUE (MAX_VALUE - MIN_VALUE) |
#define | PANDORABL_WAS_OFF BL_CORE_DRIVER1 |
Functions | |
module_platform_driver (pandora_backlight_driver) | |
MODULE_AUTHOR ("Gražvydas Ignotas <[email protected]>") | |
MODULE_DESCRIPTION ("Pandora Backlight Driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:pandora-backlight") | |
Definition at line 36 of file pandora_bl.c.
#define MAX_VALUE 63 |
Definition at line 35 of file pandora_bl.c.
#define MIN_VALUE 9 |
Definition at line 34 of file pandora_bl.c.
#define PANDORABL_WAS_OFF BL_CORE_DRIVER1 |
Definition at line 38 of file pandora_bl.c.
#define PWM0_CLK_ENABLE BIT(0) |
Definition at line 30 of file pandora_bl.c.
#define PWM0_ENABLE BIT(2) |
Definition at line 31 of file pandora_bl.c.
#define TWL_INTBR_GPBR1 0x0c |
Definition at line 25 of file pandora_bl.c.
#define TWL_INTBR_PMBR1 0x0d |
Definition at line 26 of file pandora_bl.c.
#define TWL_PMBR1_PWM0 0x04 |
Definition at line 29 of file pandora_bl.c.
#define TWL_PMBR1_PWM0_MUXMASK 0x0c |
Definition at line 28 of file pandora_bl.c.
#define TWL_PWM0_OFF 0x01 |
Definition at line 23 of file pandora_bl.c.
#define TWL_PWM0_ON 0x00 |
Definition at line 22 of file pandora_bl.c.
MODULE_ALIAS | ( | "platform:pandora-backlight" | ) |
MODULE_AUTHOR | ( | "Gražvydas Ignotas <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Pandora Backlight Driver" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | pandora_backlight_driver | ) |