• Home
  • Raw
  • Download

Lines Matching refs:phys_id

115 	phys_cpuid_t phys_id = PHYS_CPUID_INVALID;	/* CPU hardware ID */  in map_madt_entry()  local
118 return phys_id; in map_madt_entry()
130 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
133 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
136 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
139 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry()
144 return phys_id; in map_madt_entry()
169 phys_cpuid_t phys_id = PHYS_CPUID_INVALID; in map_mat_entry() local
185 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry()
187 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
189 map_x2apic_id(header, type, acpi_id, &phys_id); in map_mat_entry()
191 map_gicc_mpidr(header, type, acpi_id, &phys_id); in map_mat_entry()
195 return phys_id; in map_mat_entry()
200 phys_cpuid_t phys_id; in acpi_get_phys_id() local
202 phys_id = map_mat_entry(handle, type, acpi_id); in acpi_get_phys_id()
203 if (invalid_phys_cpuid(phys_id)) in acpi_get_phys_id()
204 phys_id = map_madt_entry(get_madt_table(), type, acpi_id); in acpi_get_phys_id()
206 return phys_id; in acpi_get_phys_id()
209 int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id) in acpi_map_cpuid() argument
215 if (invalid_phys_cpuid(phys_id)) { in acpi_map_cpuid()
244 if (cpu_physical_id(i) == phys_id) in acpi_map_cpuid()
249 if (phys_id == 0) in acpi_map_cpuid()
250 return phys_id; in acpi_map_cpuid()
257 phys_cpuid_t phys_id; in acpi_get_cpuid() local
259 phys_id = acpi_get_phys_id(handle, type, acpi_id); in acpi_get_cpuid()
261 return acpi_map_cpuid(phys_id, acpi_id); in acpi_get_cpuid()