Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/memory_hotplug.h>
#include <linux/slab.h>
#include <acpi/acpi_drivers.h>
Go to the source code of this file.
Data Structures | |
struct | acpi_memory_info |
struct | acpi_memory_device |
Macros | |
#define | ACPI_MEMORY_DEVICE_CLASS "memory" |
#define | ACPI_MEMORY_DEVICE_HID "PNP0C80" |
#define | ACPI_MEMORY_DEVICE_NAME "Hotplug Mem Device" |
#define | _COMPONENT ACPI_MEMORY_DEVICE_COMPONENT |
#define | PREFIX "ACPI:memory_hp:" |
#define | MEMORY_INVALID_STATE 0 |
#define | MEMORY_POWER_ON_STATE 1 |
#define | MEMORY_POWER_OFF_STATE 2 |
Functions | |
ACPI_MODULE_NAME ("acpi_memhotplug") | |
MODULE_AUTHOR ("Naveen B S <naveen.b.s@intel.com>") | |
MODULE_DESCRIPTION ("Hotplug Mem Driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_DEVICE_TABLE (acpi, memory_device_ids) | |
module_init (acpi_memory_device_init) | |
module_exit (acpi_memory_device_exit) | |
#define _COMPONENT ACPI_MEMORY_DEVICE_COMPONENT |
Definition at line 40 of file acpi_memhotplug.c.
#define ACPI_MEMORY_DEVICE_CLASS "memory" |
Definition at line 36 of file acpi_memhotplug.c.
#define ACPI_MEMORY_DEVICE_HID "PNP0C80" |
Definition at line 37 of file acpi_memhotplug.c.
#define ACPI_MEMORY_DEVICE_NAME "Hotplug Mem Device" |
Definition at line 38 of file acpi_memhotplug.c.
#define MEMORY_INVALID_STATE 0 |
Definition at line 51 of file acpi_memhotplug.c.
#define MEMORY_POWER_OFF_STATE 2 |
Definition at line 53 of file acpi_memhotplug.c.
#define MEMORY_POWER_ON_STATE 1 |
Definition at line 52 of file acpi_memhotplug.c.
#define PREFIX "ACPI:memory_hp:" |
Definition at line 43 of file acpi_memhotplug.c.
ACPI_MODULE_NAME | ( | "acpi_memhotplug" | ) |
MODULE_AUTHOR | ( | "Naveen B S <naveen.b.s@intel.com>" | ) |
MODULE_DESCRIPTION | ( | "Hotplug Mem Driver" | ) |
MODULE_DEVICE_TABLE | ( | acpi | , |
memory_device_ids | |||
) |
module_exit | ( | acpi_memory_device_exit | ) |
module_init | ( | acpi_memory_device_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |