Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/acpi/
Dprocessor_core.c113 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 …]
Dacpi_processor.c177 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_hotadd_init()
187 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init()
277 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration, in acpi_processor_get_info()
279 if (invalid_phys_cpuid(pr->phys_id)) in acpi_processor_get_info()
282 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info()
/Linux-v6.1/drivers/gpu/drm/rockchip/
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,
Drockchip_drm_vop2.h114 unsigned int phys_id; member
Drockchip_drm_vop2.c1729 u32 offset = (main_win->data->phys_id * 0x10); in vop2_setup_cluster_alpha()
1932 switch (win->data->phys_id) { in vop2_setup_layer_mixer()
1989 switch (win->data->phys_id) { in vop2_setup_dly_for_windows()
2031 vp->win_mask |= BIT(win->data->phys_id); in vop2_crtc_atomic_begin()
2307 switch (win->data->phys_id) { in vop2_create_crtc()
/Linux-v6.1/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
/Linux-v6.1/arch/arm/kernel/
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()
/Linux-v6.1/arch/riscv/kernel/
Dsmp.c65 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
67 return phys_id == cpuid_to_hartid_map(cpu); in arch_match_cpu_phys_id()
/Linux-v6.1/arch/ia64/mm/
Dnuma.c30 { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } };
/Linux-v6.1/arch/ia64/include/asm/
Dnuma.h46 u16 phys_id; /* id << 8 | eid */ member
/Linux-v6.1/arch/ia64/kernel/
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()
Dnuma.c67 if (cpu_physical_id(cpu) == node_cpuid[i].phys_id) { in build_cpu_to_node_map()
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()
/Linux-v6.1/include/xen/interface/
Dvcpu.h173 uint64_t phys_id; member
/Linux-v6.1/arch/arm64/kernel/
Dsetup.c95 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
97 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
/Linux-v6.1/include/acpi/
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);
/Linux-v6.1/arch/powerpc/kernel/
Dprom.c990 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
999 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
1002 return (int)phys_id == get_hard_smp_processor_id(cpu); in arch_match_cpu_phys_id()
/Linux-v6.1/include/linux/
Dcpu.h40 extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
Dacpi.h307 static inline bool invalid_phys_cpuid(phys_cpuid_t phys_id) in invalid_phys_cpuid() argument
309 return phys_id == PHYS_CPUID_INVALID; in invalid_phys_cpuid()
Dsfp.h7 u8 phys_id; member
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_common.c3229 u32 number, logical_id, phys_id; in i40e_parse_discover_capabilities() local
3249 phys_id = le32_to_cpu(cap->phys_id); in i40e_parse_discover_capabilities()
3303 p->maxtc = phys_id; in i40e_parse_discover_capabilities()
3321 p->base_queue = phys_id; in i40e_parse_discover_capabilities()
3325 p->base_queue = phys_id; in i40e_parse_discover_capabilities()
3350 p->flex10_status = phys_id; in i40e_parse_discover_capabilities()
3361 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities()
3362 p->led[phys_id] = true; in i40e_parse_discover_capabilities()
3365 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities()
3366 p->sdp[phys_id] = true; in i40e_parse_discover_capabilities()
[all …]
/Linux-v6.1/drivers/net/phy/
Dsfp.c279 return id->base.phys_id == SFF8024_ID_SFF_8472 && in sff_module_supported()
290 if (id->base.phys_id == SFF8024_ID_SFP && in sfp_module_supported()
298 if (id->base.phys_id == SFF8024_ID_SFF_8472 && in sfp_module_supported()
1891 if (id->base.phys_id != SFF8024_ID_SFF_8472 || in sfp_cotsworks_fixup_check()
1895 id->base.phys_id = SFF8024_ID_SFF_8472; in sfp_cotsworks_fixup_check()
2055 sfp->id.base.phys_id, sfp->id.base.phys_ext_id); in sfp_sm_mod_probe()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_common.c2133 u32 phys_id = le32_to_cpu(elem->phys_id); in ice_parse_common_caps() local
2152 caps->maxtc = phys_id; in ice_parse_common_caps()
2168 caps->rxq_first_id = phys_id; in ice_parse_common_caps()
2176 caps->txq_first_id = phys_id; in ice_parse_common_caps()
2184 caps->msix_vector_first_id = phys_id; in ice_parse_common_caps()
2522 u32 phys_id = le32_to_cpu(cap->phys_id); in ice_parse_1588_dev_caps() local
2539 info->tmr_own_map = phys_id; in ice_parse_1588_dev_caps()
/Linux-v6.1/drivers/scsi/lpfc/
Dlpfc_init.c12335 uint16_t phys_id, uint16_t core_id) in lpfc_find_hyper() argument
12343 if ((cpup->phys_id == phys_id) && in lpfc_find_hyper()
12391 cpup->phys_id = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
12456 cpup->phys_id = cpuinfo->phys_proc_id; in lpfc_cpu_affinity_check()
12458 if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id)) in lpfc_cpu_affinity_check()
12462 cpup->phys_id = 0; in lpfc_cpu_affinity_check()
12468 cpu, cpup->phys_id, cpup->core_id, cpup->flag); in lpfc_cpu_affinity_check()
12470 if (cpup->phys_id > max_phys_id) in lpfc_cpu_affinity_check()
12471 max_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check()
12472 if (cpup->phys_id < min_phys_id) in lpfc_cpu_affinity_check()
[all …]
/Linux-v6.1/arch/powerpc/perf/
Dimc-pmu.c1204 int phys_id = cpu_to_node(cpu_id), rc = 0; in trace_imc_mem_alloc() local
1210 page = alloc_pages_node(phys_id, in trace_imc_mem_alloc()

12