Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/backlight.h>
#include <linux/notifier.h>
#include <linux/ctype.h>
#include <linux/err.h>
#include <linux/fb.h>
#include <linux/slab.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
Functions | |
void | backlight_force_update (struct backlight_device *bd, enum backlight_update_reason reason) |
EXPORT_SYMBOL (backlight_force_update) | |
: the name of the new object(must be the same as the name of the | |
backlight_device_register - create and register a new object of backlight_device class. respective framebuffer device). : a pointer to the parent device : an optional pointer to be stored for private driver use. The methods may retrieve it by using bl_get_data(bd). : the backlight operations structure. Creates and registers new backlight device. Returns either an ERR_PTR() or a pointer to the newly allocated device. | |
struct backlight_device * | backlight_device_register (const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) |
EXPORT_SYMBOL (backlight_device_register) | |
void | backlight_device_unregister (struct backlight_device *bd) |
EXPORT_SYMBOL (backlight_device_unregister) | |
postcore_initcall (backlight_class_init) | |
module_exit (backlight_class_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Jamey Hicks <[email protected]>, Andrew Zabolotny <[email protected]>") | |
MODULE_DESCRIPTION ("Backlight Lowlevel Control Abstraction") | |
Definition at line 8 of file backlight.c.
|
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 | ||
) |
EXPORT_SYMBOL | ( | backlight_force_update | ) |
EXPORT_SYMBOL | ( | backlight_device_register | ) |
EXPORT_SYMBOL | ( | backlight_device_unregister | ) |
MODULE_AUTHOR | ( | "Jamey Hicks <[email protected]> | , |
Andrew Zabolotny< zap @homelink.ru >" | |||
) |
MODULE_DESCRIPTION | ( | "Backlight Lowlevel Control Abstraction" | ) |
module_exit | ( | backlight_class_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
postcore_initcall | ( | backlight_class_init | ) |