Lines Matching refs:hardware

51 void compute_processor(struct s_my_menu *menu, struct s_hardware *hardware)  in compute_processor()  argument
57 if (hardware->acpi.madt.processor_local_apic_count > 0) { in compute_processor()
60 hardware->acpi.madt.processor_local_apic_count, in compute_processor()
61 hardware->physical_cpu_count); in compute_processor()
71 snprintf(buffer, sizeof buffer, "Vendor : %s", hardware->cpu.vendor); in compute_processor()
72 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", hardware->cpu.vendor); in compute_processor()
76 snprintf(buffer, sizeof buffer, "Model : %s", hardware->cpu.model); in compute_processor()
77 snprintf(statbuffer, sizeof statbuffer, "Model: %s", hardware->cpu.model); in compute_processor()
81 snprintf(buffer, sizeof buffer, "CPU Cores : %d", hardware->cpu.num_cores); in compute_processor()
83 hardware->cpu.num_cores); in compute_processor()
87 if (hardware->dmi.processor.core_enabled != 0) { in compute_processor()
88 snprintf(buffer, sizeof buffer, "CPU Enable: %d", hardware->dmi.processor.core_enabled); in compute_processor()
90 hardware->dmi.processor.core_enabled); in compute_processor()
95 if (hardware->dmi.processor.thread_count != 0) { in compute_processor()
96 snprintf(buffer, sizeof buffer, "CPU Thread: %d", hardware->dmi.processor.thread_count); in compute_processor()
98 hardware->dmi.processor.thread_count); in compute_processor()
104 hardware->cpu.l1_instruction_cache_size, in compute_processor()
105 hardware->cpu.l1_data_cache_size); in compute_processor()
108 hardware->cpu.l1_instruction_cache_size, in compute_processor()
109 hardware->cpu.l1_data_cache_size); in compute_processor()
114 hardware->cpu.l2_cache_size); in compute_processor()
116 hardware->cpu.l2_cache_size); in compute_processor()
120 snprintf(buffer, sizeof buffer, "Family ID : %d", hardware->cpu.family); in compute_processor()
122 hardware->cpu.family); in compute_processor()
126 snprintf(buffer, sizeof buffer, "Model ID : %d", hardware->cpu.model_id); in compute_processor()
128 hardware->cpu.model_id); in compute_processor()
132 snprintf(buffer, sizeof buffer, "Stepping : %d", hardware->cpu.stepping); in compute_processor()
134 hardware->cpu.stepping); in compute_processor()
138 if (hardware->is_dmi_valid) { in compute_processor()
140 hardware->dmi.processor.external_clock); in compute_processor()
143 hardware->dmi.processor.external_clock); in compute_processor()
148 hardware->dmi.processor.current_speed); in compute_processor()
151 hardware->dmi.processor.current_speed); in compute_processor()
156 hardware->dmi.processor.max_speed); in compute_processor()
158 hardware->dmi.processor.max_speed); in compute_processor()
163 hardware->dmi.processor.upgrade); in compute_processor()
165 hardware->dmi.processor.upgrade); in compute_processor()
170 hardware->dmi.processor.voltage_mv / 1000, in compute_processor()
171 hardware->dmi.processor.voltage_mv - in compute_processor()
172 ((hardware->dmi.processor.voltage_mv / 1000) * 1000)); in compute_processor()
174 hardware->dmi.processor.voltage_mv / 1000, in compute_processor()
175 hardware->dmi.processor.voltage_mv - in compute_processor()
176 ((hardware->dmi.processor.voltage_mv / 1000) * 1000)); in compute_processor()
181 if (hardware->cpu.flags.smp) { in compute_processor()
191 if (hardware->cpu.flags.lm) { in compute_processor()
203 if ((hardware->cpu.flags.vmx) || (hardware->cpu.flags.svm)) { in compute_processor()
216 show_flag(menu, buffer1, hardware->cpu.flags.fpu, "fpu ", false); in compute_processor()
217 show_flag(menu, buffer1, hardware->cpu.flags.vme, "vme ", false); in compute_processor()
218 show_flag(menu, buffer1, hardware->cpu.flags.de, "de ", false); in compute_processor()
219 show_flag(menu, buffer1, hardware->cpu.flags.pse, "pse ", false); in compute_processor()
220 show_flag(menu, buffer1, hardware->cpu.flags.tsc, "tsc ", false); in compute_processor()
221 show_flag(menu, buffer1, hardware->cpu.flags.msr, "msr ", false); in compute_processor()
222 show_flag(menu, buffer1, hardware->cpu.flags.pae, "pae ", false); in compute_processor()
223 show_flag(menu, buffer1, hardware->cpu.flags.mce, "mce ", false); in compute_processor()
224 show_flag(menu, buffer1, hardware->cpu.flags.cx8, "cx8 ", false); in compute_processor()
225 show_flag(menu, buffer1, hardware->cpu.flags.apic, "apic ", false); in compute_processor()
226 show_flag(menu, buffer1, hardware->cpu.flags.sep, "sep ", false); in compute_processor()
227 show_flag(menu, buffer1, hardware->cpu.flags.mtrr, "mtrr ", false); in compute_processor()
228 show_flag(menu, buffer1, hardware->cpu.flags.pge, "pge ", false); in compute_processor()
229 show_flag(menu, buffer1, hardware->cpu.flags.mca, "mca ", false); in compute_processor()
230 show_flag(menu, buffer1, hardware->cpu.flags.cmov, "cmov ", false); in compute_processor()
231 show_flag(menu, buffer1, hardware->cpu.flags.pat, "pat ", false); in compute_processor()
232 show_flag(menu, buffer1, hardware->cpu.flags.pse_36, "pse_36 ", false); in compute_processor()
233 show_flag(menu, buffer1, hardware->cpu.flags.psn, "psn ", false); in compute_processor()
234 show_flag(menu, buffer1, hardware->cpu.flags.clflsh, "clflsh ", false); in compute_processor()
235 show_flag(menu, buffer1, hardware->cpu.flags.dts, "dts ", false); in compute_processor()
236 show_flag(menu, buffer1, hardware->cpu.flags.acpi, "acpi ", false); in compute_processor()
237 show_flag(menu, buffer1, hardware->cpu.flags.mmx, "mmx ", false); in compute_processor()
238 show_flag(menu, buffer1, hardware->cpu.flags.sse, "sse ", false); in compute_processor()
239 show_flag(menu, buffer1, hardware->cpu.flags.sse2, "sse2 ", false); in compute_processor()
240 show_flag(menu, buffer1, hardware->cpu.flags.ss, "ss ", false); in compute_processor()
241 show_flag(menu, buffer1, hardware->cpu.flags.htt, "ht ", false); in compute_processor()
242 show_flag(menu, buffer1, hardware->cpu.flags.acc, "acc ", false); in compute_processor()
243 show_flag(menu, buffer1, hardware->cpu.flags.syscall, "syscall ", false); in compute_processor()
244 show_flag(menu, buffer1, hardware->cpu.flags.mp, "mp ", false); in compute_processor()
245 show_flag(menu, buffer1, hardware->cpu.flags.nx, "nx ", false); in compute_processor()
246 show_flag(menu, buffer1, hardware->cpu.flags.mmxext, "mmxext ", false); in compute_processor()
247 show_flag(menu, buffer1, hardware->cpu.flags.lm, "lm ", false); in compute_processor()
248 show_flag(menu, buffer1, hardware->cpu.flags.nowext, "3dnowext ", false); in compute_processor()
249 show_flag(menu, buffer1, hardware->cpu.flags.now, "3dnow! ", false); in compute_processor()
250 show_flag(menu, buffer1, hardware->cpu.flags.svm, "svm ", false); in compute_processor()
251 show_flag(menu, buffer1, hardware->cpu.flags.vmx, "vmx ", false); in compute_processor()
252 show_flag(menu, buffer1, hardware->cpu.flags.pbe, "pbe ", false); in compute_processor()
253 show_flag(menu, buffer1, hardware->cpu.flags.fxsr_opt, "fxsr_opt ", false); in compute_processor()
254 show_flag(menu, buffer1, hardware->cpu.flags.gbpages, "gbpages ", false); in compute_processor()
255 show_flag(menu, buffer1, hardware->cpu.flags.rdtscp, "rdtscp ", false); in compute_processor()
256 show_flag(menu, buffer1, hardware->cpu.flags.pni, "pni ", false); in compute_processor()
257 show_flag(menu, buffer1, hardware->cpu.flags.pclmulqd, "pclmulqd ", false); in compute_processor()
258 show_flag(menu, buffer1, hardware->cpu.flags.dtes64, "dtes64 ", false); in compute_processor()
259 show_flag(menu, buffer1, hardware->cpu.flags.smx, "smx ", false); in compute_processor()
260 show_flag(menu, buffer1, hardware->cpu.flags.est, "est ", false); in compute_processor()
261 show_flag(menu, buffer1, hardware->cpu.flags.tm2, "tm2 ", false); in compute_processor()
262 show_flag(menu, buffer1, hardware->cpu.flags.sse3, "sse3 ", false); in compute_processor()
263 show_flag(menu, buffer1, hardware->cpu.flags.fma, "fma ", false); in compute_processor()
264 show_flag(menu, buffer1, hardware->cpu.flags.cx16, "cx16 ", false); in compute_processor()
265 show_flag(menu, buffer1, hardware->cpu.flags.xtpr, "xtpr ", false); in compute_processor()
266 show_flag(menu, buffer1, hardware->cpu.flags.pdcm, "pdcm ", false); in compute_processor()
267 show_flag(menu, buffer1, hardware->cpu.flags.dca, "dca ", false); in compute_processor()
268 show_flag(menu, buffer1, hardware->cpu.flags.xmm4_1, "xmm4_1 ", false); in compute_processor()
269 show_flag(menu, buffer1, hardware->cpu.flags.xmm4_2, "xmm4_2 ", false); in compute_processor()
270 show_flag(menu, buffer1, hardware->cpu.flags.x2apic, "x2apic ", false); in compute_processor()
271 show_flag(menu, buffer1, hardware->cpu.flags.movbe, "movbe ", false); in compute_processor()
272 show_flag(menu, buffer1, hardware->cpu.flags.popcnt, "popcnt ", false); in compute_processor()
273 show_flag(menu, buffer1, hardware->cpu.flags.aes, "aes ", false); in compute_processor()
274 show_flag(menu, buffer1, hardware->cpu.flags.xsave, "xsave ", false); in compute_processor()
275 show_flag(menu, buffer1, hardware->cpu.flags.osxsave, "osxsave ", false); in compute_processor()
276 show_flag(menu, buffer1, hardware->cpu.flags.avx, "avx ", false); in compute_processor()
277 show_flag(menu, buffer1, hardware->cpu.flags.hypervisor, "hypervisor ", in compute_processor()
279 show_flag(menu, buffer1, hardware->cpu.flags.ace2, "ace2 ", false); in compute_processor()
280 show_flag(menu, buffer1, hardware->cpu.flags.ace2_en, "ace2_en ", false); in compute_processor()
281 show_flag(menu, buffer1, hardware->cpu.flags.phe, "phe ", false); in compute_processor()
282 show_flag(menu, buffer1, hardware->cpu.flags.phe_en, "phe_en ", false); in compute_processor()
283 show_flag(menu, buffer1, hardware->cpu.flags.pmm, "pmm ", false); in compute_processor()
284 show_flag(menu, buffer1, hardware->cpu.flags.pmm_en, "pmm_en ", false); in compute_processor()
285 show_flag(menu, buffer1, hardware->cpu.flags.extapic, "extapic ", false); in compute_processor()
286 show_flag(menu, buffer1, hardware->cpu.flags.cr8_legacy, "cr8_legacy ", in compute_processor()
288 show_flag(menu, buffer1, hardware->cpu.flags.abm, "abm ", false); in compute_processor()
289 show_flag(menu, buffer1, hardware->cpu.flags.sse4a, "sse4a ", false); in compute_processor()
290 show_flag(menu, buffer1, hardware->cpu.flags.misalignsse, "misalignsse ", in compute_processor()
292 show_flag(menu, buffer1, hardware->cpu.flags.nowprefetch, "3dnowprefetch ", in compute_processor()
294 show_flag(menu, buffer1, hardware->cpu.flags.osvw, "osvw ", false); in compute_processor()
295 show_flag(menu, buffer1, hardware->cpu.flags.ibs, "ibs ", false); in compute_processor()
296 show_flag(menu, buffer1, hardware->cpu.flags.sse5, "sse5 ", false); in compute_processor()
297 show_flag(menu, buffer1, hardware->cpu.flags.skinit, "skinit ", false); in compute_processor()
298 show_flag(menu, buffer1, hardware->cpu.flags.wdt, "wdt ", false); in compute_processor()
299 show_flag(menu, buffer1, hardware->cpu.flags.ida, "ida ", false); in compute_processor()
300 show_flag(menu, buffer1, hardware->cpu.flags.arat, "arat ", false); in compute_processor()
301 show_flag(menu, buffer1, hardware->cpu.flags.tpr_shadow, "tpr_shadow ", in compute_processor()
303 show_flag(menu, buffer1, hardware->cpu.flags.vnmi, "vnmi ", false); in compute_processor()
304 show_flag(menu, buffer1, hardware->cpu.flags.flexpriority, "flexpriority ", in compute_processor()
306 show_flag(menu, buffer1, hardware->cpu.flags.ept, "ept ", false); in compute_processor()
307 show_flag(menu, buffer1, hardware->cpu.flags.vpid, "vpid ", false); in compute_processor()