Home
last modified time | relevance | path

Searched refs:edx (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/x86/
Dpkey-helpers.h60 unsigned int eax, edx; in __rdpkru() local
65 : "=a" (eax), "=d" (edx) in __rdpkru()
88 unsigned int edx = 0; in __wrpkru() local
92 : : "a" (eax), "c" (ecx), "d" (edx)); in __wrpkru()
147 unsigned int *ecx, unsigned int *edx) in __cpuid() argument
155 "=d" (*edx) in __cpuid()
168 unsigned int edx; in cpu_has_pku() local
172 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pku()
193 unsigned int edx; in pkru_xstate_offset() local
204 __cpuid(&eax, &ebx, &ecx, &edx); in pkru_xstate_offset()
Dthunks_32.S31 push %edx
50 pop %edx
Draw_syscall_helper_32.S13 movl 3*4(%eax), %edx
27 movl %edx, 3*4(%eax)
Dunwind_vdso.c113 unsigned long edx = _Unwind_GetGR(ctx, 2); in trace_fn() local
119 ebx == 1 && ecx == 2 && edx == 3 && in trace_fn()
126 eax, ebx, ecx, edx, esi, edi, ebp); in trace_fn()
Dmpx-mini-test.c109 unsigned int *ecx, unsigned int *edx) in __cpuid() argument
120 "=d" (*edx) in __cpuid()
135 unsigned int *ecx, unsigned int *edx) in __cpuid() argument
143 "=d" (*edx) in __cpuid()
204 uint32_t eax, edx; in xgetbv() local
207 : "=a" (eax), "=d" (edx) in xgetbv()
209 return eax + ((uint64_t)edx << 32); in xgetbv()
486 unsigned int *ecx, unsigned int *edx) in cpuid_count() argument
490 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
529 unsigned int eax, ebx, ecx, edx; in print_state_component() local
[all …]
Dptrace_syscall.c33 # define user_arg2 edx
/tools/arch/x86/lib/
Dmemcpy_64.S37 andl $7, %edx
39 movl %edx, %ecx
89 addl $0x20, %edx
121 addl $0x20, %edx
125 cmpl $16, %edx
142 cmpl $8, %edx
154 cmpl $4, %edx
167 subl $1, %edx
192 cmpl $8, %edx
206 subl %ecx, %edx
[all …]
Dmemset_64.S34 andl $7,%edx
41 movl %edx,%ecx
104 movl %edx,%ecx
116 andl $7,%edx
120 decl %edx
/tools/power/cpupower/debug/i386/
Dintel_gsic.c27 r.edx = 0x47534943; in main()
47 printf("\tflags = 0x%.8x\n", r.edx); in main()
67 printf("edx = 0x%.8x\n", r.edx); in main()
/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); \
34 cpuid_func(edx);
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c1266 unsigned int *ecx, unsigned int *edx) 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.c71 REG_OFFSET_NAME_32("%dx", edx),
Dperf_regs.c57 SDT_NAME_REG(edx, dx),
Dintel-pt.c314 unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; in intel_pt_tsc_ctc_ratio() local
316 __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); in intel_pt_tsc_ctc_ratio()
/tools/arch/x86/include/uapi/asm/
Dkvm.h201 __u32 edx; member
219 __u32 edx; member
/tools/perf/arch/x86/tests/
Dregs_load.S71 movl %edx, DX(%edi)
/tools/power/x86/turbostat/
Dturbostat.c4013 unsigned int eax, ebx, ecx, edx, max_level, max_extended_level; in process_cpuid() local
4017 eax = ebx = ecx = edx = 0; in process_cpuid()
4019 __cpuid(0, max_level, ebx, ecx, edx); in process_cpuid()
4021 if (ebx == 0x756e6547 && edx == 0x49656e69 && ecx == 0x6c65746e) in process_cpuid()
4026 (char *)&ebx, (char *)&edx, (char *)&ecx); in process_cpuid()
4028 __cpuid(1, fms, ebx, ecx, edx); in process_cpuid()
4046 edx & (1 << 4) ? "TSC" : "-", in process_cpuid()
4047 edx & (1 << 5) ? "MSR" : "-", in process_cpuid()
4048 edx & (1 << 22) ? "ACPI-TM" : "-", in process_cpuid()
4049 edx & (1 << 29) ? "TM" : "-"); in process_cpuid()
[all …]