Home
last modified time | relevance | path

Searched refs:phys_id (Results 1 – 13 of 13) sorted by relevance

/arch/sh/kernel/cpu/sh4a/
Dsmp-shx3.c19 #define STBCR_REG(phys_id) (0xfe400004 | (phys_id << 12)) argument
20 #define RESET_REG(phys_id) (0xfe400008 | (phys_id << 12)) argument
/arch/arm/kernel/
Ddevtree.c186 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
188 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
/arch/riscv/kernel/
Dsmp.c66 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
68 return phys_id == cpuid_to_hartid_map(cpu); in arch_match_cpu_phys_id()
/arch/x86/events/intel/
Duncore.c35 int phys_id = -1; in uncore_pcibus_to_physid() local
40 phys_id = map->pbus_to_physid[bus->number]; in uncore_pcibus_to_physid()
46 return phys_id; in uncore_pcibus_to_physid()
988 int phys_id, die, ret; in uncore_pci_probe() local
990 phys_id = uncore_pcibus_to_physid(pdev->bus); in uncore_pci_probe()
991 if (phys_id < 0) in uncore_pci_probe()
994 die = (topology_max_die_per_package() > 1) ? phys_id : in uncore_pci_probe()
995 topology_phys_to_logical_pkg(phys_id); in uncore_pci_probe()
1054 box->pci_phys_id = phys_id; in uncore_pci_probe()
1080 int i, phys_id, die; in uncore_pci_remove() local
[all …]
Duncore_snbep.c4389 int phys_id, pkg; in snr_uncore_get_mc_dev() local
4395 phys_id = uncore_pcibus_to_physid(mc_dev->bus); in snr_uncore_get_mc_dev()
4396 if (phys_id < 0) in snr_uncore_get_mc_dev()
4398 pkg = topology_phys_to_logical_pkg(phys_id); in snr_uncore_get_mc_dev()
/arch/ia64/include/asm/
Dnuma.h46 u16 phys_id; /* id << 8 | eid */ member
/arch/ia64/kernel/
Dnuma.c67 if (cpu_physical_id(cpu) == node_cpuid[i].phys_id) { in build_cpu_to_node_map()
Dacpi.c393 node_cpuid[srat_num_cpus].phys_id = in acpi_numa_processor_affinity_init()
450 node_cpuid[0].phys_id = hard_smp_processor_id(); in acpi_numa_fixup()
678 node_cpuid[i++].phys_id = in acpi_boot_init()
724 node_cpuid[cpu].phys_id = physid; in acpi_map_cpu2node()
Dsmpboot.c355 int cpuid, phys_id, itc_master; in smp_callin() local
365 phys_id = hard_smp_processor_id(); in smp_callin()
370 phys_id, cpuid); in smp_callin()
/arch/ia64/mm/
Dnuma.c31 { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } };
/arch/arm64/kernel/
Dsetup.c100 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
102 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
/arch/powerpc/kernel/
Dprom.c889 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
898 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
901 return (int)phys_id == get_hard_smp_processor_id(cpu); in arch_match_cpu_phys_id()
/arch/powerpc/perf/
Dimc-pmu.c1098 int phys_id = cpu_to_node(cpu_id), rc = 0; in trace_imc_mem_alloc() local
1104 page = alloc_pages_node(phys_id, in trace_imc_mem_alloc()