Lines Matching refs:header

39 		container_of(entry, struct acpi_madt_local_apic, header);  in map_lapic_id()
55 container_of(entry, struct acpi_madt_local_x2apic, header); in map_x2apic_id()
72 container_of(entry, struct acpi_madt_local_sapic, header); in map_lsapic_id()
94 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()
169 struct acpi_subtable_header *header; in map_mat_entry() local
184 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
185 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) in map_mat_entry()
186 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry()
187 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) in map_mat_entry()
188 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
189 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) in map_mat_entry()
190 map_x2apic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
191 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) in map_mat_entry()
192 map_gicc_mpidr(header, type, acpi_id, &phys_id); in map_mat_entry()
293 madt_end = entry + madt->header.length; in parse_madt_ioapic_entry()
313 struct acpi_subtable_header *header; in parse_mat_ioapic_entry() local
328 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
329 if (header->type == ACPI_MADT_TYPE_IO_APIC) in parse_mat_ioapic_entry()
330 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry()