Searched refs:mapped_table (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
H A D | oslinuxtbl.c | 193 struct acpi_table_header *mapped_table; acpi_os_get_table_by_address() local 206 status = osl_map_table(address, NULL, &mapped_table); acpi_os_get_table_by_address() 213 table_length = ap_get_table_length(mapped_table); acpi_os_get_table_by_address() 225 memcpy(local_table, mapped_table, table_length); acpi_os_get_table_by_address() 228 osl_unmap_table(mapped_table); acpi_os_get_table_by_address() 497 struct acpi_table_header *mapped_table; osl_load_rsdp() local 523 mapped_table = ACPI_CAST_PTR(struct acpi_table_header, osl_load_rsdp() 526 if (!mapped_table) { osl_load_rsdp() 532 rsdp_base + (ACPI_CAST8(mapped_table) - rsdp_address); osl_load_rsdp() 534 memcpy(&gbl_rsdp, mapped_table, sizeof(struct acpi_table_rsdp)); osl_load_rsdp() 722 struct acpi_table_header *mapped_table = NULL; osl_list_bios_tables() local 766 status = osl_map_table(table_address, NULL, &mapped_table); osl_list_bios_tables() 771 osl_add_table_to_list(mapped_table->signature, 0); osl_list_bios_tables() 772 osl_unmap_table(mapped_table); osl_list_bios_tables() 806 struct acpi_table_header *mapped_table = NULL; osl_get_bios_table() local 873 status = osl_map_table(table_address, signature, &mapped_table); osl_get_bios_table() 878 table_length = ap_get_table_length(mapped_table); osl_get_bios_table() 922 osl_map_table(table_address, NULL, &mapped_table); osl_get_bios_table() 926 table_length = mapped_table->length; osl_get_bios_table() 931 (mapped_table->signature, signature)) { osl_get_bios_table() 932 osl_unmap_table(mapped_table); osl_get_bios_table() 933 mapped_table = NULL; osl_get_bios_table() 940 osl_unmap_table(mapped_table); osl_get_bios_table() 941 mapped_table = NULL; osl_get_bios_table() 950 if (!mapped_table) { osl_get_bios_table() 967 memcpy(local_table, mapped_table, table_length); osl_get_bios_table() 972 osl_unmap_table(mapped_table); osl_get_bios_table() 1051 struct acpi_table_header *mapped_table; osl_map_table() local 1064 mapped_table = osl_map_table() 1066 if (!mapped_table) { osl_map_table() 1076 if (!ACPI_VALIDATE_RSDP_SIG(mapped_table->signature)) { osl_map_table() 1077 acpi_os_unmap_memory(mapped_table, osl_map_table() 1083 if (!ACPI_COMPARE_NAME(signature, mapped_table->signature)) osl_map_table() 1085 acpi_os_unmap_memory(mapped_table, osl_map_table() 1093 length = ap_get_table_length(mapped_table); osl_map_table() 1094 acpi_os_unmap_memory(mapped_table, sizeof(struct acpi_table_header)); osl_map_table() 1099 mapped_table = acpi_os_map_memory(address, length); osl_map_table() 1100 if (!mapped_table) { osl_map_table() 1107 (void)ap_is_valid_checksum(mapped_table); osl_map_table() 1109 *table = mapped_table; osl_map_table()
|
Completed in 43 milliseconds