|
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>Go to the source code of this file.
Data Structures | |
| struct | pca955x_chipdef |
| struct | pca955x |
| struct | pca955x_led |
Macros | |
| #define | PCA955X_LS_LED_ON 0x0 /* Output LOW */ |
| #define | PCA955X_LS_LED_OFF 0x1 /* Output HI-Z */ |
| #define | PCA955X_LS_BLINK0 0x2 /* Blink at PWM0 rate */ |
| #define | PCA955X_LS_BLINK1 0x3 /* Blink at PWM1 rate */ |
Enumerations | |
| enum | pca955x_type { pca9550, pca9551, pca9552, pca9553 } |
Functions | |
| MODULE_DEVICE_TABLE (i2c, pca955x_id) | |
| module_i2c_driver (pca955x_driver) | |
| MODULE_AUTHOR ("Nate Case <[email protected]>") | |
| MODULE_DESCRIPTION ("PCA955x LED driver") | |
| MODULE_LICENSE ("GPL v2") | |
| #define PCA955X_LS_BLINK0 0x2 /* Blink at PWM0 rate */ |
Definition at line 56 of file leds-pca955x.c.
| #define PCA955X_LS_BLINK1 0x3 /* Blink at PWM1 rate */ |
Definition at line 57 of file leds-pca955x.c.
| #define PCA955X_LS_LED_OFF 0x1 /* Output HI-Z */ |
Definition at line 55 of file leds-pca955x.c.
| #define PCA955X_LS_LED_ON 0x0 /* Output LOW */ |
Definition at line 54 of file leds-pca955x.c.
| enum pca955x_type |
Definition at line 59 of file leds-pca955x.c.
| MODULE_AUTHOR | ( | "Nate Case <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| pca955x_id | |||
| ) |
| module_i2c_driver | ( | pca955x_driver | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
1.8.2