Searched refs:rsdt (Results 1 – 2 of 2) sorted by relevance
34 struct acpi_rsdt *rsdt; in acpi_find_fadt() local49 rsdt = (struct acpi_rsdt *)(uintptr_t)rsdp->rsdt_address; in acpi_find_fadt()51 end = (char *)rsdt + rsdt->header.length; in acpi_find_fadt()52 debug("RSDT found at %p ends at %p\n", rsdt, end); in acpi_find_fadt()54 for (i = 0; ((char *)&rsdt->entry[i]) < end; i++) { in acpi_find_fadt()55 fadt = (struct acpi_fadt *)(uintptr_t)rsdt->entry[i]; in acpi_find_fadt()
32 static void acpi_write_rsdp(struct acpi_rsdp *rsdp, struct acpi_rsdt *rsdt, in acpi_write_rsdp() argument41 rsdp->rsdt_address = (u32)rsdt; in acpi_write_rsdp()72 static void acpi_write_rsdt(struct acpi_rsdt *rsdt) in acpi_write_rsdt() argument74 struct acpi_table_header *header = &(rsdt->header); in acpi_write_rsdt()84 header->checksum = table_compute_checksum((void *)rsdt, in acpi_write_rsdt()111 struct acpi_rsdt *rsdt; in acpi_add_table() local115 rsdt = (struct acpi_rsdt *)rsdp->rsdt_address; in acpi_add_table()121 entries_num = ARRAY_SIZE(rsdt->entry); in acpi_add_table()124 if (rsdt->entry[i] == 0) in acpi_add_table()134 rsdt->entry[i] = (u32)table; in acpi_add_table()[all …]