Searched refs:rsdp (Results 1 – 6 of 6) sorted by relevance
93 struct acpi_table_rsdp *rsdp; in scan_mem_for_rsdp() local106 rsdp = (struct acpi_table_rsdp *)address; in scan_mem_for_rsdp()109 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) in scan_mem_for_rsdp()113 if (compute_checksum((u8 *)rsdp, ACPI_RSDP_CHECKSUM_LENGTH)) in scan_mem_for_rsdp()117 if ((rsdp->revision >= 2) && in scan_mem_for_rsdp()118 (compute_checksum((u8 *)rsdp, ACPI_RSDP_XCHECKSUM_LENGTH))) in scan_mem_for_rsdp()131 u8 *rsdp; in bios_get_rsdp_addr() local142 rsdp = scan_mem_for_rsdp((u8 *)address, ACPI_EBDA_WINDOW_SIZE); in bios_get_rsdp_addr()143 if (rsdp) in bios_get_rsdp_addr()144 return (acpi_physical_address)(unsigned long)rsdp; in bios_get_rsdp_addr()[all …]
28 u32 acpi_tb_get_rsdp_length(struct acpi_table_rsdp *rsdp) in acpi_tb_get_rsdp_length() argument31 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) { in acpi_tb_get_rsdp_length()40 if (rsdp->revision >= 2) { in acpi_tb_get_rsdp_length()41 return (rsdp->length); in acpi_tb_get_rsdp_length()59 acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp) in acpi_tb_validate_rsdp() argument68 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) { in acpi_tb_validate_rsdp()77 if (acpi_ut_checksum((u8 *)rsdp, ACPI_RSDP_CHECKSUM_LENGTH) != 0) { in acpi_tb_validate_rsdp()83 if ((rsdp->revision >= 2) && in acpi_tb_validate_rsdp()84 (acpi_ut_checksum((u8 *)rsdp, ACPI_RSDP_XCHECKSUM_LENGTH) != 0)) { in acpi_tb_validate_rsdp()
218 struct acpi_table_rsdp *rsdp; in acpi_tb_parse_root_table() local233 rsdp = acpi_os_map_memory(rsdp_address, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()234 if (!rsdp) { in acpi_tb_parse_root_table()240 rsdp)); in acpi_tb_parse_root_table()244 if ((rsdp->revision > 1) && in acpi_tb_parse_root_table()245 rsdp->xsdt_physical_address && !acpi_gbl_do_not_use_xsdt) { in acpi_tb_parse_root_table()251 address = (acpi_physical_address)rsdp->xsdt_physical_address; in acpi_tb_parse_root_table()256 address = (acpi_physical_address)rsdp->rsdt_physical_address; in acpi_tb_parse_root_table()264 acpi_os_unmap_memory(rsdp, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()
18 u32 acpi_tb_get_rsdp_length(struct acpi_table_rsdp *rsdp);20 acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp);
71 struct acpi_table_rsdp *rsdp; in ap_is_valid_checksum() local78 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_is_valid_checksum()79 status = acpi_tb_validate_rsdp(rsdp); in ap_is_valid_checksum()108 struct acpi_table_rsdp *rsdp; in ap_get_table_length() local117 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_get_table_length()118 return (acpi_tb_get_rsdp_length(rsdp)); in ap_get_table_length()
76 "etc/acpi/rsdp"91 qemu_fw_cfg/by_name/etc/acpi/rsdp -> ../../../by_key/41