Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dacpi.c189 struct acpi_table_rsdp *rsdp; in scan_mem_for_rsdp() local
202 rsdp = (struct acpi_table_rsdp *)address; in scan_mem_for_rsdp()
205 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) in scan_mem_for_rsdp()
209 if (compute_checksum((u8 *)rsdp, ACPI_RSDP_CHECKSUM_LENGTH)) in scan_mem_for_rsdp()
213 if ((rsdp->revision >= 2) && in scan_mem_for_rsdp()
214 (compute_checksum((u8 *)rsdp, ACPI_RSDP_XCHECKSUM_LENGTH))) in scan_mem_for_rsdp()
227 u8 *rsdp; in bios_get_rsdp_addr() local
238 rsdp = scan_mem_for_rsdp((u8 *)address, ACPI_EBDA_WINDOW_SIZE); in bios_get_rsdp_addr()
239 if (rsdp) in bios_get_rsdp_addr()
240 return (acpi_physical_address)(unsigned long)rsdp; in bios_get_rsdp_addr()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dtbxfroot.c28 u32 acpi_tb_get_rsdp_length(struct acpi_table_rsdp *rsdp) in acpi_tb_get_rsdp_length() argument
31 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() argument
68 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) { in acpi_tb_validate_rsdp()
77 if (acpi_tb_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_tb_checksum((u8 *) rsdp, ACPI_RSDP_XCHECKSUM_LENGTH) != 0)) { in acpi_tb_validate_rsdp()
Dtbutils.c224 struct acpi_table_rsdp *rsdp; in acpi_tb_parse_root_table() local
239 rsdp = acpi_os_map_memory(rsdp_address, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()
240 if (!rsdp) { in acpi_tb_parse_root_table()
246 rsdp)); in acpi_tb_parse_root_table()
250 if ((rsdp->revision > 1) && in acpi_tb_parse_root_table()
251 rsdp->xsdt_physical_address && !acpi_gbl_do_not_use_xsdt) { in acpi_tb_parse_root_table()
257 address = (acpi_physical_address)rsdp->xsdt_physical_address; in acpi_tb_parse_root_table()
262 address = (acpi_physical_address)rsdp->rsdt_physical_address; in acpi_tb_parse_root_table()
270 acpi_os_unmap_memory(rsdp, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()
Dactables.h18 u32 acpi_tb_get_rsdp_length(struct acpi_table_rsdp *rsdp);
20 acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp);
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidump/
Dapdump.c71 struct acpi_table_rsdp *rsdp; in ap_is_valid_checksum() local
78 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()
106 struct acpi_table_rsdp *rsdp; in ap_get_table_length() local
115 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_get_table_length()
116 return (acpi_tb_get_rsdp_length(rsdp)); in ap_get_table_length()
/kernel/linux/linux-5.10/arch/ia64/uv/kernel/
Dsetup.c58 struct acpi_table_rsdp *rsdp; in uv_probe_system_type() local
66 rsdp = (struct acpi_table_rsdp *)__va(efi.acpi20); in uv_probe_system_type()
67 if (strncmp(rsdp->signature, ACPI_SIG_RSDP, sizeof(ACPI_SIG_RSDP) - 1)) { in uv_probe_system_type()
72 xsdt = (struct acpi_table_xsdt *)__va(rsdp->xsdt_physical_address); in uv_probe_system_type()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-firmware-qemu_fw_cfg75 "etc/acpi/rsdp"
90 qemu_fw_cfg/by_name/etc/acpi/rsdp -> ../../../by_key/41