/linux-6.1.9/tools/power/cpupower/utils/helpers/ |
D | cpuid.c | 46 int get_cpu_info(struct cpupower_cpu_info *cpu_info) in get_cpu_info() argument 56 cpu_info->vendor = X86_VENDOR_UNKNOWN; in get_cpu_info() 57 cpu_info->family = unknown; in get_cpu_info() 58 cpu_info->model = unknown; in get_cpu_info() 59 cpu_info->stepping = unknown; in get_cpu_info() 60 cpu_info->caps = 0; in get_cpu_info() 81 cpu_info->vendor = x; in get_cpu_info() 86 &cpu_info->family); in get_cpu_info() 89 &cpu_info->model); in get_cpu_info() 92 &cpu_info->stepping); in get_cpu_info() [all …]
|
D | helpers.h | 100 extern int get_cpu_info(struct cpupower_cpu_info *cpu_info);
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | transmeta.c | 27 char cpu_info[65]; in init_transmeta() local 62 (void *)&cpu_info[0], in init_transmeta() 63 (void *)&cpu_info[4], in init_transmeta() 64 (void *)&cpu_info[8], in init_transmeta() 65 (void *)&cpu_info[12]); in init_transmeta() 67 (void *)&cpu_info[16], in init_transmeta() 68 (void *)&cpu_info[20], in init_transmeta() 69 (void *)&cpu_info[24], in init_transmeta() 70 (void *)&cpu_info[28]); in init_transmeta() 72 (void *)&cpu_info[32], in init_transmeta() [all …]
|
/linux-6.1.9/arch/sparc/kernel/ |
D | cpu.c | 34 struct cpu_info { struct 50 struct cpu_info cpu_info[NOCPU]; member 67 .cpu_info = { 86 .cpu_info = { 107 .cpu_info = { 118 .cpu_info = { 127 .cpu_info = { 146 .cpu_info = { 156 .cpu_info = { 165 .cpu_info = { [all …]
|
/linux-6.1.9/arch/s390/hypfs/ |
D | hypfs_diag.c | 472 static int hypfs_create_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files() argument 479 cpu_info)); in hypfs_create_cpu_files() 482 cpu_info__acc_time(diag204_info_type, cpu_info) - in hypfs_create_cpu_files() 483 cpu_info__lp_time(diag204_info_type, cpu_info)); in hypfs_create_cpu_files() 487 cpu_info__lp_time(diag204_info_type, cpu_info)); in hypfs_create_cpu_files() 493 cpu_info)); in hypfs_create_cpu_files() 497 diag224_idx2name(cpu_info__ctidx(diag204_info_type, cpu_info), buffer); in hypfs_create_cpu_files() 507 void *cpu_info; in hypfs_create_lpar_files() local 518 cpu_info = part_hdr + part_hdr__size(diag204_info_type); in hypfs_create_lpar_files() 521 rc = hypfs_create_cpu_files(cpus_dir, cpu_info); in hypfs_create_lpar_files() [all …]
|
/linux-6.1.9/arch/parisc/kernel/ |
D | processor.c | 85 struct pdc_pat_cpu_num cpu_info = { }; in processor_probe() local 104 cpu_info.cpu_num = cpu_info.cpu_loc = cpuid; in processor_probe() 130 status = pdc_pat_cpu_get_number(&cpu_info, dev->hpa.start); in processor_probe() 135 cpuid, cpu_info.cpu_num, cpu_info.cpu_loc, in processor_probe() 145 if (cpu_info.cpu_num >= NR_CPUS) { in processor_probe() 149 &dev->hpa.start, cpu_info.cpu_num, NR_CPUS); in processor_probe() 154 cpuid = cpu_info.cpu_num; in processor_probe() 171 p->cpu_num = cpu_info.cpu_num; in processor_probe() 172 p->cpu_loc = cpu_info.cpu_loc; in processor_probe()
|
D | firmware.c | 1474 int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, unsigned long hpa) in pdc_pat_cpu_get_number() argument 1482 memcpy(cpu_info, pdc_result, sizeof(*cpu_info)); in pdc_pat_cpu_get_number()
|
/linux-6.1.9/arch/s390/kernel/ |
D | processor.c | 32 struct cpu_info { struct 38 static DEFINE_PER_CPU(struct cpu_info, cpu_info); argument 52 struct cpu_info *c; in update_cpu_mhz() 55 c = this_cpu_ptr(&cpu_info); in update_cpu_mhz() 87 struct cpuid *id = this_cpu_ptr(&cpu_info.cpu_id); in cpu_init() 152 struct cpuid *id = &per_cpu(cpu_info.cpu_id, cpu); in show_cpu_summary() 301 struct cpuid *id = &per_cpu(cpu_info.cpu_id, n); in show_cpu_ids() 310 struct cpu_info *c = per_cpu_ptr(&cpu_info, n); in show_cpu_mhz()
|
/linux-6.1.9/arch/mips/sgi-ip27/ |
D | ip27-smp.c | 41 cpuid = acpu->cpu_info.virtid; in node_scan_cpus() 43 if ((acpu->cpu_info.flags & KLINFO_ENABLE) && in node_scan_cpus() 49 cputoslice(cpus_found) = acpu->cpu_info.physid; in node_scan_cpus()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | smp_plat.h | 38 struct cpuinfo_arm *cpu_info = &per_cpu(cpu_data, cpu); in smp_cpuid_part() local 40 return is_smp() ? cpu_info->cpuid & ARM_CPU_PART_MASK : in smp_cpuid_part()
|
/linux-6.1.9/net/dsa/ |
D | master.c | 46 struct ethtool_drvinfo *cpu_info; in dsa_master_get_regs() local 60 cpu_info = (struct ethtool_drvinfo *)data; in dsa_master_get_regs() 61 strscpy(cpu_info->driver, "dsa", sizeof(cpu_info->driver)); in dsa_master_get_regs() 62 data += sizeof(*cpu_info); in dsa_master_get_regs()
|
/linux-6.1.9/drivers/hwmon/peci/ |
D | cputemp.c | 35 struct cpu_info { struct 59 const struct cpu_info *gen_info; argument 494 priv->gen_info = (const struct cpu_info *)id->driver_data; in peci_cputemp_probe() 534 static const struct cpu_info cpu_hsx = { 540 static const struct cpu_info cpu_icx = {
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | pdcpat.h | 328 unsigned long cpu_info; member 370 extern int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, unsigned long hpa);
|
/linux-6.1.9/arch/mips/kernel/ |
D | pm-cps.c | 238 const struct cpuinfo_mips *cpu_info, in cps_gen_flush_fsb() argument 244 unsigned line_size = cpu_info->dcache.linesz; in cps_gen_flush_fsb() 246 unsigned revision = cpu_info->processor_id & PRID_REV_MASK; in cps_gen_flush_fsb() 252 switch (__get_cpu_type(cpu_info->cputype)) { in cps_gen_flush_fsb()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | processor.h | 184 DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 185 #define cpu_data(cpu) per_cpu(cpu_info, cpu) 187 #define cpu_info boot_cpu_data macro
|
D | cpufeature.h | 131 (unsigned long __percpu *)&cpu_info.x86_capability))
|
/linux-6.1.9/arch/arm/kernel/ |
D | smp.c | 394 struct cpuinfo_arm *cpu_info = &per_cpu(cpu_data, cpuid); in smp_store_cpu_info() local 396 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info() 397 cpu_info->cpuid = read_cpuid_id(); in smp_store_cpu_info()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | setup.c | 941 struct cpuinfo_ia64 *cpu_info; in cpu_init() local 974 cpu_info = cpu_data + ((char *) &__ia64_per_cpu_var(ia64_cpu_info) - __per_cpu_start); in cpu_init() 975 identify_cpu(cpu_info); in cpu_init() 982 if (cpu_info->family == 0x1f) { in cpu_init()
|
/linux-6.1.9/arch/x86/kernel/ |
D | smp.c | 217 mcheck_cpu_clear(this_cpu_ptr(&cpu_info)); in native_stop_other_cpus()
|
D | smpboot.c | 99 DEFINE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 100 EXPORT_PER_CPU_SYMBOL(cpu_info); 1762 if (__this_cpu_read(cpu_info.cpuid_level) < CPUID_MWAIT_LEAF) in mwait_play_dead() 1817 if (__this_cpu_read(cpu_info.x86) >= 4) in hlt_play_dead()
|
/linux-6.1.9/arch/um/include/asm/ |
D | cpufeature.h | 42 (unsigned long __percpu *)&cpu_info.x86_capability))
|
/linux-6.1.9/arch/x86/kernel/acpi/ |
D | sleep.c | 93 if (__this_cpu_read(cpu_info.cpuid_level) >= 0) { in x86_acpi_suspend_lowlevel()
|
/linux-6.1.9/arch/x86/lib/ |
D | delay.c | 209 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay()
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | core.c | 1630 if (mce_available(this_cpu_ptr(&cpu_info))) { in mce_timer_fn() 2340 __mcheck_cpu_init_vendor(raw_cpu_ptr(&cpu_info)); in mce_syscore_resume() 2356 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_cpu_restart() 2373 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cmci() 2380 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_enable_ce() 2625 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_disable_cpu() 2639 if (!mce_available(raw_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
|
D | intel.c | 347 if (!mce_available(raw_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
|