Lines Matching refs:xsdt
33 struct acpi_xsdt *xsdt) in acpi_write_rsdp() argument
50 if (xsdt == NULL) { in acpi_write_rsdp()
53 rsdp->xsdt_address = (u64)(u32)xsdt; in acpi_write_rsdp()
88 static void acpi_write_xsdt(struct acpi_xsdt *xsdt) in acpi_write_xsdt() argument
90 struct acpi_table_header *header = &(xsdt->header); in acpi_write_xsdt()
100 header->checksum = table_compute_checksum((void *)xsdt, in acpi_write_xsdt()
112 struct acpi_xsdt *xsdt = NULL; in acpi_add_table() local
118 xsdt = (struct acpi_xsdt *)((u32)rsdp->xsdt_address); in acpi_add_table()
149 if (xsdt) { in acpi_add_table()
151 xsdt->entry[i] = (u64)(u32)table; in acpi_add_table()
154 xsdt->header.length = sizeof(struct acpi_table_header) + in acpi_add_table()
158 xsdt->header.checksum = 0; in acpi_add_table()
159 xsdt->header.checksum = table_compute_checksum((u8 *)xsdt, in acpi_add_table()
160 xsdt->header.length); in acpi_add_table()
369 struct acpi_xsdt *xsdt; in write_acpi_tables() local
391 xsdt = (struct acpi_xsdt *)current; in write_acpi_tables()
402 acpi_write_rsdp(rsdp, rsdt, xsdt); in write_acpi_tables()
404 acpi_write_xsdt(xsdt); in write_acpi_tables()