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()
121 madt_end = entry + madt->header.length; in map_madt_entry()
127 struct acpi_subtable_header *header = in map_madt_entry() local
129 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { in map_madt_entry()
130 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
132 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { in map_madt_entry()
133 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
135 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { in map_madt_entry()
136 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
138 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) { in map_madt_entry()
139 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry()
142 entry += header->length; in map_madt_entry()
168 struct acpi_subtable_header *header; in map_mat_entry() local
183 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
184 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) in map_mat_entry()
185 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry()
186 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) in map_mat_entry()
187 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
188 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) in map_mat_entry()
189 map_x2apic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
190 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) in map_mat_entry()
191 map_gicc_mpidr(header, type, acpi_id, &phys_id); in map_mat_entry()
292 madt_end = entry + madt->header.length; in parse_madt_ioapic_entry()
312 struct acpi_subtable_header *header; in parse_mat_ioapic_entry() local
327 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
328 if (header->type == ACPI_MADT_TYPE_IO_APIC) in parse_mat_ioapic_entry()
329 get_ioapic_id(header, gsi_base, phys_addr, &apic_id); in parse_mat_ioapic_entry()