Home
last modified time | relevance | path

Searched refs:cpu_physical_id (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/arch/ia64/include/asm/
H A Dsmp.h61 #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 Dmsi_ia64.c31 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 Diosapic.c345 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 Dnuma.c67 if (cpu_physical_id(cpu) == node_cpuid[i].phys_id) { in build_cpu_to_node_map()
H A Dirq_ia64.c635 phys_cpu_id = cpu_physical_id(cpu); in ia64_send_ipi()
H A Dacpi.c231 acpi_cpei_phys_cpuid = cpu_physical_id(cpu); in set_cpei_target_cpu()
H A Dsetup.c606 cpu_physical_id(0) = hard_smp_processor_id(); in setup_arch()
/openbmc/linux/drivers/dma/ioat/
H A Ddca.c16 #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 Dgrutables.h598 #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 Dacpi.h49 #define cpu_physical_id(cpu) cpuid_to_hartid_map(cpu) macro
/openbmc/linux/arch/x86/include/asm/
H A Dcpu.h20 #define cpu_physical_id(cpu) boot_cpu_physical_apicid macro
H A Dsmp.h139 #define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) macro
/openbmc/linux/arch/loongarch/include/asm/
H A Dsmp.h60 #define cpu_physical_id(cpu) cpu_logical_map(cpu) macro
/openbmc/linux/arch/x86/platform/uv/
H A Duv_time.c76 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 Dacpi.h102 #define cpu_physical_id(cpu) cpu_logical_map(cpu) macro
/openbmc/linux/arch/x86/kvm/vmx/
H A Dposted_intr.c97 dest = cpu_physical_id(cpu); in vmx_vcpu_pi_load()
/openbmc/linux/drivers/acpi/
H A Dacpi_extlog.c64 (cpu_physical_id(cpu) * l1_percpu_entry + (bank))
H A Dprocessor_core.c301 if (cpu_physical_id(i) == phys_id) in acpi_map_cpuid()
/openbmc/linux/drivers/iommu/
H A Dhyperv-iommu.c168 if (cpu_physical_id(i) < 256) in hyperv_prepare_irq_remapping()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dmshyperv.c316 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 Dxpc_uv.c132 mq->mmr_value = (unsigned long)cpu_physical_id(cpu) << 32 | mq->irq; in xpc_get_gru_mq_irq_uv()