Home
last modified time | relevance | path

Searched refs:ebx (Results 1 – 17 of 17) sorted by relevance

/tools/power/cpupower/debug/i386/
Dintel_gsic.c42 r.ebx & 0xffff); in main()
44 (r.ebx >> 16) & 0xffff); in main()
47 if (((r.ebx >> 16) & 0xffff) != 0x82) { in main()
54 if ((r.ebx & 0xffff) != 0xb2) { in main()
64 printf("ebx = 0x%.8x\n", r.ebx); in main()
/tools/testing/selftests/x86/
Dpkey-helpers.h145 static inline void __cpuid(unsigned int *eax, unsigned int *ebx, in __cpuid() argument
152 "=b" (*ebx), in __cpuid()
165 unsigned int ebx; in cpu_has_pku() local
171 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pku()
190 unsigned int ebx; in pkru_xstate_offset() local
203 __cpuid(&eax, &ebx, &ecx, &edx); in pkru_xstate_offset()
206 xstate_offset = ebx; in pkru_xstate_offset()
Draw_syscall_helper_32.S6 pushl %ebx
11 movl 1*4(%eax), %ebx
25 movl %ebx, 1*4(%eax)
34 popl %ebx
Dunwind_vdso.c105 unsigned long ebx = _Unwind_GetGR(ctx, 3); in trace_fn() local
110 ebx == 1 && ecx == 2 && edx == 3 && in trace_fn()
117 eax, ebx, ecx, edx, esi, edi, ebp); in trace_fn()
Dptrace_syscall.c31 # define user_arg0 ebx
/tools/build/feature/
Dtest-get_cpuid.c6 unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; in main() local
7 return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); in main()
/tools/power/cpupower/utils/helpers/
Dcpuid.c27 unsigned int eax, ebx, ecx, edx; \
28 __cpuid(op, eax, ebx, ecx, edx); \
32 cpuid_func(ebx);
/tools/testing/selftests/kvm/x86_64/
Dcr4_cpuid_sync_test.c29 uint32_t eax, ebx, ecx, edx; in cr4_cpuid_is_sync() local
35 : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) in cr4_cpuid_is_sync()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c1265 unsigned int *eax, unsigned int *ebx, in get_cpuid_or_exit() argument
1268 if (!__get_cpuid(leaf, eax, ebx, ecx, edx)) in get_cpuid_or_exit()
1279 unsigned int eax, ebx, ecx, edx; in early_cpuid() local
1282 get_cpuid_or_exit(1, &fms, &ebx, &ecx, &edx); in early_cpuid()
1296 get_cpuid_or_exit(0x6, &eax, &ebx, &ecx, &edx); in early_cpuid()
1309 unsigned int eax, ebx, ecx, edx, max_level; in parse_cpuid() local
1312 eax = ebx = ecx = edx = 0; in parse_cpuid()
1314 get_cpuid_or_exit(0, &max_level, &ebx, &ecx, &edx); in parse_cpuid()
1316 if (ebx == 0x756e6547 && edx == 0x49656e69 && ecx == 0x6c65746e) in parse_cpuid()
1321 (char *)&ebx, (char *)&edx, (char *)&ecx); in parse_cpuid()
[all …]
/tools/perf/arch/x86/util/
Ddwarf-regs.c58 REG_OFFSET_NAME_32("%bx", ebx),
Dperf_regs.c67 SDT_NAME_REG(ebx, bx),
Dintel-pt.c309 unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; in intel_pt_tsc_ctc_ratio() local
311 __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); in intel_pt_tsc_ctc_ratio()
312 *n = ebx; in intel_pt_tsc_ctc_ratio()
/tools/perf/arch/x86/tests/
Dregs_load.S69 movl %ebx, BX(%edi)
/tools/arch/x86/include/uapi/asm/
Dkvm.h199 __u32 ebx; member
217 __u32 ebx; member
/tools/power/x86/turbostat/
Dturbostat.c1726 unsigned int eax, ebx, ecx, edx; in get_apic_id() local
1729 eax = ebx = ecx = edx = 0; in get_apic_id()
1730 __cpuid(1, eax, ebx, ecx, edx); in get_apic_id()
1732 t->apic_id = (ebx >> 24) & 0xff; in get_apic_id()
1744 eax = ebx = ecx = edx = 0; in get_apic_id()
1745 __cpuid(0x80000001, eax, ebx, ecx, edx); in get_apic_id()
1751 eax = ebx = ecx = edx = 0; in get_apic_id()
1752 __cpuid(0x8000001e, eax, ebx, ecx, edx); in get_apic_id()
1765 __cpuid(0xb, eax, ebx, ecx, edx); in get_apic_id()
4015 unsigned int eax, ebx, ecx, edx; in rapl_probe_amd() local
[all …]
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1148 int eax, ebx, ecx, edx; in is_intel_cpu() local
1154 : /* output */ "=a"(eax), "=b"(ebx), in is_intel_cpu()
1159 return (ebx == chunk[0] && edx == chunk[1] && ecx == chunk[2]); in is_intel_cpu()
/tools/power/x86/intel-speed-select/
Disst-config.c75 unsigned int ebx, ecx, edx; in update_cpu_model() local
78 __cpuid(1, fms, ebx, ecx, edx); in update_cpu_model()