/external/dtc/tests/ |
H A D | boot-cpuid.c | 32 uint32_t cpuid; local 37 CONFIG("Usage: %s <dtb file> <cpuid>", argv[0]); 40 cpuid = strtoul(argv[2], NULL, 0); 42 if (fdt_boot_cpuid_phys(fdt) != cpuid) 44 fdt_boot_cpuid_phys(fdt), cpuid);
|
/external/fio/arch/ |
H A D | arch-x86-common.h | 6 static inline void cpuid(unsigned int op, function 43 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); 47 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); 59 cpuid(0, &level, (unsigned int *) &str[0],
|
/external/libopus/celt/x86/ |
H A D | x86cpu.c | 47 static _inline void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) function 55 #include <cpuid.h> 58 static void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) function 65 "cpuid\n" 75 "cpuid": 104 cpuid(info, 0); 108 cpuid(info, 1);
|
/external/ltp/include/old/ |
H A D | ltp_cpuid.h | 10 static inline void cpuid(unsigned int info, unsigned int *eax, unsigned int *ebx, function 18 "cpuid;" 22 "cpuid;"
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | atomicops_internals_x86_gcc.cc | 44 // Inline cpuid instruction. In PIC compilations, %ebx contains the address 46 // must preserve that register's value across cpuid instructions. 48 #define cpuid(a, b, c, d, inp) \ macro 50 "cpuid\n" \ 54 #define cpuid(a, b, c, d, inp) \ macro 56 "cpuid\n" \ 61 #if defined(cpuid) // initialize the struct only on x86 85 cpuid(eax, ebx, ecx, edx, 0); 93 cpuid(eax, ebx, ecx, edx, 1);
|
/external/skia/src/core/ |
H A D | SkCpu.cpp | 18 static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } function 22 #include <cpuid.h> 25 __asm__("cpuid" : "=a"(a), "=b"(b), "=c"(c), "=d"(d) : "0"(eax), "2"(ecx)) 27 static void cpuid (uint32_t abcd[4]) { __get_cpuid(1, abcd+0, abcd+1, abcd+2, abcd+3); } function 42 // You might want to refer to http://www.sandpile.org/x86/cpuid.htm 44 cpuid(abcd);
|
/external/autotest/client/profilers/powertop/src/ |
H A D | intelcstates.c | 42 static void cpuid( unsigned int *eax, function 47 /* call the cpuid instruction with the registers as input and output 53 "cpuid \n\t" 54 "movl %%ebx, %1 \n\t" /* save what cpuid just put in %ebx */ 139 cpuid(&eax, &ebx, &ecx, &edx);
|
/external/valgrind/VEX/useful/ |
H A D | cpuid.c | 7 void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, function 11 asm volatile ("cpuid" 25 cpuid(&eax,&ebx,&ecx,&edx, 0,0); 38 cpuid(&eax,&ebx,&ecx,&edx, i,0); 41 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in); 50 cpuid(&eax,&ebx,&ecx,&edx, 0x80000000,0); 53 cpuid(&eax,&ebx,&ecx,&edx, i,0); 57 cpuid(&eax,&ebx,&ecx,&edx, 1234,0); 58 cpuid(&eax,&ebx,&ecx,&edx, 0x800004d3,0);
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | mce.h | 20 __u32 cpuid; /* CPUID 1 EAX */ member in struct:mce
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
H A D | ht_affinity.c | 54 int cpu_count, i, j, k, cpuid; local 110 cpuid = get_current_cpu(pid); 111 if (cpuid != i && cpuid != i + 1)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_cpu_detect.c | 179 * @sa cpuid.h included in gcc-4.3 onwards. 183 cpuid(uint32_t ax, uint32_t *p) function 188 "cpuid\n\t" 198 "cpuid\n\t" 260 /* Get max cpuid level */ 261 cpuid(0x00000000, regs); 266 cpuid (0x00000001, regs2); 289 cpuid(0x80000000, regs); 293 cpuid(0x80000001, regs2); 302 cpuid( [all...] |
/external/syslinux/com32/include/sys/i386/ |
H A D | cpu.h | 22 "cpuid ; " 28 static inline void cpuid(uint32_t op, uint32_t * eax, uint32_t * ebx, function 39 "cpuid ; " 52 "cpuid ; " 64 "cpuid ; " 76 "cpuid ; "
|
/external/syslinux/com32/include/sys/x86_64/ |
H A D | cpu.h | 24 asm volatile("cpuid" 37 static inline void cpuid(uint32_t op, function 53 cpuid(op, &eax, &ebx, &ecx, &edx); 62 cpuid(op, &eax, &ebx, &ecx, &edx); 71 cpuid(op, &eax, &ebx, &ecx, &edx); 80 cpuid(op, &eax, &ebx, &ecx, &edx); 90 "cpuid ; "
|
/external/valgrind/tests/ |
H A D | x86_amd64_features.c | 28 static void cpuid ( unsigned int n, function 33 "cpuid" 43 cpuid(0, &a, &b, &c, &d); 140 cpuid( level & 0x80000000, &a, &b, &c, &d ); 143 cpuid( level, &a, &b, &c, &d );
|
/external/lzma/C/ |
H A D | CpuArch.c | 68 __asm cpuid;
local 84 "cpuid;"
89 "cpuid"
|
/external/swiftshader/src/OpenGL/libGL/ |
H A D | Display.cpp | 61 static void cpuid(int registers[4], int info) function in namespace:gl 66 __asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]): "a" (info)); 79 cpuid(registers, 1);
|
/external/libvpx/libvpx/vpx_ports/ |
H A D | x86.h | 47 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 48 __asm__ __volatile__("cpuid \n\t" \ 52 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 55 "cpuid \n\t" \ 63 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 66 "cpuid \n\t" \ 72 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 75 "cpuid \n\t" \ 84 #define cpuid(func, func2, a, b, c, d) \ macro 94 #define cpuid(fun macro 105 #define cpuid macro [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
H A D | psock_fanout.c | 308 static int set_cpuaffinity(int cpuid) argument 313 CPU_SET(cpuid, &mask); 316 fprintf(stderr, "setaffinity %d\n", cpuid);
|
/external/stressapptest/src/ |
H A D | sattypes.h | 193 // Execute the cpuid instruction and pass back the contents of the registers. 195 inline void cpuid( function 201 // http://www.sandpile.org/ia32/cpuid.htm 210 "cpuid;" 219 "cpuid;"
|
/external/swiftshader/src/Common/ |
H A D | CPUID.cpp | 165 static void cpuid(int registers[4], int info) function in namespace:sw 170 __asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]): "a" (info)); 177 cpuid(registers, 1); 184 cpuid(registers, 1); 191 cpuid(registers, 1); 198 cpuid(registers, 1); 205 cpuid(registers, 1); 212 cpuid(registers, 1); 219 cpuid(registers, 1);
|
/external/syslinux/gpxe/src/arch/i386/include/bits/ |
H A D | cpu.h | 77 cpuid ( int op, unsigned int *eax, unsigned int *ebx, function 79 __asm__ ( "cpuid" :
|
/external/valgrind/memcheck/tests/amd64/ |
H A D | xsave-avx.c | 147 static void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, function 151 asm volatile ("cpuid" 174 cpuid(&eax, &ebx, &ecx, &edx, 1,0); 175 //fprintf(stderr, "cpuid(1).ecx[26=xsave] = %u\n", (ecx >> 26) & 1); 179 cpuid(&eax, &ebx, &ecx, &edx, 1,0); 180 //fprintf(stderr, "cpuid(1).ecx[27=osxsave] = %u\n", (ecx >> 27) & 1);
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
H A D | matrix_mult.c | 151 int cpuid; local 160 cpuid = online_cpu_id; /* Save this value before unlocking mutex */ 162 return cpuid; 173 int cpuid; local 177 cpuid = set_affinity(); 178 if (cpuid == -1) { 197 int cpuid; local 215 cpuid = set_affinity(); 216 if (cpuid == -1) {
|
/external/swiftshader/src/OpenGL/libEGL/ |
H A D | Display.cpp | 101 static void cpuid(int registers[4], int info) function in namespace:egl 106 __asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]): "a" (info)); 113 cpuid(registers, 1);
|
/external/google-breakpad/src/processor/ |
H A D | minidump_processor.cc | 405 uint32_t cpuid = raw_info->cpu.arm_cpu_info.cpuid; local 406 if (cpuid != 0) { 409 uint32_t vendor_id = (cpuid >> 24) & 0xff; 425 uint32_t part_id = (cpuid & 0xff00fff0);
|