Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/acpica/acpivar.h
Show First 20 Lines • Show All 365 Lines • ▼ Show 20 Lines | |||||
ACPI_STATUS acpi_Startup(void); | ACPI_STATUS acpi_Startup(void); | ||||
void acpi_UserNotify(const char *subsystem, ACPI_HANDLE h, | void acpi_UserNotify(const char *subsystem, ACPI_HANDLE h, | ||||
uint8_t notify); | uint8_t notify); | ||||
int acpi_bus_alloc_gas(device_t dev, int *type, int *rid, | int acpi_bus_alloc_gas(device_t dev, int *type, int *rid, | ||||
ACPI_GENERIC_ADDRESS *gas, struct resource **res, | ACPI_GENERIC_ADDRESS *gas, struct resource **res, | ||||
u_int flags); | u_int flags); | ||||
void acpi_walk_subtables(void *first, void *end, | void acpi_walk_subtables(void *first, void *end, | ||||
acpi_subtable_handler *handler, void *arg); | acpi_subtable_handler *handler, void *arg); | ||||
BOOLEAN acpi_MatchHid(ACPI_HANDLE h, const char *hid); | int acpi_MatchHid(ACPI_HANDLE h, const char *hid); | ||||
#define ACPI_MATCHHID_NOMATCH 0 | |||||
#define ACPI_MATCHHID_HID 1 | |||||
#define ACPI_MATCHHID_CID 2 | |||||
struct acpi_parse_resource_set { | struct acpi_parse_resource_set { | ||||
void (*set_init)(device_t dev, void *arg, void **context); | void (*set_init)(device_t dev, void *arg, void **context); | ||||
void (*set_done)(device_t dev, void *context); | void (*set_done)(device_t dev, void *context); | ||||
void (*set_ioport)(device_t dev, void *context, uint64_t base, | void (*set_ioport)(device_t dev, void *context, uint64_t base, | ||||
uint64_t length); | uint64_t length); | ||||
void (*set_iorange)(device_t dev, void *context, uint64_t low, | void (*set_iorange)(device_t dev, void *context, uint64_t low, | ||||
uint64_t high, uint64_t length, uint64_t align); | uint64_t high, uint64_t length, uint64_t align); | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |