Lines Matching refs:rsdp
91 struct acpi_table_rsdp *rsdp; in scan_mem_for_rsdp() local
104 rsdp = (struct acpi_table_rsdp *)address; in scan_mem_for_rsdp()
107 if (!ACPI_VALIDATE_RSDP_SIG(rsdp->signature)) in scan_mem_for_rsdp()
111 if (compute_checksum((u8 *)rsdp, ACPI_RSDP_CHECKSUM_LENGTH)) in scan_mem_for_rsdp()
115 if ((rsdp->revision >= 2) && in scan_mem_for_rsdp()
116 (compute_checksum((u8 *)rsdp, ACPI_RSDP_XCHECKSUM_LENGTH))) in scan_mem_for_rsdp()
129 u8 *rsdp; in bios_get_rsdp_addr() local
140 rsdp = scan_mem_for_rsdp((u8 *)address, ACPI_EBDA_WINDOW_SIZE); in bios_get_rsdp_addr()
141 if (rsdp) in bios_get_rsdp_addr()
142 return (acpi_physical_address)(unsigned long)rsdp; in bios_get_rsdp_addr()
146 rsdp = scan_mem_for_rsdp((u8 *) ACPI_HI_RSDP_WINDOW_BASE, in bios_get_rsdp_addr()
148 if (rsdp) in bios_get_rsdp_addr()
149 return (acpi_physical_address)(unsigned long)rsdp; in bios_get_rsdp_addr()
200 struct acpi_table_rsdp *rsdp; in get_acpi_srat_table() local
210 rsdp = (struct acpi_table_rsdp *)get_cmdline_acpi_rsdp(); in get_acpi_srat_table()
211 if (!rsdp) in get_acpi_srat_table()
212 rsdp = (struct acpi_table_rsdp *)(long) in get_acpi_srat_table()
215 if (!rsdp) in get_acpi_srat_table()
221 rsdp->xsdt_physical_address && in get_acpi_srat_table()
222 rsdp->revision > 1) { in get_acpi_srat_table()
223 root_table = rsdp->xsdt_physical_address; in get_acpi_srat_table()
226 root_table = rsdp->rsdt_physical_address; in get_acpi_srat_table()