#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/capability.h>
#include <linux/ctype.h>
#include <linux/sysfs.h>
#include <linux/kobject.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <asm/pdc.h>
#include <asm/page.h>
#include <asm/uaccess.h>
#include <asm/hardware.h>
Go to the source code of this file.
|
#define | DPRINTK(fmt, args...) |
|
#define | PDCS_VERSION "0.30" |
|
#define | PDCS_PREFIX "PDC Stable Storage" |
|
#define | PDCS_ADDR_PPRI 0x00 |
|
#define | PDCS_ADDR_OSID 0x40 |
|
#define | PDCS_ADDR_OSD1 0x48 |
|
#define | PDCS_ADDR_DIAG 0x58 |
|
#define | PDCS_ADDR_FSIZ 0x5C |
|
#define | PDCS_ADDR_PCON 0x60 |
|
#define | PDCS_ADDR_PALT 0x80 |
|
#define | PDCS_ADDR_PKBD 0xA0 |
|
#define | PDCS_ADDR_OSD2 0xE0 |
|
#define | PDCSPATH_ENTRY(_addr, _name) |
|
#define | PDCS_ATTR(_name, _mode, _show, _store) |
|
#define | PATHS_ATTR(_name, _mode, _show, _store) |
|
#define | to_pdcspath_attribute(_attr) container_of(_attr, struct pdcspath_attribute, attr) |
|
#define | to_pdcspath_entry(obj) container_of(obj, struct pdcspath_entry, kobj) |
|
#define DPRINTK |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
#define PATHS_ATTR |
( |
|
_name, |
|
|
|
_mode, |
|
|
|
_show, |
|
|
|
_store |
|
) |
| |
Value:
.show = _show, \
.store = _store, \
};
Definition at line 129 of file pdc_stable.c.
#define PDCS_ADDR_DIAG 0x58 |
#define PDCS_ADDR_FSIZ 0x5C |
#define PDCS_ADDR_OSD1 0x48 |
#define PDCS_ADDR_OSD2 0xE0 |
#define PDCS_ADDR_OSID 0x40 |
#define PDCS_ADDR_PALT 0x80 |
#define PDCS_ADDR_PCON 0x60 |
#define PDCS_ADDR_PKBD 0xA0 |
#define PDCS_ADDR_PPRI 0x00 |
#define PDCS_ATTR |
( |
|
_name, |
|
|
|
_mode, |
|
|
|
_show, |
|
|
|
_store |
|
) |
| |
Value:
.show = _show, \
.store = _store, \
};
Definition at line 122 of file pdc_stable.c.
#define PDCS_PREFIX "PDC Stable Storage" |
#define PDCS_VERSION "0.30" |
#define PDCSPATH_ENTRY |
( |
|
_addr, |
|
|
|
_name |
|
) |
| |
MODULE_DESCRIPTION |
( |
"sysfs interface to HP PDC Stable Storage data" |
| ) |
|
module_exit |
( |
pdc_stable_exit |
| ) |
|
module_init |
( |
pdc_stable_init |
| ) |
|