Lines Matching refs:hdr
24 * @hdr: ACPI header to dump
26 static void dump_hdr(struct acpi_table_header *hdr)
28 bool has_hdr = memcmp(hdr->signature, "FACS", ACPI_NAME_LEN);
30 printf("%.*s %16lx %5x", ACPI_NAME_LEN, hdr->signature,
31 (ulong)map_to_sysmem(hdr), hdr->length);
33 printf(" v%02d %.6s %.8s %x %.4s %x\n", hdr->revision,
34 hdr->oem_id, hdr->oem_table_id, hdr->oem_revision,
35 hdr->creator_id, hdr->creator_revision);
43 struct acpi_table_header *hdr;
45 hdr = acpi_find_table(sig);
46 if (!hdr)
48 printf("%.*s @ %16lx\n", ACPI_NAME_LEN, hdr->signature,
49 (ulong)nomap_to_sysmem(hdr));
50 print_buffer(0, hdr, 1, hdr->length, 0);
93 struct acpi_table_header *hdr;
102 hdr = nomap_sysmem(entry, 0);
103 dump_hdr(hdr);
104 if (!memcmp(hdr->signature, "FACP", ACPI_NAME_LEN))
105 list_fadt((struct acpi_fadt *)hdr);