Home
last modified time | relevance | path

Searched refs:rsdp (Results 1 – 3 of 3) sorted by relevance

/drivers/acpi/acpica/
Dtbxfroot.c62 u32 acpi_tb_get_rsdp_length(struct acpi_table_rsdp *rsdp) in acpi_tb_get_rsdp_length() argument
65 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) { in acpi_tb_get_rsdp_length()
74 if (rsdp->revision >= 2) { in acpi_tb_get_rsdp_length()
75 return (rsdp->length); in acpi_tb_get_rsdp_length()
93 acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp * rsdp) in acpi_tb_validate_rsdp() argument
102 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) { in acpi_tb_validate_rsdp()
111 if (acpi_tb_checksum((u8 *) rsdp, ACPI_RSDP_CHECKSUM_LENGTH) != 0) { in acpi_tb_validate_rsdp()
117 if ((rsdp->revision >= 2) && in acpi_tb_validate_rsdp()
118 (acpi_tb_checksum((u8 *) rsdp, ACPI_RSDP_XCHECKSUM_LENGTH) != 0)) { in acpi_tb_validate_rsdp()
Dtbutils.c258 struct acpi_table_rsdp *rsdp; in acpi_tb_parse_root_table() local
273 rsdp = acpi_os_map_memory(rsdp_address, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()
274 if (!rsdp) { in acpi_tb_parse_root_table()
280 rsdp)); in acpi_tb_parse_root_table()
284 if ((rsdp->revision > 1) && in acpi_tb_parse_root_table()
285 rsdp->xsdt_physical_address && !acpi_gbl_do_not_use_xsdt) { in acpi_tb_parse_root_table()
291 address = (acpi_physical_address) rsdp->xsdt_physical_address; in acpi_tb_parse_root_table()
296 address = (acpi_physical_address) rsdp->rsdt_physical_address; in acpi_tb_parse_root_table()
304 acpi_os_unmap_memory(rsdp, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()
Dactables.h52 u32 acpi_tb_get_rsdp_length(struct acpi_table_rsdp *rsdp);
54 acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp);