/kernel/linux/linux-5.10/drivers/acpi/ |
D | processor_core.c | 113 phys_cpuid_t phys_id = PHYS_CPUID_INVALID; /* CPU hardware ID */ in map_madt_entry() local 116 return phys_id; in map_madt_entry() 128 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry() 131 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry() 134 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry() 137 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry() 142 return phys_id; in map_madt_entry() 167 phys_cpuid_t phys_id = PHYS_CPUID_INVALID; in map_mat_entry() local 183 map_lapic_id(header, acpi_id, &phys_id); in map_mat_entry() 185 map_lsapic_id(header, type, acpi_id, &phys_id); in map_mat_entry() [all …]
|
D | acpi_processor.c | 189 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_hotadd_init() 199 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init() 291 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration, in acpi_processor_get_info() 293 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_get_info() 296 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info()
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/ |
D | smp-shx3.c | 19 #define STBCR_REG(phys_id) (0xfe400004 | (phys_id << 12)) argument 20 #define RESET_REG(phys_id) (0xfe400008 | (phys_id << 12)) argument
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | uncore.c | 37 int phys_id = -1; in uncore_pcibus_to_physid() local 42 phys_id = map->pbus_to_physid[bus->number]; in uncore_pcibus_to_physid() 48 return phys_id; in uncore_pcibus_to_physid() 1000 int *phys_id, int *die) in uncore_pci_get_dev_die_info() argument 1002 *phys_id = uncore_pcibus_to_physid(pdev->bus); in uncore_pci_get_dev_die_info() 1003 if (*phys_id < 0) in uncore_pci_get_dev_die_info() 1006 *die = (topology_max_die_per_package() > 1) ? *phys_id : in uncore_pci_get_dev_die_info() 1007 topology_phys_to_logical_pkg(*phys_id); in uncore_pci_get_dev_die_info() 1055 int phys_id, int die) in uncore_pci_pmu_register() argument 1073 box->pci_phys_id = phys_id; in uncore_pci_pmu_register() [all …]
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | devtree.c | 186 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()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | smp.c | 70 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument 72 return phys_id == cpuid_to_hartid_map(cpu); in arch_match_cpu_phys_id()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | numa.h | 46 u16 phys_id; /* id << 8 | eid */ member
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | numa.c | 67 if (cpu_physical_id(cpu) == node_cpuid[i].phys_id) { in build_cpu_to_node_map()
|
D | acpi.c | 391 node_cpuid[srat_num_cpus].phys_id = in acpi_numa_processor_affinity_init() 448 node_cpuid[0].phys_id = hard_smp_processor_id(); in acpi_numa_fixup() 679 node_cpuid[i++].phys_id = in acpi_boot_init() 725 node_cpuid[cpu].phys_id = physid; in acpi_map_cpu2node()
|
D | smpboot.c | 353 int cpuid, phys_id, itc_master; in smp_callin() local 359 phys_id = hard_smp_processor_id(); in smp_callin() 364 phys_id, cpuid); in smp_callin()
|
/kernel/linux/linux-5.10/include/xen/interface/ |
D | vcpu.h | 190 uint64_t phys_id; member
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | numa.c | 31 { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } };
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | setup.c | 100 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()
|
/kernel/linux/linux-5.10/include/acpi/ |
D | processor.h | 221 phys_cpuid_t phys_id; /* CPU hardware ID such as APIC ID for x86 */ member 352 int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | prom.c | 935 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument 944 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id() 947 return (int)phys_id == get_hard_smp_processor_id(cpu); in arch_match_cpu_phys_id()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cpu.h | 40 extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
|
D | acpi.h | 279 static inline bool invalid_phys_cpuid(phys_cpuid_t phys_id) in invalid_phys_cpuid() argument 281 return phys_id == PHYS_CPUID_INVALID; in invalid_phys_cpuid()
|
D | sfp.h | 7 u8 phys_id; member
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | sfp.c | 266 return id->base.phys_id == SFF8024_ID_SFF_8472 && in sff_module_supported() 277 if (id->base.phys_id == SFF8024_ID_SFP && in sfp_module_supported() 285 if (id->base.phys_id == SFF8024_ID_SFF_8472 && in sfp_module_supported() 1721 if (id->base.phys_id != SFF8024_ID_SFF_8472 || in sfp_cotsworks_fixup_check() 1725 id->base.phys_id = SFF8024_ID_SFF_8472; in sfp_cotsworks_fixup_check() 1877 sfp->id.base.phys_id, sfp->id.base.phys_ext_id); in sfp_sm_mod_probe()
|
D | sfp-bus.c | 216 if (id->base.phys_id != SFF8024_ID_DWDM_SFP) { in sfp_may_have_phy()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 3237 u32 number, logical_id, phys_id; in i40e_parse_discover_capabilities() local 3257 phys_id = le32_to_cpu(cap->phys_id); in i40e_parse_discover_capabilities() 3311 p->maxtc = phys_id; in i40e_parse_discover_capabilities() 3329 p->base_queue = phys_id; in i40e_parse_discover_capabilities() 3333 p->base_queue = phys_id; in i40e_parse_discover_capabilities() 3358 p->flex10_status = phys_id; in i40e_parse_discover_capabilities() 3369 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities() 3370 p->led[phys_id] = true; in i40e_parse_discover_capabilities() 3373 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities() 3374 p->sdp[phys_id] = true; in i40e_parse_discover_capabilities() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_init.c | 10841 uint16_t phys_id, uint16_t core_id) in lpfc_find_hyper() argument 10849 if ((cpup->phys_id == phys_id) && in lpfc_find_hyper() 10897 cpup->phys_id = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init() 10962 cpup->phys_id = cpuinfo->phys_proc_id; in lpfc_cpu_affinity_check() 10964 if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id)) in lpfc_cpu_affinity_check() 10968 cpup->phys_id = 0; in lpfc_cpu_affinity_check() 10974 cpu, cpup->phys_id, cpup->core_id, cpup->flag); in lpfc_cpu_affinity_check() 10976 if (cpup->phys_id > max_phys_id) in lpfc_cpu_affinity_check() 10977 max_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check() 10978 if (cpup->phys_id < min_phys_id) in lpfc_cpu_affinity_check() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 1790 u32 phys_id = le32_to_cpu(elem->phys_id); in ice_parse_common_caps() local 1811 caps->maxtc = phys_id; in ice_parse_common_caps() 1832 caps->rxq_first_id = phys_id; in ice_parse_common_caps() 1842 caps->txq_first_id = phys_id; in ice_parse_common_caps() 1852 caps->msix_vector_first_id = phys_id; in ice_parse_common_caps()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | imc-pmu.c | 1194 int phys_id = cpu_to_node(cpu_id), rc = 0; in trace_imc_mem_alloc() local 1200 page = alloc_pages_node(phys_id, in trace_imc_mem_alloc()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-bus-nfit | 39 What: /sys/bus/nd/devices/nmemX/nfit/phys_id
|