#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/acpi.h>
#include <linux/signal.h>
#include <linux/kthread.h>
#include <linux/dmi.h>
#include <linux/nls.h>
#include <acpi/acpi_drivers.h>
#include "internal.h"
Go to the source code of this file.
#define ACPI_BUS_CLASS "system_bus" |
#define ACPI_BUS_DEVICE_NAME "System Bus" |
#define ACPI_BUS_HID "LNXSYBUS" |
#define STRUCT_TO_INT |
( |
|
s | ) |
(*((int*)&s)) |
void acpi_bus_hot_remove_device |
( |
void * |
context | ) |
|
acpi_bus_hot_remove_device: hot-remove a device and its children : struct acpi_eject_event pointer (freed in this func)
Hot-remove a device and its children. This function frees up the memory space passed by arg context, so that the caller may call this function asynchronously through acpi_os_hotplug_execute().
Definition at line 95 of file scan.c.
int acpi_bus_register_driver |
( |
struct acpi_driver * |
driver | ) |
|
acpi_bus_register_driver - register a driver with the ACPI bus : driver being registered
Registers a driver with the ACPI bus. Searches the namespace for all devices that match the driver's criteria and binds. Returns zero for success or a negative error status for failure.
Definition at line 680 of file scan.c.
int acpi_bus_start |
( |
struct acpi_device * |
device | ) |
|
int acpi_bus_trim |
( |
struct acpi_device * |
start, |
|
|
int |
rmdevice |
|
) |
| |
void acpi_bus_unregister_driver |
( |
struct acpi_driver * |
driver | ) |
|
acpi_bus_unregister_driver - unregisters a driver with the APIC bus : driver to unregister
Unregisters a driver with the ACPI bus. Searches the namespace for all devices that match the driver's criteria and unbinds.
Definition at line 703 of file scan.c.
ACPI_MODULE_NAME |
( |
"scan" |
| ) |
|
Initial value:= {
.name = "acpi",
.match = acpi_bus_match,
.probe = acpi_device_probe,
.remove = acpi_device_remove,
.uevent = acpi_device_uevent,
}
Definition at line 512 of file scan.c.
Definition at line 51 of file bus.c.