Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/adb.h>
#include <linux/pmu.h>
#include <linux/atomic.h>
#include <linux/export.h>
#include <asm/prom.h>
#include <asm/backlight.h>
Go to the source code of this file.
Macros | |
#define | OLD_BACKLIGHT_MAX 15 |
Functions | |
DEFINE_MUTEX (pmac_backlight_mutex) | |
int | pmac_has_backlight_type (const char *type) |
int | pmac_backlight_curve_lookup (struct fb_info *info, int value) |
void | pmac_backlight_key (int direction) |
void | pmac_backlight_set_legacy_brightness_pmu (int brightness) |
int | pmac_backlight_set_legacy_brightness (int brightness) |
int | pmac_backlight_get_legacy_brightness () |
void | pmac_backlight_disable () |
void | pmac_backlight_enable () |
EXPORT_SYMBOL_GPL (pmac_backlight) | |
EXPORT_SYMBOL_GPL (pmac_backlight_mutex) | |
EXPORT_SYMBOL_GPL (pmac_has_backlight_type) | |
Variables | |
struct backlight_device * | pmac_backlight |
#define OLD_BACKLIGHT_MAX 15 |
Definition at line 20 of file backlight.c.
DEFINE_MUTEX | ( | pmac_backlight_mutex | ) |
EXPORT_SYMBOL_GPL | ( | pmac_backlight | ) |
EXPORT_SYMBOL_GPL | ( | pmac_backlight_mutex | ) |
EXPORT_SYMBOL_GPL | ( | pmac_has_backlight_type | ) |
Definition at line 75 of file backlight.c.
void pmac_backlight_disable | ( | ) |
Definition at line 208 of file backlight.c.
void pmac_backlight_enable | ( | ) |
Definition at line 213 of file backlight.c.
int pmac_backlight_get_legacy_brightness | ( | ) |
Definition at line 189 of file backlight.c.
Definition at line 128 of file backlight.c.
Definition at line 184 of file backlight.c.
Definition at line 176 of file backlight.c.
Definition at line 58 of file backlight.c.
struct backlight_device* pmac_backlight |
Definition at line 56 of file backlight.c.