Lines Matching refs:mapped_table
159 struct acpi_table_header *mapped_table; in acpi_os_get_table_by_address() local
172 status = osl_map_table(address, NULL, &mapped_table); in acpi_os_get_table_by_address()
179 table_length = ap_get_table_length(mapped_table); in acpi_os_get_table_by_address()
191 memcpy(local_table, mapped_table, table_length); in acpi_os_get_table_by_address()
194 osl_unmap_table(mapped_table); in acpi_os_get_table_by_address()
463 struct acpi_table_header *mapped_table; in osl_load_rsdp() local
489 mapped_table = ACPI_CAST_PTR(struct acpi_table_header, in osl_load_rsdp()
492 if (!mapped_table) { in osl_load_rsdp()
498 rsdp_base + (ACPI_CAST8(mapped_table) - rsdp_address); in osl_load_rsdp()
500 memcpy(&gbl_rsdp, mapped_table, sizeof(struct acpi_table_rsdp)); in osl_load_rsdp()
688 struct acpi_table_header *mapped_table = NULL; in osl_list_bios_tables() local
732 status = osl_map_table(table_address, NULL, &mapped_table); in osl_list_bios_tables()
737 osl_add_table_to_list(mapped_table->signature, 0); in osl_list_bios_tables()
738 osl_unmap_table(mapped_table); in osl_list_bios_tables()
772 struct acpi_table_header *mapped_table = NULL; in osl_get_bios_table() local
865 status = osl_map_table(table_address, signature, &mapped_table); in osl_get_bios_table()
870 table_length = ap_get_table_length(mapped_table); in osl_get_bios_table()
878 osl_unmap_table(mapped_table); in osl_get_bios_table()
879 mapped_table = NULL; in osl_get_bios_table()
926 osl_map_table(table_address, NULL, &mapped_table); in osl_get_bios_table()
930 table_length = mapped_table->length; in osl_get_bios_table()
935 (mapped_table->signature, signature)) { in osl_get_bios_table()
936 osl_unmap_table(mapped_table); in osl_get_bios_table()
937 mapped_table = NULL; in osl_get_bios_table()
944 osl_unmap_table(mapped_table); in osl_get_bios_table()
945 mapped_table = NULL; in osl_get_bios_table()
956 if (!mapped_table) { in osl_get_bios_table()
973 memcpy(local_table, mapped_table, table_length); in osl_get_bios_table()
978 osl_unmap_table(mapped_table); in osl_get_bios_table()
1057 struct acpi_table_header *mapped_table; in osl_map_table() local
1070 mapped_table = in osl_map_table()
1072 if (!mapped_table) { in osl_map_table()
1082 if (!ACPI_VALIDATE_RSDP_SIG(mapped_table->signature)) { in osl_map_table()
1083 acpi_os_unmap_memory(mapped_table, in osl_map_table()
1090 (signature, mapped_table->signature)) { in osl_map_table()
1091 acpi_os_unmap_memory(mapped_table, in osl_map_table()
1099 length = ap_get_table_length(mapped_table); in osl_map_table()
1100 acpi_os_unmap_memory(mapped_table, sizeof(struct acpi_table_header)); in osl_map_table()
1105 mapped_table = acpi_os_map_memory(address, length); in osl_map_table()
1106 if (!mapped_table) { in osl_map_table()
1113 (void)ap_is_valid_checksum(mapped_table); in osl_map_table()
1115 *table = mapped_table; in osl_map_table()