Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/acpi/
H A Dprocessor_core.c152 *phys_id = core_pic->core_id; in map_core_pic_id()
166 return phys_id; in map_madt_entry()
198 return phys_id; in map_madt_entry()
251 return phys_id; in map_mat_entry()
256 phys_cpuid_t phys_id; in acpi_get_phys_id() local
259 if (invalid_phys_cpuid(phys_id)) in acpi_get_phys_id()
262 return phys_id; in acpi_get_phys_id()
272 if (invalid_phys_cpuid(phys_id)) { in acpi_map_cpuid()
306 if (phys_id == 0) in acpi_map_cpuid()
307 return phys_id; in acpi_map_cpuid()
[all …]
H A Dacpi_processor.c211 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_hotadd_init()
221 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init()
311 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration, in acpi_processor_get_info()
313 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_get_info()
316 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_vop2_reg.c145 .phys_id = ROCKCHIP_VOP2_SMART0,
158 .phys_id = ROCKCHIP_VOP2_SMART1,
171 .phys_id = ROCKCHIP_VOP2_ESMART1,
184 .phys_id = ROCKCHIP_VOP2_ESMART0,
197 .phys_id = ROCKCHIP_VOP2_CLUSTER0,
212 .phys_id = ROCKCHIP_VOP2_CLUSTER1,
H A Drockchip_drm_vop2.h109 unsigned int phys_id; member
H A Drockchip_drm_vop2.c1744 u32 offset = (main_win->data->phys_id * 0x10); in vop2_setup_cluster_alpha()
1947 switch (win->data->phys_id) { in vop2_setup_layer_mixer()
2004 switch (win->data->phys_id) { in vop2_setup_dly_for_windows()
2046 vp->win_mask |= BIT(win->data->phys_id); in vop2_crtc_atomic_begin()
2321 switch (win->data->phys_id) { in vop2_create_crtcs()
/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dsmp-shx3.c19 #define STBCR_REG(phys_id) (0xfe400004 | (phys_id << 12)) argument
20 #define RESET_REG(phys_id) (0xfe400008 | (phys_id << 12)) argument
/openbmc/linux/drivers/of/
H A Dcpu.c42 bool __weak arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
44 return (u32)phys_id == cpu; in arch_match_cpu_phys_id()
/openbmc/linux/arch/arm/kernel/
H A Ddevtree.c168 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
170 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
/openbmc/linux/arch/ia64/mm/
H A Dnuma.c30 { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } };
/openbmc/linux/arch/ia64/include/asm/
H A Dnuma.h46 u16 phys_id; /* id << 8 | eid */ member
/openbmc/linux/arch/ia64/kernel/
H A Dnuma.c67 if (cpu_physical_id(cpu) == node_cpuid[i].phys_id) { in build_cpu_to_node_map()
H A Dacpi.c391 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()
H A Dsmpboot.c354 int cpuid, phys_id, itc_master; in smp_callin() local
360 phys_id = hard_smp_processor_id(); in smp_callin()
365 phys_id, cpuid); in smp_callin()
/openbmc/linux/include/xen/interface/
H A Dvcpu.h173 uint64_t phys_id; member
/openbmc/qemu/include/hw/xen/interface/
H A Dvcpu.h186 uint64_t phys_id; member
/openbmc/linux/arch/riscv/kernel/
H A Dcpu.c20 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
22 return phys_id == cpuid_to_hartid_map(cpu); in arch_match_cpu_phys_id()
/openbmc/linux/arch/arm64/kernel/
H A Dsetup.c98 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
100 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
/openbmc/linux/include/acpi/
H A Dprocessor.h226 phys_cpuid_t phys_id; /* CPU hardware ID such as APIC ID for x86 */ member
357 int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
/openbmc/linux/arch/powerpc/kernel/
H A Dprom.c1009 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
1018 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
1021 return (int)phys_id == get_hard_smp_processor_id(cpu); in arch_match_cpu_phys_id()
/openbmc/linux/include/linux/
H A Dcpu.h41 extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
H A Dacpi.h296 static inline bool invalid_phys_cpuid(phys_cpuid_t phys_id) in invalid_phys_cpuid() argument
298 return phys_id == PHYS_CPUID_INVALID; in invalid_phys_cpuid()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c3117 u32 number, logical_id, phys_id; in i40e_parse_discover_capabilities() local
3137 phys_id = le32_to_cpu(cap->phys_id); in i40e_parse_discover_capabilities()
3191 p->maxtc = phys_id; in i40e_parse_discover_capabilities()
3209 p->base_queue = phys_id; in i40e_parse_discover_capabilities()
3213 p->base_queue = phys_id; in i40e_parse_discover_capabilities()
3238 p->flex10_status = phys_id; in i40e_parse_discover_capabilities()
3249 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities()
3250 p->led[phys_id] = true; in i40e_parse_discover_capabilities()
3253 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities()
3254 p->sdp[phys_id] = true; in i40e_parse_discover_capabilities()
[all …]
/openbmc/linux/drivers/net/phy/
H A Dsfp.c302 return id->base.phys_id == SFF8024_ID_SFF_8472 && in sff_module_supported()
313 if (id->base.phys_id == SFF8024_ID_SFP && in sfp_module_supported()
321 if (id->base.phys_id == SFF8024_ID_SFF_8472 && in sfp_module_supported()
2118 if (id->base.phys_id != SFF8024_ID_SFF_8472 || in sfp_cotsworks_fixup_check()
2122 id->base.phys_id = SFF8024_ID_SFF_8472; in sfp_cotsworks_fixup_check()
2291 sfp->id.base.phys_id, sfp->id.base.phys_ext_id); in sfp_sm_mod_probe()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c2140 u32 phys_id = le32_to_cpu(elem->phys_id); in ice_parse_common_caps() local
2159 caps->maxtc = phys_id; in ice_parse_common_caps()
2175 caps->rxq_first_id = phys_id; in ice_parse_common_caps()
2183 caps->txq_first_id = phys_id; in ice_parse_common_caps()
2191 caps->msix_vector_first_id = phys_id; in ice_parse_common_caps()
2537 u32 phys_id = le32_to_cpu(cap->phys_id); in ice_parse_1588_dev_caps() local
2554 info->tmr_own_map = phys_id; in ice_parse_1588_dev_caps()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c12344 uint16_t phys_id, uint16_t core_id) in lpfc_find_hyper() argument
12352 if ((cpup->phys_id == phys_id) && in lpfc_find_hyper()
12471 cpup->phys_id = 0; in lpfc_cpu_affinity_check()
12479 if (cpup->phys_id > max_phys_id) in lpfc_cpu_affinity_check()
12480 max_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check()
12481 if (cpup->phys_id < min_phys_id) in lpfc_cpu_affinity_check()
12482 min_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check()
12516 (new_cpup->phys_id == cpup->phys_id)) in lpfc_cpu_affinity_check()
12537 cpup->phys_id); in lpfc_cpu_affinity_check()
12646 new_cpup->phys_id == cpup->phys_id && in lpfc_cpu_affinity_check()
[all …]

12