Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | backlight_ops |
struct | backlight_properties |
struct | backlight_device |
struct | generic_bl_info |
Macros | |
#define | BL_CORE_SUSPENDRESUME (1 << 0) |
#define | BL_CORE_SUSPENDED (1 << 0) /* backlight is suspended */ |
#define | BL_CORE_FBBLANK (1 << 1) /* backlight is under an fb blank event */ |
#define | BL_CORE_DRIVER4 (1 << 28) /* reserved for driver specific use */ |
#define | BL_CORE_DRIVER3 (1 << 29) /* reserved for driver specific use */ |
#define | BL_CORE_DRIVER2 (1 << 30) /* reserved for driver specific use */ |
#define | BL_CORE_DRIVER1 (1 << 31) /* reserved for driver specific use */ |
#define | to_backlight_device(obj) container_of(obj, struct backlight_device, dev) |
Enumerations | |
enum | backlight_update_reason { BACKLIGHT_UPDATE_HOTKEY, BACKLIGHT_UPDATE_SYSFS } |
enum | backlight_type { BACKLIGHT_RAW = 1, BACKLIGHT_PLATFORM, BACKLIGHT_FIRMWARE, BACKLIGHT_TYPE_MAX } |
Functions | |
struct backlight_device * | backlight_device_register (const char *name, struct device *dev, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) |
void | backlight_device_unregister (struct backlight_device *bd) |
void | backlight_force_update (struct backlight_device *bd, enum backlight_update_reason reason) |
Definition at line 83 of file backlight.h.
Definition at line 82 of file backlight.h.
Definition at line 81 of file backlight.h.
Definition at line 80 of file backlight.h.
Definition at line 79 of file backlight.h.
Definition at line 78 of file backlight.h.
#define BL_CORE_SUSPENDRESUME (1 << 0) |
Definition at line 48 of file backlight.h.
#define to_backlight_device | ( | obj | ) | container_of(obj, struct backlight_device, dev) |
Definition at line 121 of file backlight.h.
enum backlight_type |
Definition at line 35 of file backlight.h.
Definition at line 30 of file backlight.h.
|
read |
Definition at line 288 of file backlight.c.
void backlight_device_unregister | ( | struct backlight_device * | bd | ) |
backlight_device_unregister - unregisters a backlight device object. : the backlight device object to be unregistered and freed.
Unregisters a previously registered via backlight_device_register object.
Definition at line 353 of file backlight.c.
void backlight_force_update | ( | struct backlight_device * | bd, |
enum backlight_update_reason | reason | ||
) |