Lines Matching refs: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()
119 madt_end = entry + madt->header.length; in map_madt_entry()
125 struct acpi_subtable_header *header = in map_madt_entry() local
127 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { in map_madt_entry()
128 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
130 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { in map_madt_entry()
131 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
133 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { in map_madt_entry()
134 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
136 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) { in map_madt_entry()
137 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry()
140 entry += header->length; in map_madt_entry()
166 struct acpi_subtable_header *header; in map_mat_entry() local
181 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
182 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) in map_mat_entry()
183 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry()
184 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) in map_mat_entry()
185 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
186 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) in map_mat_entry()
187 map_x2apic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
188 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) in map_mat_entry()
189 map_gicc_mpidr(header, type, acpi_id, &phys_id); in map_mat_entry()
290 madt_end = entry + madt->header.length; in parse_madt_ioapic_entry()
310 struct acpi_subtable_header *header; in parse_mat_ioapic_entry() local
325 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
326 if (header->type == ACPI_MADT_TYPE_IO_APIC) in parse_mat_ioapic_entry()
327 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry()