Home
last modified time | relevance | path

Searched refs:cpu_info (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.6.39/arch/x86/kernel/cpu/
Dtransmeta.c25 char cpu_info[65]; in init_transmeta() local
60 (void *)&cpu_info[0], in init_transmeta()
61 (void *)&cpu_info[4], in init_transmeta()
62 (void *)&cpu_info[8], in init_transmeta()
63 (void *)&cpu_info[12]); in init_transmeta()
65 (void *)&cpu_info[16], in init_transmeta()
66 (void *)&cpu_info[20], in init_transmeta()
67 (void *)&cpu_info[24], in init_transmeta()
68 (void *)&cpu_info[28]); in init_transmeta()
70 (void *)&cpu_info[32], in init_transmeta()
[all …]
Damd.c711 struct cpuinfo_x86 *cpu = __this_cpu_ptr(&cpu_info); in cpu_has_amd_erratum()
Dintel_cacheinfo.c271 size_in_kb = __this_cpu_read(cpu_info.x86_cache_size); in amd_cpuid4()
293 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4()
/linux-2.6.39/arch/sparc/kernel/
Dcpu.c26 struct cpu_info { struct
42 struct cpu_info cpu_info[NOCPU]; member
59 .cpu_info = {
78 .cpu_info = {
99 .cpu_info = {
110 .cpu_info = {
119 .cpu_info = {
138 .cpu_info = {
148 .cpu_info = {
157 .cpu_info = {
[all …]
/linux-2.6.39/arch/cris/arch-v10/kernel/
Dsetup.c29 static struct cpu_info { struct
33 } cpu_info[] = { variable
54 struct cpu_info *info; in show_cpuinfo()
60 if (revision >= ARRAY_SIZE(cpu_info)) in show_cpuinfo()
61 info = &cpu_info[ARRAY_SIZE(cpu_info) - 1]; in show_cpuinfo()
63 info = &cpu_info[revision]; in show_cpuinfo()
/linux-2.6.39/arch/s390/hypfs/
Dhypfs_diag.c174 struct cpu_info { struct
208 return sizeof(struct cpu_info); in cpu_info__size()
216 return ((struct cpu_info *)hdr)->ctidx; in cpu_info__ctidx()
224 return ((struct cpu_info *)hdr)->cpu_addr; in cpu_info__cpu_addr()
232 return ((struct cpu_info *)hdr)->acc_time; in cpu_info__acc_time()
240 return ((struct cpu_info *)hdr)->lp_time; in cpu_info__lp_time()
629 struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files() argument
636 cpu_info)); in hypfs_create_cpu_files()
639 cpu_info__acc_time(diag204_info_type, cpu_info) - in hypfs_create_cpu_files()
640 cpu_info__lp_time(diag204_info_type, cpu_info)); in hypfs_create_cpu_files()
[all …]
/linux-2.6.39/arch/parisc/kernel/
Dprocessor.c126 struct pdc_pat_cpu_num cpu_info; in processor_probe() local
153 status = pdc_pat_cpu_get_number(&cpu_info, dev->hpa.start); in processor_probe()
157 if (cpu_info.cpu_num >= NR_CPUS) { in processor_probe()
161 dev->hpa.start, cpu_info.cpu_num, NR_CPUS); in processor_probe()
166 cpuid = cpu_info.cpu_num; in processor_probe()
Dfirmware.c1260 int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, void *hpa) in pdc_pat_cpu_get_number() argument
1268 memcpy(cpu_info, pdc_result, sizeof(*cpu_info)); in pdc_pat_cpu_get_number()
/linux-2.6.39/arch/cris/arch-v32/kernel/
Dsetup.c27 struct cpu_info { struct
35 static struct cpu_info cpinfo[] = { argument
62 struct cpu_info *info; in show_cpuinfo()
/linux-2.6.39/arch/mips/sgi-ip27/
Dip27-klconfig.c93 if ((acpu->cpu_info.physid) == slice) in nasid_slice_to_cpuinfo()
122 if (acpu && acpu->cpu_info.virtid == cpu) in sn_get_cpuinfo()
134 return acpu->cpu_info.physid; in get_cpu_slice()
Dip27-smp.c70 cpuid = acpu->cpu_info.virtid; in do_cpumask()
77 if ((acpu->cpu_info.flags & KLINFO_ENABLE) && in do_cpumask()
/linux-2.6.39/arch/x86/oprofile/
Dop_model_ppro.c98 __this_cpu_read(cpu_info.x86) == 6 && in ppro_setup_ctrs()
99 __this_cpu_read(cpu_info.x86_model) == 15)) { in ppro_setup_ctrs()
238 if (eax.split.version_id == 0 && __this_cpu_read(cpu_info.x86) == 6 && in arch_perfmon_setup_counters()
239 __this_cpu_read(cpu_info.x86_model) == 15) { in arch_perfmon_setup_counters()
/linux-2.6.39/arch/parisc/include/asm/
Dpdcpat.h260 unsigned long cpu_info; member
292 extern int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, void *hpa);
/linux-2.6.39/arch/x86/kernel/
Dsmpboot.c133 DEFINE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info);
134 EXPORT_PER_CPU_SYMBOL(cpu_info);
353 if (__this_cpu_read(cpu_info.x86_max_cores) == 1) { in set_cpu_sibling_map()
1333 struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info); in mwait_play_dead()
1337 if (!cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_CLFLSH)) in mwait_play_dead()
1339 if (__this_cpu_read(cpu_info.cpuid_level) < CPUID_MWAIT_LEAF) in mwait_play_dead()
1390 if (__this_cpu_read(cpu_info.x86) >= 4) in hlt_play_dead()
Dprocess.c452 if (cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_CLFLUSH_MONITOR)) in mwait_idle_with_hints()
468 if (cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_CLFLUSH_MONITOR)) in mwait_idle()
/linux-2.6.39/arch/x86/lib/
Ddelay.c124 (this_cpu_read(cpu_info.loops_per_jiffy) * (HZ/4))); in __const_udelay()
/linux-2.6.39/arch/ia64/kernel/
Dsetup.c908 struct cpuinfo_ia64 *cpu_info; in cpu_init() local
941 cpu_info = cpu_data + ((char *) &__ia64_per_cpu_var(ia64_cpu_info) - __per_cpu_start); in cpu_init()
942 identify_cpu(cpu_info); in cpu_init()
949 if (cpu_info->family == 0x1f) { in cpu_init()
/linux-2.6.39/arch/x86/kernel/cpu/mcheck/
Dmce.c1163 if (mce_available(__this_cpu_ptr(&cpu_info))) { in mce_start_timer()
1771 __mcheck_cpu_init_vendor(__this_cpu_ptr(&cpu_info)); in mce_resume()
1783 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_cpu_restart()
1798 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_disable_ce()
1807 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_enable_ce()
2027 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2045 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
Dmce_intel.c133 if (!mce_available(__this_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
/linux-2.6.39/arch/arm/kernel/
Dsmp.c267 struct cpuinfo_arm *cpu_info = &per_cpu(cpu_data, cpuid); in smp_store_cpu_info() local
269 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
/linux-2.6.39/arch/x86/include/asm/
Dprocessor.h138 DECLARE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info);
139 #define cpu_data(cpu) per_cpu(cpu_info, cpu)
141 #define cpu_info boot_cpu_data macro
/linux-2.6.39/arch/mips/include/asm/sn/
Dklconfig.h595 klinfo_t cpu_info; member
/linux-2.6.39/drivers/input/gameport/
Dgameport.c124 return (this_cpu_read(cpu_info.loops_per_jiffy) * in gameport_measure_speed()
/linux-2.6.39/drivers/staging/lirc/
Dlirc_serial.c401 freq, duty_cycle, __this_cpu_read(cpu_info.loops_per_jiffy), in init_timing_params()
/linux-2.6.39/arch/x86/kernel/apic/
Dapic.c508 if (cpu_has(__this_cpu_ptr(&cpu_info), X86_FEATURE_ARAT)) { in setup_APIC_timer()

12