Lines Matching refs:header

38 		container_of(entry, struct acpi_madt_local_apic, header);  in map_lapic_id()
54 container_of(entry, struct acpi_madt_local_x2apic, header); in map_x2apic_id()
71 container_of(entry, struct acpi_madt_local_sapic, header); in map_lsapic_id()
93 container_of(entry, struct acpi_madt_generic_interrupt, header); in map_gicc_mpidr()
122 madt_end = entry + madt->header.length; in map_madt_entry()
128 struct acpi_subtable_header *header = in map_madt_entry() local
130 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { in map_madt_entry()
131 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
133 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { in map_madt_entry()
134 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
136 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { in map_madt_entry()
137 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
139 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) { in map_madt_entry()
140 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry()
143 entry += header->length; in map_madt_entry()
152 struct acpi_subtable_header *header; in map_mat_entry() local
167 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
168 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) in map_mat_entry()
169 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry()
170 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) in map_mat_entry()
171 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
172 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) in map_mat_entry()
173 map_x2apic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
174 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) in map_mat_entry()
175 map_gicc_mpidr(header, type, acpi_id, &phys_id); in map_mat_entry()
275 madt_end = entry + madt->header.length; in parse_madt_ioapic_entry()
295 struct acpi_subtable_header *header; in parse_mat_ioapic_entry() local
310 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
311 if (header->type == ACPI_MADT_TYPE_IO_APIC) in parse_mat_ioapic_entry()
312 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry()