|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/err.h>#include <linux/slab.h>#include <linux/workqueue.h>#include <linux/leds.h>#include <linux/mfd/max8997.h>#include <linux/mfd/max8997-private.h>#include <linux/platform_device.h>Go to the source code of this file.
Data Structures | |
| struct | max8997_led |
Macros | |
| #define | MAX8997_LED_FLASH_SHIFT 3 |
| #define | MAX8997_LED_FLASH_CUR_MASK 0xf8 |
| #define | MAX8997_LED_MOVIE_SHIFT 4 |
| #define | MAX8997_LED_MOVIE_CUR_MASK 0xf0 |
| #define | MAX8997_LED_FLASH_MAX_BRIGHTNESS 0x1f |
| #define | MAX8997_LED_MOVIE_MAX_BRIGHTNESS 0xf |
| #define | MAX8997_LED_NONE_MAX_BRIGHTNESS 0 |
| #define | MAX8997_LED0_FLASH_MASK 0x1 |
| #define | MAX8997_LED0_FLASH_PIN_MASK 0x5 |
| #define | MAX8997_LED0_MOVIE_MASK 0x8 |
| #define | MAX8997_LED0_MOVIE_PIN_MASK 0x28 |
| #define | MAX8997_LED1_FLASH_MASK 0x2 |
| #define | MAX8997_LED1_FLASH_PIN_MASK 0x6 |
| #define | MAX8997_LED1_MOVIE_MASK 0x10 |
| #define | MAX8997_LED1_MOVIE_PIN_MASK 0x30 |
| #define | MAX8997_LED_BOOST_ENABLE_MASK (1 << 6) |
Functions | |
| module_platform_driver (max8997_led_driver) | |
| MODULE_AUTHOR ("Donggeun Kim <[email protected]>") | |
| MODULE_DESCRIPTION ("MAX8997 LED driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:max8997-led") | |
| #define MAX8997_LED0_FLASH_MASK 0x1 |
Definition at line 31 of file leds-max8997.c.
| #define MAX8997_LED0_FLASH_PIN_MASK 0x5 |
Definition at line 32 of file leds-max8997.c.
| #define MAX8997_LED0_MOVIE_MASK 0x8 |
Definition at line 33 of file leds-max8997.c.
| #define MAX8997_LED0_MOVIE_PIN_MASK 0x28 |
Definition at line 34 of file leds-max8997.c.
| #define MAX8997_LED1_FLASH_MASK 0x2 |
Definition at line 36 of file leds-max8997.c.
| #define MAX8997_LED1_FLASH_PIN_MASK 0x6 |
Definition at line 37 of file leds-max8997.c.
| #define MAX8997_LED1_MOVIE_MASK 0x10 |
Definition at line 38 of file leds-max8997.c.
| #define MAX8997_LED1_MOVIE_PIN_MASK 0x30 |
Definition at line 39 of file leds-max8997.c.
| #define MAX8997_LED_BOOST_ENABLE_MASK (1 << 6) |
Definition at line 41 of file leds-max8997.c.
| #define MAX8997_LED_FLASH_CUR_MASK 0xf8 |
Definition at line 23 of file leds-max8997.c.
| #define MAX8997_LED_FLASH_MAX_BRIGHTNESS 0x1f |
Definition at line 27 of file leds-max8997.c.
| #define MAX8997_LED_FLASH_SHIFT 3 |
Definition at line 22 of file leds-max8997.c.
| #define MAX8997_LED_MOVIE_CUR_MASK 0xf0 |
Definition at line 25 of file leds-max8997.c.
| #define MAX8997_LED_MOVIE_MAX_BRIGHTNESS 0xf |
Definition at line 28 of file leds-max8997.c.
| #define MAX8997_LED_MOVIE_SHIFT 4 |
Definition at line 24 of file leds-max8997.c.
| #define MAX8997_LED_NONE_MAX_BRIGHTNESS 0 |
Definition at line 29 of file leds-max8997.c.
| MODULE_ALIAS | ( | "platform:max8997-led" | ) |
| MODULE_AUTHOR | ( | "Donggeun Kim <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | max8997_led_driver | ) |
1.8.2