Lines Matching refs:rsdp
93 struct acpi_table_rsdp *rsdp; in scan_mem_for_rsdp() local
106 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() local
142 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()
148 rsdp = scan_mem_for_rsdp((u8 *) ACPI_HI_RSDP_WINDOW_BASE, in bios_get_rsdp_addr()
150 if (rsdp) in bios_get_rsdp_addr()
151 return (acpi_physical_address)(unsigned long)rsdp; in bios_get_rsdp_addr()
202 struct acpi_table_rsdp *rsdp; in get_acpi_srat_table() local
212 rsdp = (struct acpi_table_rsdp *)get_cmdline_acpi_rsdp(); in get_acpi_srat_table()
213 if (!rsdp) in get_acpi_srat_table()
214 rsdp = (struct acpi_table_rsdp *)(long) in get_acpi_srat_table()
217 if (!rsdp) in get_acpi_srat_table()
223 rsdp->xsdt_physical_address && in get_acpi_srat_table()
224 rsdp->revision > 1) { in get_acpi_srat_table()
225 root_table = rsdp->xsdt_physical_address; in get_acpi_srat_table()
228 root_table = rsdp->rsdt_physical_address; in get_acpi_srat_table()