Lines Matching full:header
36 container_of(entry, struct acpi_madt_local_apic, header); in map_lapic_id()
52 container_of(entry, struct acpi_madt_local_x2apic, header); in map_x2apic_id()
69 container_of(entry, struct acpi_madt_local_sapic, header); in map_lsapic_id()
91 container_of(entry, struct acpi_madt_generic_interrupt, header); in map_gicc_mpidr()
118 container_of(entry, struct acpi_madt_rintc, header); in map_rintc_hartid()
143 container_of(entry, struct acpi_madt_core_pic, header); in map_core_pic_id()
170 madt_end = entry + madt->header.length; in map_madt_entry()
176 struct acpi_subtable_header *header = in map_madt_entry() local
178 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { in map_madt_entry()
179 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
181 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { in map_madt_entry()
182 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
184 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { in map_madt_entry()
185 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
187 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) { in map_madt_entry()
188 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry()
190 } else if (header->type == ACPI_MADT_TYPE_RINTC) { in map_madt_entry()
191 if (!map_rintc_hartid(header, type, acpi_id, &phys_id)) in map_madt_entry()
193 } else if (header->type == ACPI_MADT_TYPE_CORE_PIC) { in map_madt_entry()
194 if (!map_core_pic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
197 entry += header->length; in map_madt_entry()
238 struct acpi_subtable_header *header; in map_mat_entry() local
253 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
254 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) in map_mat_entry()
255 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry()
256 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) in map_mat_entry()
257 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
258 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) in map_mat_entry()
259 map_x2apic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
260 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) in map_mat_entry()
261 map_gicc_mpidr(header, type, acpi_id, &phys_id); in map_mat_entry()
262 else if (header->type == ACPI_MADT_TYPE_CORE_PIC) in map_mat_entry()
263 map_core_pic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
364 madt_end = entry + madt->header.length; in parse_madt_ioapic_entry()
384 struct acpi_subtable_header *header; in parse_mat_ioapic_entry() local
399 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
400 if (header->type == ACPI_MADT_TYPE_IO_APIC) in parse_mat_ioapic_entry()
401 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry()