Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/acpi/
Dprocessor_core.c139 int device_declaration, u32 acpi_id, phys_cpuid_t *phys_id) in map_core_pic_id() argument
152 *phys_id = core_pic->core_id; in map_core_pic_id()
163 phys_cpuid_t phys_id = PHYS_CPUID_INVALID; /* CPU hardware ID */ in map_madt_entry() local
166 return phys_id; in map_madt_entry()
178 if (!map_lapic_id(header, acpi_id, &phys_id)) in map_madt_entry()
181 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
184 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
187 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry()
190 if (!map_rintc_hartid(header, type, acpi_id, &phys_id)) in map_madt_entry()
193 if (!map_core_pic_id(header, type, acpi_id, &phys_id)) in map_madt_entry()
[all …]
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()
/linux-6.6.21/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.h109 unsigned int phys_id; member
Drockchip_drm_vop2.c1737 u32 offset = (main_win->data->phys_id * 0x10); in vop2_setup_cluster_alpha()
1940 switch (win->data->phys_id) { in vop2_setup_layer_mixer()
1997 switch (win->data->phys_id) { in vop2_setup_dly_for_windows()
2039 vp->win_mask |= BIT(win->data->phys_id); in vop2_crtc_atomic_begin()
2314 switch (win->data->phys_id) { in vop2_create_crtcs()
/linux-6.6.21/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-6.6.21/drivers/of/
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()
/linux-6.6.21/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-6.6.21/arch/riscv/kernel/
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()
/linux-6.6.21/arch/ia64/mm/
Dnuma.c30 { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } };
/linux-6.6.21/arch/ia64/include/asm/
Dnuma.h46 u16 phys_id; /* id << 8 | eid */ member
/linux-6.6.21/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-6.6.21/include/xen/interface/
Dvcpu.h173 uint64_t phys_id; member
/linux-6.6.21/arch/arm64/kernel/
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()
/linux-6.6.21/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-6.6.21/arch/powerpc/kernel/
Dprom.c993 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) in arch_match_cpu_phys_id() argument
1002 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
1005 return (int)phys_id == get_hard_smp_processor_id(cpu); in arch_match_cpu_phys_id()
/linux-6.6.21/include/linux/
Dcpu.h41 extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
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()
Dsfp.h7 u8 phys_id; member
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_common.c3113 u32 number, logical_id, phys_id; in i40e_parse_discover_capabilities() local
3133 phys_id = le32_to_cpu(cap->phys_id); in i40e_parse_discover_capabilities()
3187 p->maxtc = phys_id; in i40e_parse_discover_capabilities()
3205 p->base_queue = phys_id; in i40e_parse_discover_capabilities()
3209 p->base_queue = phys_id; in i40e_parse_discover_capabilities()
3234 p->flex10_status = phys_id; in i40e_parse_discover_capabilities()
3245 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities()
3246 p->led[phys_id] = true; in i40e_parse_discover_capabilities()
3249 if (phys_id < I40E_HW_CAP_MAX_GPIO) in i40e_parse_discover_capabilities()
3250 p->sdp[phys_id] = true; in i40e_parse_discover_capabilities()
[all …]
/linux-6.6.21/drivers/net/phy/
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()
2115 if (id->base.phys_id != SFF8024_ID_SFF_8472 || in sfp_cotsworks_fixup_check()
2119 id->base.phys_id = SFF8024_ID_SFF_8472; in sfp_cotsworks_fixup_check()
2288 sfp->id.base.phys_id, sfp->id.base.phys_ext_id); in sfp_sm_mod_probe()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
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()
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_init.c12341 uint16_t phys_id, uint16_t core_id) in lpfc_find_hyper() argument
12349 if ((cpup->phys_id == phys_id) && in lpfc_find_hyper()
12397 cpup->phys_id = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
12462 cpup->phys_id = cpuinfo->phys_proc_id; in lpfc_cpu_affinity_check()
12464 if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id)) in lpfc_cpu_affinity_check()
12468 cpup->phys_id = 0; in lpfc_cpu_affinity_check()
12474 cpu, cpup->phys_id, cpup->core_id, cpup->flag); in lpfc_cpu_affinity_check()
12476 if (cpup->phys_id > max_phys_id) in lpfc_cpu_affinity_check()
12477 max_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check()
12478 if (cpup->phys_id < min_phys_id) in lpfc_cpu_affinity_check()
[all …]

12