Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <linux/mfd/da9052/reg.h>
#include <linux/mfd/da9052/da9052.h>
#include <linux/mfd/da9052/pdata.h>
Go to the source code of this file.
Data Structures | |
struct | da9052_led |
Macros | |
#define | DA9052_OPENDRAIN_OUTPUT 2 |
#define | DA9052_SET_HIGH_LVL_OUTPUT (1 << 3) |
#define | DA9052_MASK_UPPER_NIBBLE 0xF0 |
#define | DA9052_MASK_LOWER_NIBBLE 0x0F |
#define | DA9052_NIBBLE_SHIFT 4 |
#define | DA9052_MAX_BRIGHTNESS 0x5f |
Functions | |
module_platform_driver (da9052_led_driver) | |
MODULE_AUTHOR ("Dialog Semiconductor Ltd <[email protected]>") | |
MODULE_DESCRIPTION ("LED driver for Dialog DA9052 PMIC") | |
MODULE_LICENSE ("GPL") | |
#define DA9052_MASK_LOWER_NIBBLE 0x0F |
Definition at line 30 of file leds-da9052.c.
#define DA9052_MASK_UPPER_NIBBLE 0xF0 |
Definition at line 29 of file leds-da9052.c.
#define DA9052_MAX_BRIGHTNESS 0x5f |
Definition at line 32 of file leds-da9052.c.
#define DA9052_NIBBLE_SHIFT 4 |
Definition at line 31 of file leds-da9052.c.
#define DA9052_OPENDRAIN_OUTPUT 2 |
Definition at line 27 of file leds-da9052.c.
#define DA9052_SET_HIGH_LVL_OUTPUT (1 << 3) |
Definition at line 28 of file leds-da9052.c.
MODULE_AUTHOR | ( | "Dialog Semiconductor Ltd <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | da9052_led_driver | ) |