Lines Matching refs:header

97     madt->header.signature    = ACPI_2_0_MADT_SIGNATURE;  in construct_madt()
98 madt->header.revision = ACPI_2_0_MADT_REVISION; in construct_madt()
99 fixed_strcpy(madt->header.oem_id, ACPI_OEM_ID); in construct_madt()
100 fixed_strcpy(madt->header.oem_table_id, ACPI_OEM_TABLE_ID); in construct_madt()
101 madt->header.oem_revision = ACPI_OEM_REVISION; in construct_madt()
102 madt->header.creator_id = ACPI_CREATOR_ID; in construct_madt()
103 madt->header.creator_revision = ACPI_CREATOR_REVISION; in construct_madt()
165 madt->header.length = (unsigned char *)lapic - (unsigned char *)madt; in construct_madt()
167 madt->header.length); in construct_madt()
169 ctxt->mem_ops.v2p(ctxt, &madt->header.checksum); in construct_madt()
183 hpet->header.signature = ACPI_2_0_HPET_SIGNATURE; in construct_hpet()
184 hpet->header.revision = ACPI_2_0_HPET_REVISION; in construct_hpet()
185 fixed_strcpy(hpet->header.oem_id, ACPI_OEM_ID); in construct_hpet()
186 fixed_strcpy(hpet->header.oem_table_id, ACPI_OEM_TABLE_ID); in construct_hpet()
187 hpet->header.oem_revision = ACPI_OEM_REVISION; in construct_hpet()
188 hpet->header.creator_id = ACPI_CREATOR_ID; in construct_hpet()
189 hpet->header.creator_revision = ACPI_CREATOR_REVISION; in construct_hpet()
193 hpet->header.length = sizeof(*hpet); in construct_hpet()
208 waet->header.length = sizeof(*waet); in construct_waet()
232 srat->header.signature = ACPI_2_0_SRAT_SIGNATURE; in construct_srat()
233 srat->header.revision = ACPI_2_0_SRAT_REVISION; in construct_srat()
234 fixed_strcpy(srat->header.oem_id, ACPI_OEM_ID); in construct_srat()
235 fixed_strcpy(srat->header.oem_table_id, ACPI_OEM_TABLE_ID); in construct_srat()
236 srat->header.oem_revision = ACPI_OEM_REVISION; in construct_srat()
237 srat->header.creator_id = ACPI_CREATOR_ID; in construct_srat()
238 srat->header.creator_revision = ACPI_CREATOR_REVISION; in construct_srat()
267 srat->header.length = size; in construct_srat()
287 slit->header.signature = ACPI_2_0_SLIT_SIGNATURE; in construct_slit()
288 slit->header.revision = ACPI_2_0_SLIT_REVISION; in construct_slit()
289 fixed_strcpy(slit->header.oem_id, ACPI_OEM_ID); in construct_slit()
290 fixed_strcpy(slit->header.oem_table_id, ACPI_OEM_TABLE_ID); in construct_slit()
291 slit->header.oem_revision = ACPI_OEM_REVISION; in construct_slit()
292 slit->header.creator_id = ACPI_CREATOR_ID; in construct_slit()
293 slit->header.creator_revision = ACPI_CREATOR_REVISION; in construct_slit()
300 slit->header.length = size; in construct_slit()
312 struct acpi_header *header; in construct_passthrough_tables() local
328 header = (struct acpi_header*)pt_addr; in construct_passthrough_tables()
330 buffer = ctxt->mem_ops.alloc(ctxt, header->length, 16); in construct_passthrough_tables()
333 memcpy(buffer, header, header->length); in construct_passthrough_tables()
336 total += header->length; in construct_passthrough_tables()
337 pt_addr += header->length; in construct_passthrough_tables()
436 tcpa->header.signature = ACPI_2_0_TCPA_SIGNATURE; in construct_secondary_tables()
437 tcpa->header.length = sizeof(*tcpa); in construct_secondary_tables()
438 tcpa->header.revision = ACPI_2_0_TCPA_REVISION; in construct_secondary_tables()
439 fixed_strcpy(tcpa->header.oem_id, ACPI_OEM_ID); in construct_secondary_tables()
440 fixed_strcpy(tcpa->header.oem_table_id, ACPI_OEM_TABLE_ID); in construct_secondary_tables()
441 tcpa->header.oem_revision = ACPI_OEM_REVISION; in construct_secondary_tables()
442 tcpa->header.creator_id = ACPI_CREATOR_ID; in construct_secondary_tables()
443 tcpa->header.creator_revision = ACPI_CREATOR_REVISION; in construct_secondary_tables()
451 tcpa->header.length); in construct_secondary_tables()
579 fadt_10->header.length = sizeof(struct acpi_10_fadt); in acpi_build_tables()
580 fadt_10->header.revision = ACPI_1_0_FADT_REVISION; in acpi_build_tables()
617 fadt->header.revision = config->acpi_revision; in acpi_build_tables()
618 fadt->header.length = fadt_size; in acpi_build_tables()
629 if ( fadt->header.revision < 5 ) in acpi_build_tables()
651 xsdt->header.length = sizeof(struct acpi_header) + (i+1)*sizeof(uint64_t); in acpi_build_tables()
654 xsdt->header.length); in acpi_build_tables()
664 rsdt->header.length = sizeof(struct acpi_header) + (i+1)*sizeof(uint32_t); in acpi_build_tables()
667 rsdt->header.length); in acpi_build_tables()