Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/dmi.h>
#include <linux/backlight.h>
#include <linux/input.h>
#include <linux/kfifo.h>
#include <linux/video_output.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | fujitsu_t |
struct | fujitsu_hotkey_t |
Functions | |
module_init (fujitsu_init) | |
module_exit (fujitsu_cleanup) | |
module_param (use_alt_lcd_levels, uint, 0644) | |
MODULE_PARM_DESC (use_alt_lcd_levels,"Use alternative interface for lcd_levels (needed for Lifebook s6410).") | |
module_param (disable_brightness_adjust, uint, 0644) | |
MODULE_PARM_DESC (disable_brightness_adjust,"Disable brightness adjustment .") | |
MODULE_AUTHOR ("Jonathan Woithe, Peter Gruber, Tony Vroon") | |
MODULE_DESCRIPTION ("Fujitsu laptop extras support") | |
MODULE_VERSION (FUJITSU_DRIVER_VERSION) | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1D3:*:cvrS6410:*") | |
MODULE_ALIAS ("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1E6:*:cvrS6420:*") | |
MODULE_ALIAS ("dmi:*:svnFUJITSU:*:pvr:rvnFUJITSU:rnFJNB19C:*:cvrS7020:*") | |
MODULE_DEVICE_TABLE (pnp, pnp_ids) | |
#define ACPI_FUJITSU_CLASS "fujitsu" |
Definition at line 80 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_DEVICE_NAME "Fujitsu FUJ02B1" |
Definition at line 83 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_DRIVER_NAME "Fujitsu laptop FUJ02B1 ACPI brightness driver" |
Definition at line 82 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_HID "FUJ02B1" |
Definition at line 81 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_HOTKEY_DEVICE_NAME "Fujitsu FUJ02E3" |
Definition at line 86 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_HOTKEY_DRIVER_NAME "Fujitsu laptop FUJ02E3 ACPI hotkeys driver" |
Definition at line 85 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_HOTKEY_HID "FUJ02E3" |
Definition at line 84 of file fujitsu-laptop.c.
#define ACPI_FUJITSU_NOTIFY_CODE1 0x80 |
Definition at line 88 of file fujitsu-laptop.c.
#define ACPI_VIDEO_NOTIFY_DEC_BRIGHTNESS 0x87 |
Definition at line 91 of file fujitsu-laptop.c.
#define ACPI_VIDEO_NOTIFY_INC_BRIGHTNESS 0x86 |
Definition at line 90 of file fujitsu-laptop.c.
#define dbg_printk | ( | a_dbg_level, | |
format, | |||
arg... | |||
) |
Definition at line 133 of file fujitsu-laptop.c.
#define FUJITSU_DRIVER_VERSION "0.6.0" |
Definition at line 76 of file fujitsu-laptop.c.
#define FUJITSU_LCD_N_LEVELS 8 |
Definition at line 78 of file fujitsu-laptop.c.
#define FUJLAPTOP_DBG_ALL 0xffff |
Definition at line 127 of file fujitsu-laptop.c.
#define FUJLAPTOP_DBG_ERROR 0x0001 |
Definition at line 128 of file fujitsu-laptop.c.
#define FUJLAPTOP_DBG_INFO 0x0004 |
Definition at line 130 of file fujitsu-laptop.c.
#define FUJLAPTOP_DBG_TRACE 0x0008 |
Definition at line 131 of file fujitsu-laptop.c.
#define FUJLAPTOP_DBG_WARN 0x0002 |
Definition at line 129 of file fujitsu-laptop.c.
#define FUJLAPTOP_DEBUG KERN_DEBUG FUJLAPTOP_LOG |
Definition at line 125 of file fujitsu-laptop.c.
#define FUJLAPTOP_ERR KERN_ERR FUJLAPTOP_LOG |
Definition at line 122 of file fujitsu-laptop.c.
#define FUJLAPTOP_INFO KERN_INFO FUJLAPTOP_LOG |
Definition at line 124 of file fujitsu-laptop.c.
#define FUJLAPTOP_LOG ACPI_FUJITSU_HID ": " |
Definition at line 121 of file fujitsu-laptop.c.
#define FUJLAPTOP_NOTICE KERN_NOTICE FUJLAPTOP_LOG |
Definition at line 123 of file fujitsu-laptop.c.
#define FUNC_BACKLIGHT 0x1004 |
Definition at line 97 of file fujitsu-laptop.c.
#define FUNC_BUTTONS 0x1002 |
Definition at line 96 of file fujitsu-laptop.c.
#define FUNC_LEDS 0x1001 |
Definition at line 95 of file fujitsu-laptop.c.
#define FUNC_RFKILL 0x1000 |
Definition at line 94 of file fujitsu-laptop.c.
#define KEY1_CODE 0x410 /* codes for the keys in the GIRB register */ |
Definition at line 112 of file fujitsu-laptop.c.
#define KEY2_CODE 0x411 |
Definition at line 113 of file fujitsu-laptop.c.
#define KEY3_CODE 0x412 |
Definition at line 114 of file fujitsu-laptop.c.
#define KEY4_CODE 0x413 |
Definition at line 115 of file fujitsu-laptop.c.
#define MAX_HOTKEY_RINGBUFFER_SIZE 100 |
Definition at line 117 of file fujitsu-laptop.c.
Definition at line 59 of file fujitsu-laptop.c.
#define RINGBUFFERSIZE 40 |
Definition at line 118 of file fujitsu-laptop.c.
#define UNSUPPORTED_CMD 0x80000000 |
Definition at line 100 of file fujitsu-laptop.c.
#define vdbg_printk | ( | a_dbg_level, | |
format, | |||
arg... | |||
) |
Definition at line 141 of file fujitsu-laptop.c.
MODULE_ALIAS | ( | "dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1D3:*:cvrS6410:*" | ) |
MODULE_ALIAS | ( | "dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1E6:*:cvrS6420:*" | ) |
MODULE_ALIAS | ( | "dmi:*:svnFUJITSU:*:pvr:rvnFUJITSU:rnFJNB19C:*:cvrS7020:*" | ) |
MODULE_AUTHOR | ( | "Jonathan | Woithe, |
Peter | Gruber, | ||
Tony Vroon" | |||
) |
MODULE_DESCRIPTION | ( | "Fujitsu laptop extras support" | ) |
MODULE_DEVICE_TABLE | ( | pnp | , |
pnp_ids | |||
) |
module_exit | ( | fujitsu_cleanup | ) |
module_init | ( | fujitsu_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | use_alt_lcd_levels | , |
uint | , | ||
0644 | |||
) |
module_param | ( | disable_brightness_adjust | , |
uint | , | ||
0644 | |||
) |
MODULE_PARM_DESC | ( | use_alt_lcd_levels | , |
"Use alternative interface for lcd_levels (needed for Lifebook s6410)." | |||
) |
MODULE_PARM_DESC | ( | disable_brightness_adjust | , |
"Disable brightness adjustment ." | |||
) |
MODULE_VERSION | ( | FUJITSU_DRIVER_VERSION | ) |