Searched refs:phys_id (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/drivers/acpi/
H A Dprocessor_core.c139 int device_declaration, u32 acpi_id, phys_cpuid_t *phys_id)
152 *phys_id = core_pic->core_id;
163 phys_cpuid_t phys_id = PHYS_CPUID_INVALID; /* CPU hardware ID */ local
166 return phys_id;
178 if (!map_lapic_id(header, acpi_id, &phys_id))
181 if (!map_x2apic_id(header, type, acpi_id, &phys_id))
184 if (!map_lsapic_id(header, type, acpi_id, &phys_id))
187 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id))
190 if (!map_rintc_hartid(header, type, acpi_id, &phys_id))
193 if (!map_core_pic_id(header, type, acpi_id, &phys_id))
138 map_core_pic_id(struct acpi_subtable_header *entry, int device_declaration, u32 acpi_id, phys_cpuid_t *phys_id) argument
223 phys_cpuid_t phys_id = PHYS_CPUID_INVALID; local
256 phys_cpuid_t phys_id; local
266 acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id) argument
314 phys_cpuid_t phys_id; local
[all...]
H A Dacpi_processor.c193 if (invalid_phys_cpuid(pr->phys_id))
203 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id);
293 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration,
295 if (invalid_phys_cpuid(pr->phys_id))
298 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id);
/linux-master/drivers/gpu/drm/rockchip/
H A Drockchip_vop2_reg.c178 .phys_id = ROCKCHIP_VOP2_SMART0,
191 .phys_id = ROCKCHIP_VOP2_SMART1,
204 .phys_id = ROCKCHIP_VOP2_ESMART1,
217 .phys_id = ROCKCHIP_VOP2_ESMART0,
230 .phys_id = ROCKCHIP_VOP2_CLUSTER0,
245 .phys_id = ROCKCHIP_VOP2_CLUSTER1,
328 .phys_id = ROCKCHIP_VOP2_CLUSTER0,
343 .phys_id = ROCKCHIP_VOP2_CLUSTER1,
358 .phys_id = ROCKCHIP_VOP2_CLUSTER2,
373 .phys_id
[all...]
H A Drockchip_drm_vop2.h127 unsigned int phys_id; member in struct:vop2_win_data
H A Drockchip_drm_vop2.c2160 u32 offset = (main_win->data->phys_id * 0x10);
2357 switch (win->data->phys_id) {
2429 switch (win->data->phys_id) {
2471 vp->win_mask |= BIT(win->data->phys_id);
2743 switch (win->data->phys_id) {
/linux-master/arch/sh/kernel/cpu/sh4a/
H A Dsmp-shx3.c19 #define STBCR_REG(phys_id) (0xfe400004 | (phys_id << 12))
20 #define RESET_REG(phys_id) (0xfe400008 | (phys_id << 12))
/linux-master/drivers/of/
H A Dcpu.c32 * @phys_id: physical identifier of a core/thread
36 * id to logical cpu index. phys_id provided here is usually values read
42 bool __weak arch_match_cpu_phys_id(int cpu, u64 phys_id) argument
44 return (u32)phys_id == cpu;
/linux-master/include/xen/interface/
H A Dvcpu.h173 uint64_t phys_id; member in struct:vcpu_get_physid
/linux-master/arch/arm/kernel/
H A Ddevtree.c167 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) argument
169 return phys_id == cpu_logical_map(cpu);
/linux-master/arch/riscv/kernel/
H A Dcpu.c20 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) argument
22 return phys_id == cpuid_to_hartid_map(cpu);
/linux-master/include/linux/
H A Dcpu.h41 extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
H A Dsfp.h7 u8 phys_id; member in struct:sfp_eeprom_base
H A Dacpi.h282 static inline bool invalid_phys_cpuid(phys_cpuid_t phys_id) argument
284 return phys_id == PHYS_CPUID_INVALID;
/linux-master/include/acpi/
H A Dprocessor.h226 phys_cpuid_t phys_id; /* CPU hardware ID such as APIC ID for x86 */ member in struct:acpi_processor
357 int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
/linux-master/arch/arm64/kernel/
H A Dsetup.c98 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) argument
100 return phys_id == cpu_logical_map(cpu);
/linux-master/arch/x86/kernel/cpu/
H A Dtopology.c72 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) argument
74 return phys_id == (u64)cpuid_to_apicid[cpu];
/linux-master/arch/powerpc/kernel/
H A Dprom.c1015 bool arch_match_cpu_phys_id(int cpu, u64 phys_id) argument
1024 return (int)phys_id == cpu_to_phys_id[cpu];
1027 return (int)phys_id == get_hard_smp_processor_id(cpu);
/linux-master/drivers/net/phy/
H A Dsfp.c303 return id->base.phys_id == SFF8024_ID_SFF_8472 &&
314 if (id->base.phys_id == SFF8024_ID_SFP &&
322 if (id->base.phys_id == SFF8024_ID_SFF_8472 &&
2136 if (id->base.phys_id != SFF8024_ID_SFF_8472 ||
2140 id->base.phys_id = SFF8024_ID_SFF_8472;
2240 /* Cotsworks SFF module EEPROM do not always have valid phys_id,
2309 sfp->id.base.phys_id, sfp->id.base.phys_ext_id);
H A Dsfp-bus.c123 if (id->base.phys_id != SFF8024_ID_DWDM_SFP) {
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c3096 u32 number, logical_id, phys_id; local
3116 phys_id = le32_to_cpu(cap->phys_id);
3170 p->maxtc = phys_id;
3188 p->base_queue = phys_id;
3192 p->base_queue = phys_id;
3217 p->flex10_status = phys_id;
3228 if (phys_id < I40E_HW_CAP_MAX_GPIO)
3229 p->led[phys_id] = true;
3232 if (phys_id < I40E_HW_CAP_MAX_GPI
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_common.c2069 u32 phys_id = le32_to_cpu(elem->phys_id); local
2088 caps->maxtc = phys_id;
2104 caps->rxq_first_id = phys_id;
2112 caps->txq_first_id = phys_id;
2120 caps->msix_vector_first_id = phys_id;
2471 u32 phys_id = le32_to_cpu(cap->phys_id); local
2489 info->tmr_own_map = phys_id;
/linux-master/arch/powerpc/perf/
H A Dimc-pmu.c1208 int phys_id = cpu_to_node(cpu_id), rc = 0; local
1214 page = alloc_pages_node(phys_id,
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_init.c12346 * @phys_id: CPU package physical id
12351 uint16_t phys_id, uint16_t core_id)
12359 if ((cpup->phys_id == phys_id) &&
12407 cpup->phys_id = LPFC_VECTOR_MAP_EMPTY;
12468 cpup->phys_id = topology_physical_package_id(cpu);
12470 if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id))
12474 cpup->phys_id = 0;
12480 cpu, cpup->phys_id, cpup->core_id, cpup->flag);
12482 if (cpup->phys_id > max_phys_i
12350 lpfc_find_hyper(struct lpfc_hba *phba, int cpu, uint16_t phys_id, uint16_t core_id) argument
[all...]
H A Dlpfc_sli4.h603 uint16_t phys_id; member in struct:lpfc_vector_map_info
/linux-master/tools/testing/nvdimm/test/
H A Dndtest.c574 static DEVICE_ATTR_RO(phys_id);

Completed in 672 milliseconds

12