Searched defs:cpuid (Results 1 - 25 of 36) sorted by relevance

12

/external/dtc/tests/
H A Dboot-cpuid.c32 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 Darch-x86-common.h6 static inline void cpuid(unsigned int op, function
51 cpuid(0x80000000, &eax, &ebx, &ecx, &edx);
55 cpuid(0x80000007, &eax, &ebx, &ecx, &edx);
66 cpuid(0, &level, (unsigned int *) &str[0],
/external/libopus/celt/x86/
H A Dx86cpu.c47 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 Dltp_cpuid.h10 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 Datomicops_internals_x86_gcc.cc44 // 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/strace/
H A Dkvm.c41 uint32_t cpuid = arg; local
43 tprintf(", %u", cpuid);
/external/autotest/client/profilers/powertop/src/
H A Dintelcstates.c42 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/skia/src/core/
H A DSkCpu.cpp18 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/skqp/src/core/
H A DSkCpu.cpp18 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/kernel-headers/original/uapi/asm-x86/asm/
H A Dmce.h21 __u32 cpuid; /* CPUID 1 EAX */ member in struct:mce
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
H A Dht_affinity.c54 int cpu_count, i, j, k, cpuid; local
110 cpuid = get_current_cpu(pid);
111 if (cpuid != i && cpuid != i + 1)
/external/syslinux/com32/include/sys/i386/
H A Dcpu.h22 "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 Dcpu.h24 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 Dx86_amd64_features.c28 static void cpuid ( unsigned int n, function
33 "cpuid"
43 cpuid(0, &a, &b, &c, &d);
144 cpuid( level & 0x80000000, &a, &b, &c, &d );
147 cpuid( level, &a, &b, &c, &d );
/external/lzma/C/
H A DCpuArch.c69 __asm cpuid; local
85 "cpuid;"
91 "cpuid;"
96 "cpuid"
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_cpu_detect.c179 * @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"
216 * @sa cpuid.h included in gcc-4.4 onwards.
225 "cpuid\n\t"
235 "cpuid\n\t"
346 /* Get max cpuid level */
347 cpuid(0x00000000, regs);
352 cpuid (
[all...]
/external/swiftshader/src/OpenGL/libGL/
H A DDisplay.cpp61 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/tensorflow/tensorflow/core/platform/
H A Dcpu_info.cc41 "cpuid\n" \
56 CPUIDInfo *cpuid = nullptr; member in namespace:tensorflow::port::__anon26767
112 // Initialize cpuid struct
113 CHECK(cpuid == nullptr) << __func__ << " ran more than once";
114 cpuid = new CPUIDInfo;
120 cpuid->vendor_str_.append(reinterpret_cast<char *>(&ebx), 4);
121 cpuid->vendor_str_.append(reinterpret_cast<char *>(&edx), 4);
122 cpuid->vendor_str_.append(reinterpret_cast<char *>(&ecx), 4);
125 // ecx = 0 to cpuid. The response is returned in eax, ebx, ecx and edx.
130 cpuid
[all...]
/external/libvpx/libvpx/vpx_ports/
H A Dx86.h47 #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 Dpsock_fanout.c394 static int set_cpuaffinity(int cpuid) argument
399 CPU_SET(cpuid, &mask);
402 fprintf(stderr, "setaffinity %d\n", cpuid);
/external/stressapptest/src/
H A Dsattypes.h193 // 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 DCPUID.cpp165 static void cpuid(int registers[4], int info) function in namespace:sw
171 __asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]): "a" (info));
184 cpuid(registers, 1);
191 cpuid(registers, 1);
198 cpuid(registers, 1);
205 cpuid(registers, 1);
212 cpuid(registers, 1);
219 cpuid(registers, 1);
226 cpuid(registers, 1);
/external/swiftshader/src/Reactor/
H A DSubzeroReactor.cpp81 static void cpuid(int registers[4], int info) function in class:__anon22341::CPUID
87 __asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]): "a" (info));
112 cpuid(registers, 1);
/external/syslinux/gpxe/src/arch/i386/include/bits/
H A Dcpu.h77 cpuid ( int op, unsigned int *eax, unsigned int *ebx, function
79 __asm__ ( "cpuid" :
/external/valgrind/memcheck/tests/amd64/
H A Dxsave-avx.c147 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);

Completed in 1346 milliseconds

12