Lines Matching refs:entry
34 static int map_lapic_id(struct acpi_subtable_header *entry, in map_lapic_id() argument
38 container_of(entry, struct acpi_madt_local_apic, header); in map_lapic_id()
50 static int map_x2apic_id(struct acpi_subtable_header *entry, in map_x2apic_id() argument
54 container_of(entry, struct acpi_madt_local_x2apic, header); in map_x2apic_id()
67 static int map_lsapic_id(struct acpi_subtable_header *entry, in map_lsapic_id() argument
71 container_of(entry, struct acpi_madt_local_sapic, header); in map_lsapic_id()
77 if ((entry->length < 16) || (lsapic->uid != acpi_id)) in map_lsapic_id()
89 static int map_gicc_mpidr(struct acpi_subtable_header *entry, in map_gicc_mpidr() argument
93 container_of(entry, struct acpi_madt_generic_interrupt, header); in map_gicc_mpidr()
113 unsigned long madt_end, entry; in map_madt_entry() local
121 entry = (unsigned long)madt; in map_madt_entry()
122 madt_end = entry + madt->header.length; in map_madt_entry()
126 entry += sizeof(struct acpi_table_madt); in map_madt_entry()
127 while (entry + sizeof(struct acpi_subtable_header) < madt_end) { in map_madt_entry()
129 (struct acpi_subtable_header *)entry; in map_madt_entry()
143 entry += header->length; in map_madt_entry()
250 static int get_ioapic_id(struct acpi_subtable_header *entry, u32 gsi_base, in get_ioapic_id() argument
253 struct acpi_madt_io_apic *ioapic = (struct acpi_madt_io_apic *)entry; in get_ioapic_id()
266 unsigned long madt_end, entry; in parse_madt_ioapic_entry() local
274 entry = (unsigned long)madt; in parse_madt_ioapic_entry()
275 madt_end = entry + madt->header.length; in parse_madt_ioapic_entry()
278 entry += sizeof(struct acpi_table_madt); in parse_madt_ioapic_entry()
279 while (entry + sizeof(struct acpi_subtable_header) < madt_end) { in parse_madt_ioapic_entry()
280 hdr = (struct acpi_subtable_header *)entry; in parse_madt_ioapic_entry()
285 entry += hdr->length; in parse_madt_ioapic_entry()