Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/leds.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <linux/platform_data/leds-pca9633.h>
Go to the source code of this file.
Data Structures | |
struct | pca9633_led |
Macros | |
#define | PCA9633_LED_OFF 0x0 /* LED driver off */ |
#define | PCA9633_LED_ON 0x1 /* LED driver on */ |
#define | PCA9633_LED_PWM 0x2 /* Controlled through PWM */ |
#define | PCA9633_LED_GRP_PWM 0x3 /* Controlled through PWM/GRPPWM */ |
#define | PCA9633_MODE1 0x00 |
#define | PCA9633_MODE2 0x01 |
#define | PCA9633_PWM_BASE 0x02 |
#define | PCA9633_LEDOUT 0x08 |
Functions | |
MODULE_DEVICE_TABLE (i2c, pca9633_id) | |
module_i2c_driver (pca9633_driver) | |
MODULE_AUTHOR ("Peter Meerwald <[email protected]>") | |
MODULE_DESCRIPTION ("PCA9633 LED driver") | |
MODULE_LICENSE ("GPL v2") | |
#define PCA9633_LED_GRP_PWM 0x3 /* Controlled through PWM/GRPPWM */ |
Definition at line 31 of file leds-pca9633.c.
#define PCA9633_LED_OFF 0x0 /* LED driver off */ |
Definition at line 28 of file leds-pca9633.c.
#define PCA9633_LED_ON 0x1 /* LED driver on */ |
Definition at line 29 of file leds-pca9633.c.
#define PCA9633_LED_PWM 0x2 /* Controlled through PWM */ |
Definition at line 30 of file leds-pca9633.c.
#define PCA9633_LEDOUT 0x08 |
Definition at line 36 of file leds-pca9633.c.
#define PCA9633_MODE1 0x00 |
Definition at line 33 of file leds-pca9633.c.
#define PCA9633_MODE2 0x01 |
Definition at line 34 of file leds-pca9633.c.
#define PCA9633_PWM_BASE 0x02 |
Definition at line 35 of file leds-pca9633.c.
MODULE_AUTHOR | ( | "Peter Meerwald <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
pca9633_id | |||
) |
module_i2c_driver | ( | pca9633_driver | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |