Lines Matching refs:table

69 	struct acpi_table_header *table;  in acpi_tb_check_xsdt()  local
76 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_check_xsdt()
77 if (!table) in acpi_tb_check_xsdt()
80 length = table->length; in acpi_tb_check_xsdt()
81 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_check_xsdt()
85 table = acpi_os_map_memory(address, length); in acpi_tb_check_xsdt()
86 if (!table) in acpi_tb_check_xsdt()
91 (u32) ((table->length - in acpi_tb_check_xsdt()
94 ACPI_CAST_PTR(u8, table) + sizeof(struct acpi_table_header); in acpi_tb_check_xsdt()
103 acpi_os_unmap_memory(table, length); in acpi_tb_check_xsdt()
178 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) in acpi_tb_verify_checksum() argument
184 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, table), length); in acpi_tb_verify_checksum()
191 table->signature, table->checksum, in acpi_tb_verify_checksum()
192 (u8) (table->checksum - checksum))); in acpi_tb_verify_checksum()
248 struct acpi_table_header *table; in acpi_tb_install_table() local
259 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_install_table()
260 if (!table) { in acpi_tb_install_table()
266 if (signature && !ACPI_COMPARE_NAME(table->signature, signature)) { in acpi_tb_install_table()
269 *ACPI_CAST_PTR(u32, table->signature), signature)); in acpi_tb_install_table()
276 acpi_gbl_root_table_list.tables[table_index].length = table->length; in acpi_tb_install_table()
281 signature), table->signature); in acpi_tb_install_table()
283 acpi_tb_print_table_header(address, table); in acpi_tb_install_table()
286 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_install_table()
369 struct acpi_table_header *table; in acpi_tb_parse_root_table() local
426 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
427 if (!table) { in acpi_tb_parse_root_table()
431 acpi_tb_print_table_header(address, table); in acpi_tb_parse_root_table()
435 length = table->length; in acpi_tb_parse_root_table()
436 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
444 table = acpi_os_map_memory(address, length); in acpi_tb_parse_root_table()
445 if (!table) { in acpi_tb_parse_root_table()
451 status = acpi_tb_verify_checksum(table, length); in acpi_tb_parse_root_table()
453 acpi_os_unmap_memory(table, length); in acpi_tb_parse_root_table()
460 (u32) ((table->length - in acpi_tb_parse_root_table()
468 ACPI_CAST_PTR(u8, table) + sizeof(struct acpi_table_header); in acpi_tb_parse_root_table()
506 acpi_os_unmap_memory(table, length); in acpi_tb_parse_root_table()