Lines Matching refs:c
17 static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c, in show_cpuinfo_core() argument
21 seq_printf(m, "physical id\t: %d\n", c->phys_proc_id); in show_cpuinfo_core()
24 seq_printf(m, "core id\t\t: %d\n", c->cpu_core_id); in show_cpuinfo_core()
25 seq_printf(m, "cpu cores\t: %d\n", c->booted_cores); in show_cpuinfo_core()
26 seq_printf(m, "apicid\t\t: %d\n", c->apicid); in show_cpuinfo_core()
27 seq_printf(m, "initial apicid\t: %d\n", c->initial_apicid); in show_cpuinfo_core()
32 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() argument
47 c->cpuid_level); in show_cpuinfo_misc()
50 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() argument
57 c->cpuid_level); in show_cpuinfo_misc()
63 struct cpuinfo_x86 *c = v; in show_cpuinfo() local
67 cpu = c->cpu_index; in show_cpuinfo()
74 c->x86_vendor_id[0] ? c->x86_vendor_id : "unknown", in show_cpuinfo()
75 c->x86, in show_cpuinfo()
76 c->x86_model, in show_cpuinfo()
77 c->x86_model_id[0] ? c->x86_model_id : "unknown"); in show_cpuinfo()
79 if (c->x86_stepping || c->cpuid_level >= 0) in show_cpuinfo()
80 seq_printf(m, "stepping\t: %d\n", c->x86_stepping); in show_cpuinfo()
83 if (c->microcode) in show_cpuinfo()
84 seq_printf(m, "microcode\t: 0x%x\n", c->microcode); in show_cpuinfo()
86 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo()
98 if (c->x86_cache_size) in show_cpuinfo()
99 seq_printf(m, "cache size\t: %u KB\n", c->x86_cache_size); in show_cpuinfo()
101 show_cpuinfo_core(m, c, cpu); in show_cpuinfo()
102 show_cpuinfo_misc(m, c); in show_cpuinfo()
106 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo()
110 if (cpu_has(c, X86_FEATURE_VMX) && c->vmx_capability[0]) { in show_cpuinfo()
113 if (test_bit(i, (unsigned long *)c->vmx_capability) && in show_cpuinfo()
124 if (cpu_has_bug(c, bug_bit) && x86_bug_flags[i]) in show_cpuinfo()
129 c->loops_per_jiffy/(500000/HZ), in show_cpuinfo()
130 (c->loops_per_jiffy/(5000/HZ)) % 100); in show_cpuinfo()
133 if (c->x86_tlbsize > 0) in show_cpuinfo()
134 seq_printf(m, "TLB size\t: %d 4K pages\n", c->x86_tlbsize); in show_cpuinfo()
136 seq_printf(m, "clflush size\t: %u\n", c->x86_clflush_size); in show_cpuinfo()
137 seq_printf(m, "cache_alignment\t: %d\n", c->x86_cache_alignment); in show_cpuinfo()
139 c->x86_phys_bits, c->x86_virt_bits); in show_cpuinfo()
143 if (c->x86_power & (1 << i)) { in show_cpuinfo()