Home
last modified time | relevance | path

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

12

/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 …]
/arch/cris/arch-v10/kernel/
Dsetup.c30 static struct cpu_info { struct
34 } cpu_info[] = { argument
55 struct cpu_info *info; in show_cpuinfo()
61 if (revision >= ARRAY_SIZE(cpu_info)) in show_cpuinfo()
62 info = &cpu_info[ARRAY_SIZE(cpu_info) - 1]; in show_cpuinfo()
64 info = &cpu_info[revision]; in show_cpuinfo()
/arch/sparc/kernel/
Dcpu.c32 struct cpu_info { struct
48 struct cpu_info cpu_info[NOCPU]; argument
65 .cpu_info = {
84 .cpu_info = {
105 .cpu_info = {
116 .cpu_info = {
125 .cpu_info = {
144 .cpu_info = {
154 .cpu_info = {
163 .cpu_info = {
[all …]
/arch/s390/hypfs/
Dhypfs_diag.c173 struct cpu_info { struct
207 return sizeof(struct cpu_info); in cpu_info__size()
215 return ((struct cpu_info *)hdr)->ctidx; in cpu_info__ctidx()
223 return ((struct cpu_info *)hdr)->cpu_addr; in cpu_info__cpu_addr()
231 return ((struct cpu_info *)hdr)->acc_time; in cpu_info__acc_time()
239 return ((struct cpu_info *)hdr)->lp_time; in cpu_info__lp_time()
627 struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files() argument
634 cpu_info)); in hypfs_create_cpu_files()
637 cpu_info__acc_time(diag204_info_type, cpu_info) - in hypfs_create_cpu_files()
638 cpu_info__lp_time(diag204_info_type, cpu_info)); in hypfs_create_cpu_files()
[all …]
/arch/arm64/include/asm/
Dcputable.h21 struct cpu_info { struct
28 extern struct cpu_info *lookup_processor_type(unsigned int); argument
/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()
/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()
/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.c1259 int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, void *hpa) in pdc_pat_cpu_get_number() argument
1267 memcpy(cpu_info, pdc_result, sizeof(*cpu_info)); in pdc_pat_cpu_get_number()
/arch/x86/oprofile/
Dop_model_ppro.c87 __this_cpu_read(cpu_info.x86) == 6 && in ppro_setup_ctrs()
88 __this_cpu_read(cpu_info.x86_model) == 15)) { in ppro_setup_ctrs()
215 if (eax.split.version_id == 0 && __this_cpu_read(cpu_info.x86) == 6 && in arch_perfmon_setup_counters()
216 __this_cpu_read(cpu_info.x86_model) == 15) { in arch_perfmon_setup_counters()
/arch/arm64/kernel/
Dcputable.c25 struct cpu_info cpu_table[] = {
Dsetup.c199 struct cpu_info *cpu_info; in setup_processor() local
202 cpu_info = lookup_processor_type(read_cpuid_id()); in setup_processor()
203 if (!cpu_info) { in setup_processor()
209 cpu_name = cpu_info->cpu_name; in setup_processor()
Dasm-offsets.c73 DEFINE(CPU_INFO_SZ, sizeof(struct cpu_info)); in main()
74 DEFINE(CPU_INFO_SETUP, offsetof(struct cpu_info, cpu_setup)); in main()
/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);
/arch/x86/lib/
Ddelay.c124 (this_cpu_read(cpu_info.loops_per_jiffy) * (HZ/4))); in __const_udelay()
/arch/x86/kernel/acpi/
Dsleep.c58 if (__this_cpu_read(cpu_info.cpuid_level) >= 0) { in acpi_suspend_lowlevel()
/arch/arm/kernel/
Dsmp.c299 struct cpuinfo_arm *cpu_info = &per_cpu(cpu_data, cpuid); in smp_store_cpu_info() local
301 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
302 cpu_info->cpuid = read_cpuid_id(); in smp_store_cpu_info()
/arch/ia64/kernel/
Dsetup.c926 struct cpuinfo_ia64 *cpu_info; in cpu_init() local
959 cpu_info = cpu_data + ((char *) &__ia64_per_cpu_var(ia64_cpu_info) - __per_cpu_start); in cpu_init()
960 identify_cpu(cpu_info); in cpu_init()
967 if (cpu_info->family == 0x1f) { in cpu_init()
/arch/x86/include/asm/
Dprocessor.h155 DECLARE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info);
156 #define cpu_data(cpu) per_cpu(cpu_info, cpu)
158 #define cpu_info boot_cpu_data macro
Dcpufeature.h263 x86_this_cpu_test_bit(bit, (unsigned long *)&cpu_info.x86_capability))
/arch/x86/kernel/
Dsmpboot.c124 DEFINE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info);
125 EXPORT_PER_CPU_SYMBOL(cpu_info);
1382 if (__this_cpu_read(cpu_info.cpuid_level) < CPUID_MWAIT_LEAF) in mwait_play_dead()
1438 if (__this_cpu_read(cpu_info.x86) >= 4) in hlt_play_dead()
/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c255 if (!mce_available(__this_cpu_ptr(&cpu_info)) || !cmci_supported(&banks)) in cmci_recheck()
Dmce.c1276 if (mce_available(__this_cpu_ptr(&cpu_info))) { in mce_timer_fn()
2029 __mcheck_cpu_init_vendor(__this_cpu_ptr(&cpu_info)); in mce_syscore_resume()
2044 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_cpu_restart()
2060 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_disable_cmci()
2067 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_enable_ce()
2299 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_disable_cpu()
2317 if (!mce_available(__this_cpu_ptr(&cpu_info))) in mce_reenable_cpu()
/arch/metag/kernel/
Dsmp.c342 struct cpuinfo_metag *cpu_info = &per_cpu(cpu_data, cpuid); in smp_store_cpu_info() local
344 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()

12