/openbmc/linux/arch/ia64/include/asm/ |
H A D | smp.h | 61 #define cpu_physical_id(i) ia64_cpu_to_sapicid[i] macro 75 if (cpu_physical_id(i) == cpuid) in cpu_logical_id() 100 #define cpu_physical_id(i) ia64_get_lid() macro
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | msi_ia64.c | 31 addr |= MSI_ADDR_DEST_ID_CPU(cpu_physical_id(cpu)); in ia64_set_msi_irq_affinity() 57 dest_phys_id = cpu_physical_id(cpumask_any_and(&(irq_to_domain(irq)), in arch_setup_msi_irq() 132 msg.address_lo |= MSI_ADDR_DEST_ID_CPU(cpu_physical_id(cpu)); in dmar_msi_set_affinity() 158 dest = cpu_physical_id(cpumask_first_and(&(irq_to_domain(irq)), in msi_compose_msg()
|
H A D | iosapic.c | 345 dest = cpu_physical_id(cpu); in iosapic_set_affinity() 637 return cpu_physical_id(smp_processor_id()); in get_target_cpu() 644 return cpu_physical_id(smp_processor_id()); in get_target_cpu() 677 return cpu_physical_id(numa_cpu); in get_target_cpu() 691 return cpu_physical_id(cpu); in get_target_cpu() 693 return cpu_physical_id(smp_processor_id()); in get_target_cpu() 917 unsigned int dest = cpu_physical_id(smp_processor_id()); in iosapic_override_isa_irq()
|
H A D | numa.c | 67 if (cpu_physical_id(cpu) == node_cpuid[i].phys_id) { in build_cpu_to_node_map()
|
H A D | irq_ia64.c | 635 phys_cpu_id = cpu_physical_id(cpu); in ia64_send_ipi()
|
H A D | acpi.c | 231 acpi_cpei_phys_cpuid = cpu_physical_id(cpu); in set_cpei_target_cpu()
|
H A D | setup.c | 606 cpu_physical_id(0) = hard_smp_processor_id(); in setup_arch()
|
/openbmc/linux/drivers/dma/ioat/ |
H A D | dca.c | 16 #undef cpu_physical_id 17 #define cpu_physical_id(cpu) (cpuid_ebx(1) >> 24) macro 185 apic_id = cpu_physical_id(cpu); in ioat_dca_get_tag()
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grutables.h | 598 #define uv_cpu_socket_number(p) ((cpu_physical_id(p) >> 5) & 1) 599 #define uv_cpu_ht_number(p) (cpu_physical_id(p) & 1) 600 #define uv_cpu_core_number(p) (((cpu_physical_id(p) >> 2) & 4) | \ 601 ((cpu_physical_id(p) >> 1) & 3))
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | acpi.h | 49 #define cpu_physical_id(cpu) cpuid_to_hartid_map(cpu) macro
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cpu.h | 20 #define cpu_physical_id(cpu) boot_cpu_physical_apicid macro
|
H A D | smp.h | 139 #define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) macro
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | smp.h | 60 #define cpu_physical_id(cpu) cpu_logical_map(cpu) macro
|
/openbmc/linux/arch/x86/platform/uv/ |
H A D | uv_time.c | 76 apicid = cpu_physical_id(cpu); in uv_rtc_send_IPI() 96 unsigned long apicid = cpu_physical_id(cpu); in uv_setup_intr()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | acpi.h | 102 #define cpu_physical_id(cpu) cpu_logical_map(cpu) macro
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | posted_intr.c | 97 dest = cpu_physical_id(cpu); in vmx_vcpu_pi_load()
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_extlog.c | 64 (cpu_physical_id(cpu) * l1_percpu_entry + (bank))
|
H A D | processor_core.c | 301 if (cpu_physical_id(i) == phys_id) in acpi_map_cpuid()
|
/openbmc/linux/drivers/iommu/ |
H A D | hyperv-iommu.c | 168 if (cpu_physical_id(i) < 256) in hyperv_prepare_irq_remapping()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | mshyperv.c | 316 ret = hv_call_add_logical_proc(numa_cpu_node(i), i, cpu_physical_id(i)); in hv_smp_prepare_cpus()
|
/openbmc/linux/drivers/misc/sgi-xp/ |
H A D | xpc_uv.c | 132 mq->mmr_value = (unsigned long)cpu_physical_id(cpu) << 32 | mq->irq; in xpc_get_gru_mq_irq_uv()
|