ReactOS 0.4.16-dev-91-g764881a
|
Go to the source code of this file.
Classes | |
struct | acpi_handle_list |
struct | acpi_bus_ops |
struct | acpi_device_ops |
struct | acpi_driver |
struct | acpi_device_status |
struct | acpi_device_flags |
struct | acpi_device_pnp |
struct | acpi_device_power_flags |
struct | acpi_device_power_state |
struct | acpi_device_power |
struct | acpi_device_perf_flags |
struct | acpi_device_perf_state |
struct | acpi_device_perf |
struct | acpi_device_wakeup_flags |
struct | acpi_device_wakeup_state |
struct | acpi_device_wakeup |
struct | acpi_device |
struct | acpi_bus_event |
struct | acpi_pci_root |
Macros | |
#define | ACPI_MAX_HANDLES 10 |
#define | ACPI_DRIVER_ALL_NOTIFY_EVENTS 0x1 /* system AND device events */ |
#define | acpi_device_bid(d) ((d)->pnp.bus_id) |
#define | acpi_device_adr(d) ((d)->pnp.bus_address) |
#define | acpi_device_hid(d) ((d)->pnp.hardware_id) |
#define | acpi_device_uid(d) ((d)->pnp.unique_id) |
#define | acpi_device_name(d) ((d)->pnp.device_name) |
#define | acpi_device_class(d) ((d)->pnp.device_class) |
#define | acpi_driver_data(d) ((d)->driver_data) |
#define | to_acpi_device(d) container_of(d, struct acpi_device, dev) |
#define | to_acpi_driver(d) container_of(d, struct acpi_driver, drv) |
Typedefs | |
typedef int(* | acpi_op_add) (struct acpi_device *device) |
typedef int(* | acpi_op_remove) (struct acpi_device *device, int type) |
typedef int(* | acpi_op_start) (struct acpi_device *device) |
typedef int(* | acpi_op_suspend) (struct acpi_device *device, int state) |
typedef int(* | acpi_op_resume) (struct acpi_device *device, int state) |
typedef int(* | acpi_op_scan) (struct acpi_device *device) |
typedef int(* | acpi_op_bind) (struct acpi_device *device) |
typedef int(* | acpi_op_unbind) (struct acpi_device *device) |
typedef void(* | acpi_op_notify) (struct acpi_device *device, UINT32 event) |
typedef char | acpi_bus_id[8] |
typedef unsigned long | acpi_bus_address |
typedef char * | acpi_hardware_id |
typedef char | acpi_unique_id[9] |
typedef char | acpi_device_name[40] |
typedef char | acpi_device_class[20] |
Variables | |
struct bus_type | acpi_bus_type |
enum acpi_irq_model_id | acpi_irq_model |
Definition at line 187 of file acpi_bus.h.
Definition at line 186 of file acpi_bus.h.
Definition at line 191 of file acpi_bus.h.
Definition at line 188 of file acpi_bus.h.
#define acpi_device_name | ( | d | ) | ((d)->pnp.device_name) |
Definition at line 190 of file acpi_bus.h.
Definition at line 189 of file acpi_bus.h.
Definition at line 119 of file acpi_bus.h.
Definition at line 289 of file acpi_bus.h.
#define ACPI_MAX_HANDLES 10 |
Definition at line 35 of file acpi_bus.h.
#define to_acpi_device | ( | d | ) | container_of(d, struct acpi_device, dev) |
Definition at line 291 of file acpi_bus.h.
#define to_acpi_driver | ( | d | ) | container_of(d, struct acpi_driver, drv) |
Definition at line 292 of file acpi_bus.h.
typedef unsigned long acpi_bus_address |
Definition at line 170 of file acpi_bus.h.
typedef char acpi_bus_id[8] |
Definition at line 169 of file acpi_bus.h.
typedef char acpi_device_class[20] |
Definition at line 174 of file acpi_bus.h.
typedef char acpi_device_name[40] |
Definition at line 173 of file acpi_bus.h.
typedef char* acpi_hardware_id |
Definition at line 171 of file acpi_bus.h.
typedef int(* acpi_op_add) (struct acpi_device *device) |
Definition at line 92 of file acpi_bus.h.
typedef int(* acpi_op_bind) (struct acpi_device *device) |
Definition at line 98 of file acpi_bus.h.
Definition at line 100 of file acpi_bus.h.
Definition at line 93 of file acpi_bus.h.
Definition at line 96 of file acpi_bus.h.
typedef int(* acpi_op_scan) (struct acpi_device *device) |
Definition at line 97 of file acpi_bus.h.
typedef int(* acpi_op_start) (struct acpi_device *device) |
Definition at line 94 of file acpi_bus.h.
Definition at line 95 of file acpi_bus.h.
typedef int(* acpi_op_unbind) (struct acpi_device *device) |
Definition at line 99 of file acpi_bus.h.
typedef char acpi_unique_id[9] |
Definition at line 172 of file acpi_bus.h.
Definition at line 70 of file acpi_bus.h.
Enumerator | |
---|---|
ACPI_BUS_REMOVAL_NORMAL | |
ACPI_BUS_REMOVAL_EJECT | |
ACPI_BUS_REMOVAL_SUPRISE | |
ACPI_BUS_REMOVAL_TYPE_COUNT |
Definition at line 63 of file acpi_bus.h.
Enumerator | |
---|---|
ACPI_IRQ_MODEL_PIC | |
ACPI_IRQ_MODEL_IOAPIC | |
ACPI_IRQ_MODEL_IOSAPIC | |
ACPI_IRQ_MODEL_COUNT |
Definition at line 384 of file acpi_bus.h.
int acpi_bus_add | ( | struct acpi_device ** | child, |
struct acpi_device * | parent, | ||
ACPI_HANDLE | handle, | ||
int | type | ||
) |
Definition at line 1130 of file bus.c.
Referenced by acpi_bus_init(), acpi_bus_scan(), and acpi_bus_scan_fixed().
BOOLEAN acpi_bus_can_wakeup | ( | ACPI_HANDLE | handle | ) |
void acpi_bus_data_handler | ( | ACPI_HANDLE | handle, |
void * | context | ||
) |
Definition at line 95 of file bus.c.
Referenced by acpi_bus_add(), and acpi_bus_get_device().
int acpi_bus_generate_event | ( | struct acpi_device * | device, |
UINT8 | type, | ||
int | data | ||
) |
Definition at line 485 of file bus.c.
Referenced by acpi_button_notify().
int acpi_bus_generate_proc_event | ( | struct acpi_device * | device, |
UINT8 | type, | ||
int | data | ||
) |
int acpi_bus_get_device | ( | ACPI_HANDLE | handle, |
struct acpi_device ** | device | ||
) |
Definition at line 108 of file bus.c.
Referenced by acpi_bus_can_wakeup(), acpi_bus_check_device(), acpi_bus_get_power(), acpi_bus_notify(), acpi_bus_power_manageable(), acpi_bus_set_power(), acpi_power_get_context(), Bus_PDO_PnP(), Bus_PDO_QueryDeviceCaps(), Bus_PDO_QueryDeviceId(), Bus_PDO_QueryResources(), and Bus_PlugInDevice().
ACPI_STATUS acpi_bus_get_ejd | ( | ACPI_HANDLE | handle, |
ACPI_HANDLE * | ejd | ||
) |
int acpi_bus_get_power | ( | ACPI_HANDLE | handle, |
int * | state | ||
) |
Definition at line 198 of file bus.c.
Referenced by acpi_bus_set_power(), and Bus_InitializePdo().
int acpi_bus_get_private_data | ( | ACPI_HANDLE | handle, |
void ** | data | ||
) |
int acpi_bus_get_status | ( | struct acpi_device * | device | ) |
Definition at line 147 of file bus.c.
Referenced by acpi_bus_add(), and acpi_bus_check_device().
ACPI_STATUS acpi_bus_get_status_handle | ( | ACPI_HANDLE | handle, |
unsigned long long * | sta | ||
) |
BOOLEAN acpi_bus_power_manageable | ( | ACPI_HANDLE | handle | ) |
Definition at line 351 of file bus.c.
Referenced by Bus_PDO_PnP(), and Bus_PDO_Power().
int acpi_bus_receive_event | ( | struct acpi_bus_event * | event | ) |
Definition at line 513 of file bus.c.
Referenced by ButtonWaitThread().
int acpi_bus_register_driver | ( | struct acpi_driver * | driver | ) |
Registers a driver with the ACPI bus. Searches the namespace for all devices that match the driver's criteria and binds.
Definition at line 1029 of file bus.c.
Referenced by acpi_button_init(), acpi_power_init(), and acpi_system_init().
int acpi_bus_set_power | ( | ACPI_HANDLE | handle, |
int | state | ||
) |
Definition at line 249 of file bus.c.
Referenced by Bus_PDO_PnP(), and Bus_PDO_Power().
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 | ) |
Unregisters a driver with the ACPI bus. Searches the namespace for all devices that match the driver's criteria and unbinds.
Definition at line 1056 of file bus.c.
Referenced by acpi_button_exit(), and acpi_system_exit().
Definition at line 525 of file utils.c.
Referenced by Bus_StartFdo().
ACPI_STATUS acpi_evaluate_integer | ( | ACPI_HANDLE | handle, |
ACPI_STRING | pathname, | ||
struct acpi_object_list * | arguments, | ||
unsigned long long * | data | ||
) |
Definition at line 242 of file utils.c.
Referenced by acpi_bus_get_power(), acpi_bus_get_status_handle(), acpi_power_get_state(), and Bus_PDO_QueryResources().
ACPI_STATUS acpi_evaluate_reference | ( | ACPI_HANDLE | handle, |
ACPI_STRING | pathname, | ||
struct acpi_object_list * | arguments, | ||
struct acpi_handle_list * | list | ||
) |
Definition at line 277 of file utils.c.
Referenced by acpi_bus_get_power_flags().
ACPI_STATUS acpi_extract_package | ( | ACPI_OBJECT * | package, |
ACPI_BUFFER * | format, | ||
ACPI_BUFFER * | buffer | ||
) |
Definition at line 60 of file utils.c.
Definition at line 1754 of file bus.c.
Referenced by Bus_StartFdo().
int acpi_match_device_ids | ( | struct acpi_device * | device, |
const struct acpi_pnp_device_id * | ids | ||
) |
ACPI_STATUS acpi_suspend | ( | UINT32 | state | ) |
acpi_suspend - OS-agnostic system suspend/resume support (S? states) @state: state we're entering
Definition at line 347 of file system.c.
Referenced by Bus_FDO_Power().
|
extern |
|
extern |