Lines Matching refs:rsdp
189 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()
244 rsdp = scan_mem_for_rsdp((u8 *) ACPI_HI_RSDP_WINDOW_BASE, in bios_get_rsdp_addr()
246 if (rsdp) in bios_get_rsdp_addr()
247 return (acpi_physical_address)(unsigned long)rsdp; in bios_get_rsdp_addr()
306 struct acpi_table_rsdp *rsdp; in get_acpi_srat_table() local
316 rsdp = (struct acpi_table_rsdp *)get_cmdline_acpi_rsdp(); in get_acpi_srat_table()
317 if (!rsdp) in get_acpi_srat_table()
318 rsdp = (struct acpi_table_rsdp *)(long) in get_acpi_srat_table()
321 if (!rsdp) in get_acpi_srat_table()
327 rsdp->xsdt_physical_address && in get_acpi_srat_table()
328 rsdp->revision > 1) { in get_acpi_srat_table()
329 root_table = rsdp->xsdt_physical_address; in get_acpi_srat_table()
332 root_table = rsdp->rsdt_physical_address; in get_acpi_srat_table()