Lines Matching refs:apic_id
42 u32 acpi_id, int *apic_id) in map_lapic_id() argument
53 *apic_id = lapic->id; in map_lapic_id()
58 int device_declaration, u32 acpi_id, int *apic_id) in map_x2apic_id() argument
67 *apic_id = apic->local_apic_id; in map_x2apic_id()
75 int device_declaration, u32 acpi_id, int *apic_id) in map_lsapic_id() argument
89 *apic_id = (lsapic->id << 8) | lsapic->eid; in map_lsapic_id()
98 int apic_id = -1; in map_madt_entry() local
108 return apic_id; in map_madt_entry()
120 if (map_lapic_id(header, acpi_id, &apic_id)) in map_madt_entry()
123 if (map_x2apic_id(header, type, acpi_id, &apic_id)) in map_madt_entry()
126 if (map_lsapic_id(header, type, acpi_id, &apic_id)) in map_madt_entry()
131 return apic_id; in map_madt_entry()
139 int apic_id = -1; in map_mat_entry() local
155 map_lapic_id(header, acpi_id, &apic_id); in map_mat_entry()
157 map_lsapic_id(header, type, acpi_id, &apic_id); in map_mat_entry()
163 return apic_id; in map_mat_entry()
171 int apic_id = -1; in acpi_get_cpuid() local
173 apic_id = map_mat_entry(handle, type, acpi_id); in acpi_get_cpuid()
174 if (apic_id == -1) in acpi_get_cpuid()
175 apic_id = map_madt_entry(type, acpi_id); in acpi_get_cpuid()
176 if (apic_id == -1) { in acpi_get_cpuid()
200 return apic_id; in acpi_get_cpuid()
205 if (cpu_physical_id(i) == apic_id) in acpi_get_cpuid()
210 if (apic_id == 0) in acpi_get_cpuid()
211 return apic_id; in acpi_get_cpuid()