|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <uacpi/kernel_api.h>#include <uacpi/internal/opregion.h>#include <uacpi/internal/namespace.h>#include <uacpi/internal/stdlib.h>#include <uacpi/internal/log.h>#include <uacpi/internal/utilities.h>#include <uacpi/internal/mutex.h>#include <uacpi/internal/interpreter.h>
Go to the source code of this file.
Classes | |
| struct | opregion_iter_ctx |
| struct | reg_run_ctx |
Enumerations | |
| enum | unreg { UNREG_NO = 0 , UNREG_YES } |
| enum | opregion_iter_action { OPREGION_ITER_ACTION_UNINSTALL , OPREGION_ITER_ACTION_INSTALL } |
Variables | |
| struct uacpi_recursive_lock | g_opregion_lock |
| Enumerator | |
|---|---|
| OPREGION_ITER_ACTION_UNINSTALL | |
| OPREGION_ITER_ACTION_INSTALL | |
Definition at line 415 of file opregion.c.
| Enumerator | |
|---|---|
| UNREG_NO | |
| UNREG_YES | |
Definition at line 311 of file opregion.c.
|
static |
Definition at line 425 of file opregion.c.
Referenced by uacpi_install_address_space_handler_with_flags(), and uacpi_uninstall_address_space_handler().
|
static |
Definition at line 480 of file opregion.c.
Referenced by reg_or_unreg_all_opregions().
|
static |
Definition at line 565 of file opregion.c.
Referenced by uacpi_install_address_space_handler_with_flags(), uacpi_reg_all_opregions(), and uacpi_uninstall_address_space_handler().
|
static |
Definition at line 193 of file opregion.c.
Referenced by do_install_or_uninstall_handler(), reg_or_unreg_all_opregions(), uacpi_initialize_opregion_node(), uacpi_install_address_space_handler_with_flags(), and uacpi_uninstall_address_space_handler().
|
static |
Definition at line 210 of file opregion.c.
Referenced by region_uninstall_handler().
|
static |
Definition at line 520 of file opregion.c.
Referenced by uacpi_install_address_space_handler_with_flags(), uacpi_reg_all_opregions(), and uacpi_uninstall_address_space_handler().
|
static |
Definition at line 297 of file opregion.c.
Referenced by do_install_or_uninstall_handler(), and uacpi_initialize_opregion_node().
|
static |
Definition at line 122 of file opregion.c.
Referenced by do_run_reg(), region_uninstall_handler(), and uacpi_initialize_opregion_node().
|
static |
Definition at line 316 of file opregion.c.
Referenced by do_install_or_uninstall_handler(), and uacpi_opregion_uninstall_handler().
|
static |
Definition at line 842 of file opregion.c.
Referenced by uacpi_dispatch_opregion_io().
|
static |
Definition at line 112 of file opregion.c.
Referenced by uacpi_initialize_opregion_node(), uacpi_install_address_space_handler_with_flags(), uacpi_reg_all_opregions(), and uacpi_uninstall_address_space_handler().
|
static |
Definition at line 47 of file opregion.c.
Referenced by uacpi_dispatch_opregion_io().
| uacpi_bool uacpi_address_space_handler_is_default | ( | uacpi_address_space_handler * | handler | ) |
Definition at line 408 of file opregion.c.
Referenced by uacpi_namespace_initialize().
Definition at line 20 of file opregion.c.
Referenced by uacpi_state_reset().
| uacpi_status uacpi_dispatch_opregion_io | ( | uacpi_field_unit * | field, |
| uacpi_u32 | offset, | ||
| uacpi_region_op | op, | ||
| union uacpi_opregion_io_data | data | ||
| ) |
Definition at line 848 of file opregion.c.
Referenced by access_field_unit().
| uacpi_status uacpi_initialize_opregion | ( | void | ) |
Definition at line 15 of file opregion.c.
Referenced by uacpi_initialize().
| uacpi_status uacpi_initialize_opregion_node | ( | uacpi_namespace_node * | node | ) |
Definition at line 783 of file opregion.c.
Referenced by handle_create_data_region(), and handle_create_op_region().
| uacpi_status uacpi_install_address_space_handler | ( | uacpi_namespace_node * | device_node, |
| enum uacpi_address_space | space, | ||
| uacpi_region_handler | handler, | ||
| uacpi_handle | handler_context | ||
| ) |
Definition at line 701 of file opregion.c.
| uacpi_status uacpi_install_address_space_handler_with_flags | ( | uacpi_namespace_node * | device_node, |
| enum uacpi_address_space | space, | ||
| uacpi_region_handler | handler, | ||
| uacpi_handle | handler_context, | ||
| uacpi_u16 | flags | ||
| ) |
Definition at line 620 of file opregion.c.
Referenced by uacpi_install_address_space_handler(), and uacpi_install_default_address_space_handlers().
| uacpi_bool uacpi_is_buffer_access_address_space | ( | uacpi_address_space | space | ) |
Definition at line 828 of file opregion.c.
Referenced by space_needs_bounds_checking(), uacpi_field_unit_get_bit_length(), and uacpi_field_unit_get_read_type().
| uacpi_address_space_handlers * uacpi_node_get_address_space_handlers | ( | uacpi_namespace_node * | node | ) |
Definition at line 170 of file opregion.c.
Referenced by do_install_or_uninstall_handler(), reg_or_unreg_all_opregions(), uacpi_initialize_opregion_node(), and uacpi_namespace_initialize().
| uacpi_status uacpi_opregion_attach | ( | uacpi_namespace_node * | node | ) |
Definition at line 231 of file opregion.c.
Referenced by uacpi_dispatch_opregion_io().
| void uacpi_opregion_uninstall_handler | ( | uacpi_namespace_node * | node | ) |
Definition at line 398 of file opregion.c.
Referenced by namespace_node_detach_object(), and opregion_try_detach_from_parent().
| uacpi_status uacpi_reg_all_opregions | ( | uacpi_namespace_node * | device_node, |
| enum uacpi_address_space | space | ||
| ) |
Definition at line 585 of file opregion.c.
Referenced by uacpi_namespace_initialize().
| void uacpi_trace_region_error | ( | uacpi_namespace_node * | node, |
| uacpi_char * | message, | ||
| uacpi_status | ret | ||
| ) |
Definition at line 25 of file opregion.c.
Referenced by do_install_or_uninstall_handler(), find_pci_root(), handle_special_field(), io_region_attach(), memory_region_attach(), pci_region_attach(), region_run_reg(), region_uninstall_handler(), and uacpi_dispatch_opregion_io().
| uacpi_status uacpi_uninstall_address_space_handler | ( | uacpi_namespace_node * | device_node, |
| enum uacpi_address_space | space | ||
| ) |
Definition at line 711 of file opregion.c.
|
static |
Definition at line 383 of file opregion.c.
Referenced by uacpi_dispatch_opregion_io(), uacpi_initialize_opregion_node(), and uacpi_opregion_uninstall_handler().
| struct uacpi_recursive_lock g_opregion_lock |
Definition at line 13 of file opregion.c.
Referenced by uacpi_deinitialize_opregion(), uacpi_dispatch_opregion_io(), uacpi_initialize_opregion(), uacpi_initialize_opregion_node(), uacpi_install_address_space_handler_with_flags(), uacpi_opregion_uninstall_handler(), uacpi_reg_all_opregions(), uacpi_uninstall_address_space_handler(), and upgrade_to_opregion_lock().