Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
samsung-laptop.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/backlight.h>
#include <linux/leds.h>
#include <linux/fb.h>
#include <linux/dmi.h>
#include <linux/platform_device.h>
#include <linux/rfkill.h>
#include <linux/acpi.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/ctype.h>
#include <acpi/video.h>

Go to the source code of this file.

Data Structures

struct  sabi_data
 
struct  sabi_header_offsets
 
struct  sabi_commands
 
struct  sabi_performance_level
 
struct  sabi_config
 
struct  samsung_laptop_debug
 
struct  samsung_rfkill
 
struct  samsung_laptop
 
struct  samsung_quirks
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define MAX_BRIGHT   0x07
 
#define SABI_IFACE_MAIN   0x00
 
#define SABI_IFACE_SUB   0x02
 
#define SABI_IFACE_COMPLETE   0x04
 
#define SABI_IFACE_DATA   0x05
 
#define WL_STATUS_WLAN   0x0
 
#define WL_STATUS_BT   0x2
 

Functions

 module_param (force, bool, 0)
 
 MODULE_PARM_DESC (force,"Disable the DMI check and forces the driver to be loaded")
 
 module_param (debug, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug,"Debug enabled or not")
 
 MODULE_DEVICE_TABLE (dmi, samsung_dmi_table)
 
 module_init (samsung_init)
 
 module_exit (samsung_exit)
 
 MODULE_AUTHOR ("Greg Kroah-Hartman <[email protected]>")
 
 MODULE_DESCRIPTION ("Samsung Backlight driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX_BRIGHT   0x07

Definition at line 42 of file samsung-laptop.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 12 of file samsung-laptop.c.

#define SABI_IFACE_COMPLETE   0x04

Definition at line 47 of file samsung-laptop.c.

#define SABI_IFACE_DATA   0x05

Definition at line 48 of file samsung-laptop.c.

#define SABI_IFACE_MAIN   0x00

Definition at line 45 of file samsung-laptop.c.

#define SABI_IFACE_SUB   0x02

Definition at line 46 of file samsung-laptop.c.

#define WL_STATUS_BT   0x2

Definition at line 51 of file samsung-laptop.c.

#define WL_STATUS_WLAN   0x0

Definition at line 50 of file samsung-laptop.c.

Function Documentation

MODULE_AUTHOR ( "Greg Kroah-Hartman <[email protected]>"  )
MODULE_DESCRIPTION ( "Samsung Backlight driver )
MODULE_DEVICE_TABLE ( dmi  ,
samsung_dmi_table   
)
module_exit ( samsung_exit  )
module_init ( samsung_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( force  ,
bool  ,
 
)
module_param ( debug  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( force  ,
"Disable the DMI check and forces the driver to be loaded"   
)
MODULE_PARM_DESC ( debug  ,
"Debug enabled or not"   
)