Lines Matching defs:cpuid
15 char *def_csv = "/usr/share/misc/cpuid.csv";
88 static inline void cpuid(u32 *eax, u32 *ebx, u32 *ecx, u32 *edx)
91 asm volatile("cpuid"
221 cpuid(&eax, &ebx, &ecx, &edx);
245 cpuid(&eax, &ebx, &ecx, &edx);
270 cpuid(&eax, &ebx, &ecx, &edx);
284 * The basic row format for cpuid.csv is
412 file = fopen("./cpuid.csv", "r");
537 /* Show all of the raw output of 'cpuid' instr */
576 cpuid(&eax, &ebx, &ecx, &edx);
593 "\t-f|--flags Specify the cpuid csv file\n"
596 "\t-r|--raw Show raw cpuid data\n"
605 { "file", required_argument, NULL, 'f' }, /* use user's cpuid file */
668 /* Setup the cpuid leafs of current platform */
671 /* Read and parse the 'cpuid.csv' */