Lines Matching defs:header

36 		container_of(entry, struct acpi_madt_local_apic, header);
52 container_of(entry, struct acpi_madt_local_x2apic, header);
69 container_of(entry, struct acpi_madt_local_sapic, header);
91 container_of(entry, struct acpi_madt_generic_interrupt, header);
117 container_of(entry, struct acpi_madt_rintc, header);
142 container_of(entry, struct acpi_madt_core_pic, header);
169 madt_end = entry + madt->header.length;
175 struct acpi_subtable_header *header =
177 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) {
178 if (!map_lapic_id(header, acpi_id, &phys_id))
180 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) {
181 if (!map_x2apic_id(header, type, acpi_id, &phys_id))
183 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) {
184 if (!map_lsapic_id(header, type, acpi_id, &phys_id))
186 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) {
187 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id))
189 } else if (header->type == ACPI_MADT_TYPE_RINTC) {
190 if (!map_rintc_hartid(header, type, acpi_id, &phys_id))
192 } else if (header->type == ACPI_MADT_TYPE_CORE_PIC) {
193 if (!map_core_pic_id(header, type, acpi_id, &phys_id))
196 entry += header->length;
222 struct acpi_subtable_header *header;
237 header = (struct acpi_subtable_header *)obj->buffer.pointer;
238 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC)
239 map_lapic_id(header, acpi_id, &phys_id);
240 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC)
241 map_lsapic_id(header, type, acpi_id, &phys_id);
242 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC)
243 map_x2apic_id(header, type, acpi_id, &phys_id);
244 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT)
245 map_gicc_mpidr(header, type, acpi_id, &phys_id);
246 else if (header->type == ACPI_MADT_TYPE_CORE_PIC)
247 map_core_pic_id(header, type, acpi_id, &phys_id);
348 madt_end = entry + madt->header.length;
368 struct acpi_subtable_header *header;
383 header = (struct acpi_subtable_header *)obj->buffer.pointer;
384 if (header->type == ACPI_MADT_TYPE_IO_APIC)
385 get_ioapic_id(header, gsi_base, phys_addr, &apic_id);