ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

acpi_bus.h File Reference
#include <acpi.h>
#include "list.h"

Go to the source code of this file.

Data Structures

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

Defines

#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 [9]
typedef char acpi_unique_id [9]
typedef char acpi_device_name [40]
typedef char acpi_device_class [20]

Enumerations

enum  acpi_bus_removal_type { ACPI_BUS_REMOVAL_NORMAL = 0, ACPI_BUS_REMOVAL_EJECT, ACPI_BUS_REMOVAL_SUPRISE, ACPI_BUS_REMOVAL_TYPE_COUNT }
enum  acpi_bus_device_type {
  ACPI_BUS_TYPE_DEVICE = 0, ACPI_BUS_TYPE_POWER, ACPI_BUS_TYPE_PROCESSOR, ACPI_BUS_TYPE_THERMAL,
  ACPI_BUS_TYPE_SYSTEM, ACPI_BUS_TYPE_POWER_BUTTON, ACPI_BUS_TYPE_SLEEP_BUTTON, ACPI_BUS_TYPE_POWER_BUTTONF,
  ACPI_BUS_TYPE_SLEEP_BUTTONF, ACPI_BUS_DEVICE_TYPE_COUNT
}
enum  acpi_irq_model_id { ACPI_IRQ_MODEL_PIC = 0, ACPI_IRQ_MODEL_IOAPIC, ACPI_IRQ_MODEL_IOSAPIC, ACPI_IRQ_MODEL_COUNT }

Functions

ACPI_STATUS acpi_extract_package (ACPI_OBJECT *package, ACPI_BUFFER *format, ACPI_BUFFER *buffer)
ACPI_STATUS acpi_evaluate_integer (ACPI_HANDLE handle, ACPI_STRING pathname, struct acpi_object_list *arguments, unsigned long long *data)
ACPI_STATUS acpi_evaluate_reference (ACPI_HANDLE handle, ACPI_STRING pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list)
int acpi_bus_get_private_data (ACPI_HANDLE, void **)
void acpi_bus_data_handler (ACPI_HANDLE handle, void *context)
ACPI_STATUS acpi_bus_get_status_handle (ACPI_HANDLE handle, unsigned long long *sta)
int acpi_bus_get_status (struct acpi_device *device)
int acpi_bus_get_power (ACPI_HANDLE handle, int *state)
int acpi_bus_set_power (ACPI_HANDLE handle, int state)
BOOLEAN acpi_bus_power_manageable (ACPI_HANDLE handle)
BOOLEAN acpi_bus_can_wakeup (ACPI_HANDLE handle)
int acpi_bus_generate_proc_event (struct acpi_device *device, UINT8 type, int data)
int acpi_bus_generate_event (struct acpi_device *device, UINT8 type, int data)
int acpi_bus_receive_event (struct acpi_bus_event *event)
int acpi_bus_register_driver (struct acpi_driver *driver)
void acpi_bus_unregister_driver (struct acpi_driver *driver)
int acpi_bus_add (struct acpi_device **child, struct acpi_device *parent, ACPI_HANDLE handle, int type)
int acpi_bus_trim (struct acpi_device *start, int rmdevice)
int acpi_bus_start (struct acpi_device *device)
ACPI_STATUS acpi_bus_get_ejd (ACPI_HANDLE handle, ACPI_HANDLE *ejd)
int acpi_match_device_ids (struct acpi_device *device, const struct acpi_device_id *ids)
int acpi_bus_get_device (ACPI_HANDLE handle, struct acpi_device **device)
int acpi_init (void)
ACPI_STATUS acpi_suspend (UINT32 state)

Variables

struct bus_type acpi_bus_type
enum acpi_irq_model_id acpi_irq_model

Generated on Sun May 27 2012 05:23:00 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.