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/vm/
Dpkey-x86.h83 static inline void __cpuid(unsigned int *eax, unsigned int *ebx, in __cpuid() argument
90 "=b" (*ebx), in __cpuid()
103 unsigned int ebx; in cpu_has_pkeys() local
109 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pkeys()
133 unsigned int ebx; in pkey_reg_xstate_offset() local
146 __cpuid(&eax, &ebx, &ecx, &edx); in pkey_reg_xstate_offset()
149 xstate_offset = ebx; in pkey_reg_xstate_offset()
/tools/testing/selftests/x86/
Draw_syscall_helper_32.S6 pushl %ebx
11 movl 1*4(%eax), %ebx
25 movl %ebx, 1*4(%eax)
34 popl %ebx
Dunwind_vdso.c86 unsigned long ebx = _Unwind_GetGR(ctx, 3); in trace_fn() local
91 ebx == 1 && ecx == 2 && edx == 3 && in trace_fn()
98 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.c1305 unsigned int *eax, unsigned int *ebx, in get_cpuid_or_exit() argument
1308 if (!__get_cpuid(leaf, eax, ebx, ecx, edx)) in get_cpuid_or_exit()
1319 unsigned int eax, ebx, ecx, edx; in early_cpuid() local
1322 get_cpuid_or_exit(1, &fms, &ebx, &ecx, &edx); in early_cpuid()
1336 get_cpuid_or_exit(0x6, &eax, &ebx, &ecx, &edx); in early_cpuid()
1349 unsigned int eax, ebx, ecx, edx, max_level; in parse_cpuid() local
1352 eax = ebx = ecx = edx = 0; in parse_cpuid()
1354 get_cpuid_or_exit(0, &max_level, &ebx, &ecx, &edx); in parse_cpuid()
1356 if (ebx == 0x756e6547 && edx == 0x49656e69 && ecx == 0x6c65746e) in parse_cpuid()
1361 (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.c315 unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; in intel_pt_tsc_ctc_ratio() local
317 __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); in intel_pt_tsc_ctc_ratio()
318 *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.h219 __u32 ebx; member
237 __u32 ebx; member
/tools/power/x86/turbostat/
Dturbostat.c1840 unsigned int eax, ebx, ecx, edx; in get_apic_id() local
1843 eax = ebx = ecx = edx = 0; in get_apic_id()
1844 __cpuid(1, eax, ebx, ecx, edx); in get_apic_id()
1846 t->apic_id = (ebx >> 24) & 0xff; in get_apic_id()
1858 eax = ebx = ecx = edx = 0; in get_apic_id()
1859 __cpuid(0x80000001, eax, ebx, ecx, edx); in get_apic_id()
1865 eax = ebx = ecx = edx = 0; in get_apic_id()
1866 __cpuid(0x8000001e, eax, ebx, ecx, edx); in get_apic_id()
1879 __cpuid(0xb, eax, ebx, ecx, edx); in get_apic_id()
4361 unsigned int eax, ebx, ecx, edx; in rapl_probe_amd() local
[all …]
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1091 int eax, ebx, ecx, edx; in is_intel_cpu() local
1097 : /* output */ "=a"(eax), "=b"(ebx), in is_intel_cpu()
1102 return (ebx == chunk[0] && edx == chunk[1] && ecx == chunk[2]); in is_intel_cpu()
/tools/power/x86/intel-speed-select/
Disst-config.c111 unsigned int ebx, ecx, edx; in update_cpu_model() local
114 __cpuid(1, fms, ebx, ecx, edx); in update_cpu_model()