Home
last modified time | relevance | path

Searched refs:rsdt (Results 1 – 7 of 7) sorted by relevance

/u-boot/cmd/
A Dacpi.c47 struct acpi_rsdt *rsdt; in find_table() local
53 rsdt = map_sysmem(rsdp->rsdt_address, 0); in find_table()
54 len = rsdt->header.length - sizeof(rsdt->header); in find_table()
59 hdr = map_sysmem(rsdt->entry[i], 0); in find_table()
102 dump_hdr(&rsdt->header); in list_rsdt()
105 len = rsdt->header.length - sizeof(rsdt->header); in list_rsdt()
110 if (!rsdt->entry[i]) in list_rsdt()
112 hdr = map_sysmem(rsdt->entry[i], 0); in list_rsdt()
117 if (xsdt->entry[i] != rsdt->entry[i]) { in list_rsdt()
129 struct acpi_rsdt *rsdt; in list_rsdp() local
[all …]
/u-boot/lib/acpi/
A Dacpi_table.c135 struct acpi_rsdt *rsdt; in acpi_add_table() local
139 rsdt = ctx->rsdt; in acpi_add_table()
142 entries_num = ARRAY_SIZE(rsdt->entry); in acpi_add_table()
145 if (rsdt->entry[i] == 0) in acpi_add_table()
155 rsdt->entry[i] = map_to_sysmem(table); in acpi_add_table()
162 rsdt->header.checksum = 0; in acpi_add_table()
163 rsdt->header.checksum = table_compute_checksum((u8 *)rsdt, in acpi_add_table()
164 rsdt->header.length); in acpi_add_table()
196 rsdp->rsdt_address = map_to_sysmem(rsdt); in acpi_write_rsdp()
251 ctx->rsdt = ctx->current; in acpi_setup_base_tables()
[all …]
/u-boot/arch/x86/lib/
A Dacpi.c35 struct acpi_rsdt *rsdt; in acpi_find_fadt() local
50 rsdt = (struct acpi_rsdt *)(uintptr_t)rsdp->rsdt_address; in acpi_find_fadt()
52 end = (char *)rsdt + rsdt->header.length; in acpi_find_fadt()
53 debug("RSDT found at %p ends at %p\n", rsdt, end); in acpi_find_fadt()
55 for (i = 0; ((char *)&rsdt->entry[i]) < end; i++) { in acpi_find_fadt()
56 fadt = (struct acpi_fadt *)(uintptr_t)rsdt->entry[i]; in acpi_find_fadt()
A Dtables.c139 acpi_write_rsdp(ptr, ctx->rsdt, ctx->xsdt); in write_tables()
/u-boot/test/dm/
A Dacpi.c260 ut_asserteq(map_to_sysmem(dmar + i), ctx.rsdt->entry[i]); in dm_test_acpi_write_tables()
263 ut_asserteq(0, ctx.rsdt->entry[3]); in dm_test_acpi_write_tables()
302 struct acpi_rsdt *rsdt; in dm_test_acpi_setup_base_tables() local
323 rsdt = PTR_ALIGN((void *)rsdp + sizeof(*rsdp), 16); in dm_test_acpi_setup_base_tables()
324 ut_asserteq_ptr(rsdt, ctx.rsdt); in dm_test_acpi_setup_base_tables()
325 ut_asserteq_mem("RSDT", rsdt->header.signature, ACPI_NAME_LEN); in dm_test_acpi_setup_base_tables()
326 ut_asserteq(sizeof(*rsdt), rsdt->header.length); in dm_test_acpi_setup_base_tables()
327 ut_assertok(table_compute_checksum(rsdt, sizeof(*rsdt))); in dm_test_acpi_setup_base_tables()
329 xsdt = PTR_ALIGN((void *)rsdt + sizeof(*rsdt), 16); in dm_test_acpi_setup_base_tables()
338 ut_asserteq(map_to_sysmem(rsdt), rsdp->rsdt_address); in dm_test_acpi_setup_base_tables()
/u-boot/include/dm/
A Dacpi.h60 struct acpi_rsdt *rsdt; member
/u-boot/include/acpi/
A Dacpi_table.h698 void acpi_write_rsdp(struct acpi_rsdp *rsdp, struct acpi_rsdt *rsdt,

Completed in 11 milliseconds