|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <uacpi/internal/io.h>#include <uacpi/internal/stdlib.h>#include <uacpi/internal/log.h>#include <uacpi/internal/opregion.h>#include <uacpi/internal/utilities.h>#include <uacpi/internal/mutex.h>#include <uacpi/internal/namespace.h>
Go to the source code of this file.
Classes | |
| struct | bit_span |
| union | integer_data |
Macros | |
| #define | OPREGION_IO_U64(x) (union uacpi_opregion_io_data) { .integer = x } |
| #define | SERIAL_HEADER_SIZE 2 |
| #define | IPMI_DATA_SIZE 64 |
| #define OPREGION_IO_U64 | ( | x | ) | (union uacpi_opregion_io_data) { .integer = x } |
|
static |
Definition at line 179 of file io.c.
Referenced by do_read_misaligned_field_unit(), handle_special_field(), uacpi_read_field_unit(), and write_generic_field_unit().
Definition at line 48 of file io.c.
Referenced by do_misaligned_buffer_read(), do_read_misaligned_field_unit(), do_write_misaligned_buffer_field(), and write_generic_field_unit().
|
static |
Definition at line 38 of file io.c.
Referenced by do_read_misaligned_field_unit(), and write_generic_field_unit().
|
static |
Definition at line 16 of file io.c.
Referenced by uacpi_read_buffer_field(), and uacpi_read_field_unit().
|
static |
|
static |
Definition at line 408 of file io.c.
Referenced by uacpi_read_field_unit().
|
static |
Definition at line 655 of file io.c.
Referenced by gas_validate().
|
static |
Definition at line 701 of file io.c.
Referenced by uacpi_map_gas_noalloc().
|
static |
Definition at line 313 of file io.c.
Referenced by uacpi_read_field_unit(), and uacpi_write_field_unit().
| uacpi_status uacpi_field_unit_get_bit_length | ( | struct uacpi_field_unit * | field, |
| uacpi_size * | out_length | ||
| ) |
Definition at line 626 of file io.c.
Referenced by field_byte_size().
| uacpi_status uacpi_field_unit_get_read_type | ( | struct uacpi_field_unit * | field, |
| uacpi_object_type * | out_type | ||
| ) |
Definition at line 597 of file io.c.
Referenced by field_get_read_type().
| uacpi_status uacpi_gas_read | ( | const struct acpi_gas * | gas, |
| uacpi_u64 * | out_value | ||
| ) |
| uacpi_status uacpi_gas_read_mapped | ( | const uacpi_mapped_gas * | gas, |
| uacpi_u64 * | out_value | ||
| ) |
Definition at line 751 of file io.c.
Referenced by detect_gpes(), do_read_one(), maybe_dispatch_gpe(), set_gpe_state(), uacpi_gas_read(), and uacpi_gpe_info().
| uacpi_status uacpi_gas_write | ( | const struct acpi_gas * | gas, |
| uacpi_u64 | in_value | ||
| ) |
| uacpi_status uacpi_gas_write_mapped | ( | const uacpi_mapped_gas * | gas, |
| uacpi_u64 | in_value | ||
| ) |
Definition at line 790 of file io.c.
Referenced by clear_gpe(), create_gpe_block(), do_write_one(), gpe_block_apply_action(), gpe_block_mask_safe(), set_gpe_state(), and uacpi_gas_write().
| uacpi_status uacpi_map_gas | ( | const struct acpi_gas * | gas, |
| uacpi_mapped_gas ** | out_mapped | ||
| ) |
| uacpi_status uacpi_map_gas_noalloc | ( | const struct acpi_gas * | gas, |
| uacpi_mapped_gas * | out_mapped | ||
| ) |
Definition at line 832 of file io.c.
Referenced by create_gpe_block(), map_one(), uacpi_gas_read(), uacpi_gas_write(), and uacpi_map_gas().
| uacpi_status uacpi_pci_read | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u8 | width, | ||
| uacpi_u64 * | out | ||
| ) |
Definition at line 1048 of file io.c.
Referenced by pci_region_do_rw().
| uacpi_status uacpi_pci_write | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u8 | width, | ||
| uacpi_u64 | in | ||
| ) |
Definition at line 1080 of file io.c.
Referenced by pci_region_do_rw().
| void uacpi_read_buffer_field | ( | const uacpi_buffer_field * | field, |
| void * | dst | ||
| ) |
Definition at line 114 of file io.c.
Referenced by handle_field_read(), and handle_inc_dec().
| uacpi_status uacpi_read_field_unit | ( | uacpi_field_unit * | field, |
| void * | dst, | ||
| uacpi_size | size, | ||
| uacpi_data_view * | wtr_response | ||
| ) |
Definition at line 459 of file io.c.
Referenced by access_field_unit(), handle_field_read(), and handle_inc_dec().
| uacpi_size uacpi_round_up_bits_to_bytes | ( | uacpi_size | bit_length | ) |
Definition at line 11 of file io.c.
Referenced by do_misaligned_buffer_read(), field_byte_size(), uacpi_read_buffer_field(), uacpi_read_field_unit(), and uacpi_write_buffer_field().
| uacpi_status uacpi_system_io_read | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u8 | width, | ||
| uacpi_u64 * | out | ||
| ) |
Definition at line 989 of file io.c.
Referenced by io_region_do_rw(), and uacpi_map_gas_noalloc().
| uacpi_status uacpi_system_io_write | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u8 | width, | ||
| uacpi_u64 | in | ||
| ) |
Definition at line 1021 of file io.c.
Referenced by io_region_do_rw(), and uacpi_map_gas_noalloc().
| uacpi_status uacpi_system_memory_read | ( | void * | ptr, |
| uacpi_size | offset, | ||
| uacpi_u8 | width, | ||
| uacpi_u64 * | out | ||
| ) |
Definition at line 930 of file io.c.
Referenced by memory_region_do_rw(), table_data_region_do_rw(), and uacpi_map_gas_noalloc().
| uacpi_status uacpi_system_memory_write | ( | void * | ptr, |
| uacpi_size | offset, | ||
| uacpi_u8 | width, | ||
| uacpi_u64 | in | ||
| ) |
Definition at line 956 of file io.c.
Referenced by memory_region_do_rw(), table_data_region_do_rw(), and uacpi_map_gas_noalloc().
| void uacpi_unmap_gas | ( | uacpi_mapped_gas * | gas | ) |
| void uacpi_unmap_gas_nofree | ( | uacpi_mapped_gas * | gas | ) |
Definition at line 889 of file io.c.
Referenced by uacpi_deinitialize_registers(), uacpi_gas_read(), uacpi_gas_write(), uacpi_unmap_gas(), and uninstall_gpe_block().
| void uacpi_write_buffer_field | ( | uacpi_buffer_field * | field, |
| const void * | src, | ||
| uacpi_size | size | ||
| ) |
Definition at line 149 of file io.c.
Referenced by object_assign_with_implicit_cast().
| uacpi_status uacpi_write_field_unit | ( | uacpi_field_unit * | field, |
| const void * | src, | ||
| uacpi_size | size, | ||
| uacpi_data_view * | wtr_response | ||
| ) |
Definition at line 576 of file io.c.
Referenced by access_field_unit(), and object_assign_with_implicit_cast().
|
static |
Definition at line 826 of file io.c.
Referenced by uacpi_map_gas_noalloc().
|
static |
Definition at line 509 of file io.c.
Referenced by uacpi_write_field_unit().
|
static |
Definition at line 252 of file io.c.
Referenced by handle_special_field().