Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 200 of 204) sorted by relevance

12

/linux-4.4.14/arch/x86/math-emu/
Dwm_sqrt.S89 movl SIGH(%esi),%eax
98 shrl $1,%eax /* arg is in the range [1.0 .. 2.0) */
106 movl %eax,FPU_fsqrt_arg_2 /* ms word of n */
111 shrl $1,%eax
112 addl $0x40000000,%eax
142 addl %eax,%esi /* the new estimate */
147 addl %eax,%esi
152 addl %eax,%esi
163 movl %esi,%eax
168 subl %ecx,%eax
[all …]
Dmul_Xsig.S36 xor %eax,%eax
37 movl %eax,-4(%ebp)
38 movl %eax,-8(%ebp)
40 movl (%esi),%eax /* lsl of Xsig */
44 movl 4(%esi),%eax /* midl of Xsig */
46 addl %eax,-12(%ebp)
50 movl 8(%esi),%eax /* msl of Xsig */
52 addl %eax,-8(%ebp)
55 movl -12(%ebp),%eax
56 movl %eax,(%esi)
[all …]
Dpolynom_Xsig.S50 movl TERM_SIZE,%eax
52 addl %eax,%edi
58 xor %eax,%eax
59 movl %eax,SUM_LS
67 xor %eax,%eax
68 movl %eax,ACCUM_MS
69 movl %eax,ACCUM_MIDDLE
71 movl SUM_MIDDLE,%eax
75 movl SUM_MIDDLE,%eax
77 addl %eax,ACCUM_LS
[all …]
Dreg_u_div.S93 movswl EXP(%ebx),%eax
94 subl %eax,%edx
122 movl SIGL(%esi),%eax /* Dividend */
133 movl %eax,FPU_result_2
136 xorl %eax,%eax
138 movl %eax,FPU_result_1
141 xorl %eax,%eax
155 rcrl %eax
181 movl SIGL(%esi),%eax
182 movl %eax,FPU_accum_2
[all …]
Ddiv_Xsig.S115 movl XsigH(%esi),%eax
116 rcrl %eax
117 movl %eax,FPU_accum_3
118 movl XsigL(%esi),%eax
119 rcrl %eax
120 movl %eax,FPU_accum_2
121 movl XsigLL(%esi),%eax
122 rcrl %eax
123 movl %eax,FPU_accum_1
124 movl $0,%eax
[all …]
Dreg_norm.S32 movl SIGL(%ebx),%eax
38 orl %eax,%eax
41 movl %eax,%edx
42 xorl %eax,%eax
50 shld %cl,%eax,%edx
51 shl %cl,%eax
55 movl %eax,SIGL(%ebx)
65 movl TAG_Valid,%eax
79 movl TAG_Zero,%eax
109 movl SIGL(%ebx),%eax
[all …]
Dround_Xsig.S36 movl (%esi),%eax
45 movl %eax,%ebx
46 xorl %eax,%eax
56 shld %cl,%eax,%ebx
57 shl %cl,%eax
60 testl $0x80000000,%eax
73 movl %eax,(%esi)
75 movl -4(%ebp),%eax
96 movl (%esi),%eax
105 movl %eax,%ebx
[all …]
Dwm_shrx.S48 xorl %eax,%eax /* extension */
49 shrd %cl,%ebx,%eax
64 movl (%esi),%eax /* lsl */
66 shrd %cl,%edx,%eax
79 movl 4(%esi),%eax /* msl */
80 shr %cl,%eax
89 xorl %eax,%eax
90 movl %eax,(%esi)
91 movl %eax,4(%esi)
130 movl (%esi),%eax /* lsl */
[all …]
Dreg_u_sub.S63 movl SIGH(%edi),%eax /* register ms word */
83 shrd %cl,%eax,%ebx
84 shr %cl,%eax
94 shrd %cl,%eax,%edx
95 shr %cl,%eax
102 movl %eax,%ebx
103 xorl %eax,%eax
108 movl %eax,%ebx
109 xorl %eax,%eax
117 movl %eax,%edx
[all …]
Dreg_u_add.S51 movl SIGH(%esi),%eax
61 movl SIGH(%edi),%eax
70 testl $0x80000000,%eax
83 shrd %cl,%eax,%ebx
84 shr %cl,%eax
94 shrd %cl,%eax,%edx
95 shr %cl,%eax
102 movl %eax,%ebx
103 xorl %eax,%eax
108 movl %eax,%ebx
[all …]
Dreg_u_mul.S71 movl SIGL(%esi),%eax
73 movl %eax,FPU_accum_0
76 movl SIGL(%esi),%eax
78 addl %eax,FPU_accum_1
82 movl SIGH(%esi),%eax
84 addl %eax,FPU_accum_1
88 movl SIGH(%esi),%eax
90 addl %eax,%ebx
94 movl PARAM6,%eax
95 subl EXP_BIAS-1,%eax
[all …]
Dreg_round.S119 movl SIGH(%edi),%eax
201 movl %eax,%ecx
210 movl %eax,%ecx
225 testl $0x00000100,%eax
230 andl $0xffffff00,%eax /* Truncate to 24 bits */
233 addl $0x00000100,%eax
237 movl %eax,%ecx
244 andl $0xffffff00,%eax /* Truncate to 24 bits */
309 adcl $0,%eax
373 adcl $0,%eax
[all …]
Dshr_Xsig.S35 movl (%esi),%eax /* lsl */
38 shrd %cl,%ebx,%eax
41 movl %eax,(%esi)
54 movl 4(%esi),%eax /* midl */
56 shrd %cl,%edx,%eax
58 movl %eax,(%esi)
70 movl 8(%esi),%eax /* msl */
71 shr %cl,%eax
73 movl %eax,(%esi)
81 xorl %eax,%eax
[all …]
Ddiv_small.S30 movl 4(%esi),%eax /* Get the current num msw */
34 movl %eax,4(%esi)
36 movl (%esi),%eax /* Get the num lsw */
39 movl %eax,(%esi)
41 movl %edx,%eax /* Return the remainder in eax */
Dreg_ld_str.c972 unsigned eax; in FPU_round_to_int() local
985 eax = FPU_shrxs(&r->sigl, 63 - exponent(r)); in FPU_round_to_int()
987 #define half_or_more (eax & 0x80000000) in FPU_round_to_int()
988 #define frac_part (eax) in FPU_round_to_int()
989 #define more_than_half ((eax & 0x80000001) == 0x80000001) in FPU_round_to_int()
1020 return eax ? PRECISION_LOST_DOWN : 0; in FPU_round_to_int()
/linux-4.4.14/arch/x86/um/
Dchecksum_32.S55 movl 20(%esp),%eax # Function arg: unsigned int sum
67 adcl $0, %eax
74 adcl %ebx, %eax
76 adcl %ebx, %eax
78 adcl %ebx, %eax
80 adcl %ebx, %eax
82 adcl %ebx, %eax
84 adcl %ebx, %eax
86 adcl %ebx, %eax
88 adcl %ebx, %eax
[all …]
Dstub_32.S12 mov 0x0(%esp), %eax
16 mov %eax, STUB_DATA+4
17 cmpl $0, %eax
24 add %eax, %esp
27 pop %eax
42 cmp %ebx, %eax
47 mov %eax, STUB_DATA
Dsetjmp_32.S23 movl %eax,%edx
28 xorl %eax,%eax # Return value
46 xchgl %eax,%edx
49 movl 8(%esp),%eax # Return value
Dsetjmp_64.S25 xorl %eax,%eax # Return value
44 movl %esi,%eax # Return value (int)
/linux-4.4.14/arch/x86/kernel/
Drelocate_kernel_32.S53 movl %cr0, %eax
54 movl %eax, CR0(%edi)
55 movl %cr3, %eax
56 movl %eax, CR3(%edi)
57 movl %cr4, %eax
58 movl %eax, CR4(%edi)
74 movl PTR(PA_PGD)(%ebp), %eax
75 movl %eax, CP_PA_PGD(%edi)
76 movl PTR(PA_SWAP_PAGE)(%ebp), %eax
77 movl %eax, CP_PA_SWAP_PAGE(%edi)
[all …]
Dhead_32.S108 movl $(__BOOT_DS),%eax
109 movl %eax,%ds
110 movl %eax,%es
111 movl %eax,%fs
112 movl %eax,%gs
113 movl %eax,%ss
121 xorl %eax,%eax
151 movl %cr3, %eax
152 movl %eax, pa(olpc_ofw_pgd)
184 movl $PTE_IDENT_ATTR, %eax
[all …]
Dverify_cpu.S43 popl %eax
44 movl %eax,%ebx
45 xorl $0x200000,%eax
46 pushl %eax
49 popl %eax
50 cmpl %eax,%ebx
54 movl $0x0,%eax # See if cpuid 1 is implemented
56 cmpl $0x1,%eax
79 movl $0x1, %eax # check CPU family and model
81 movl %eax, %ecx
[all …]
Dhead_64.S80 andl $~PMD_PAGE_MASK, %eax
81 testl %eax, %eax
120 andl $(PTRS_PER_PUD-1), %eax
122 incl %eax
123 andl $(PTRS_PER_PUD-1), %eax
200 movl $0x80000001, %eax
207 btsl $_EFER_SCE, %eax /* Enable System Call */
210 btsl $_EFER_NX, %eax
218 movl $CR0_STATE, %eax
238 xorl %eax,%eax
[all …]
Dapm_32.c578 u32 eax; member
618 &call->eax, &call->ebx, &call->ecx, &call->edx, in __apm_bios_call()
625 return call->eax & 0xff; in __apm_bios_call()
647 call->err = (call->eax >> 8) & 0xff; in on_cpu0()
694 &call->eax); in __apm_bios_call_simple()
716 static int apm_bios_call_simple(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax, in apm_bios_call_simple() argument
727 *eax = call.eax; in apm_bios_call_simple()
750 u32 eax; in apm_driver_version() local
753 if (apm_bios_call_simple(APM_FUNC_VERSION, 0, *val, &eax, &err)) in apm_driver_version()
755 *val = eax; in apm_driver_version()
[all …]
Dcpuid.c50 u32 eax, ebx, ecx, edx; member
57 cpuid_count(cmd->eax, cmd->ecx, in cpuid_smp_cpuid()
58 &cmd->eax, &cmd->ebx, &cmd->ecx, &cmd->edx); in cpuid_smp_cpuid()
97 cmd.eax = pos; in cpuid_read()
Drelocate_kernel_64.S119 orl $(X86_CR0_PG | X86_CR0_PE), %eax
126 movl $X86_CR4_PAE, %eax
154 xorl %eax, %eax
Dsmpboot.c1448 unsigned int eax, ebx, ecx, edx; in mwait_play_dead() local
1461 eax = CPUID_MWAIT_LEAF; in mwait_play_dead()
1463 native_cpuid(&eax, &ebx, &ecx, &edx); in mwait_play_dead()
1470 eax = 0; in mwait_play_dead()
1479 eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in mwait_play_dead()
1505 __mwait(eax, 0); in mwait_play_dead()
Dvm86_32.c129 put_user_ex(regs->pt.ax, &user->regs.eax); in save_v86_state()
284 get_user_ex(vm86regs.pt.ax, &user_vm86->regs.eax); in do_sys_vm86()
Dptrace.c967 R32(eax, ax); in putreg32()
1037 R32(eax, ax); in getreg32()
/linux-4.4.14/arch/x86/boot/compressed/
Defi_thunk_64.S31 movl %eax, 4(%rsp)
33 movl %eax, (%rsp)
34 movl %eax, 2(%rax) /* Fixup the gdt base address */
36 movl %ds, %eax
38 movl %es, %eax
40 movl %ss, %eax
89 movl %eax, %ecx
91 andl $0xf0000000, %eax
115 movl $__KERNEL_DS, %eax
116 movl %eax, %ds
[all …]
Dhead_64.S54 movl $(__BOOT_DS), %eax
55 movl %eax, %ds
56 movl %eax, %es
57 movl %eax, %ss
74 movl $boot_stack_end, %eax
75 addl %ebp, %eax
76 movl %eax, %esp
79 testl %eax, %eax
93 movl BP_kernel_alignment(%esi), %eax
94 decl %eax
[all …]
Dhead_32.S56 leal efi32_config(%esi), %eax
57 add %esi, 88(%eax)
58 pushl %eax
61 cmpl $0, %eax
63 movl %esi, BP_code32_start(%eax)
65 pushl %eax
82 leal efi32_config(%esi), %eax
83 add %esi, 88(%eax)
84 pushl %eax
87 cmpl $0, %eax
[all …]
/linux-4.4.14/arch/x86/lib/
Dchecksum_32.S54 movl 20(%esp),%eax # Function arg: unsigned int sum
66 adcl %ebx, %eax
67 roll $8, %eax
79 adcl $0, %eax
86 adcl %ebx, %eax
88 adcl %ebx, %eax
90 adcl %ebx, %eax
92 adcl %ebx, %eax
94 adcl %ebx, %eax
96 adcl %ebx, %eax
[all …]
Datomic64_386_32.S45 movl (v), %eax
59 movl (v), %eax
68 addl %eax, (v)
75 addl (v), %eax
77 movl %eax, (v)
84 subl %eax, (v)
92 negl %eax
94 addl (v), %eax
96 movl %eax, (v)
110 movl (v), %eax
[all …]
Dmsr-reg.S19 movl (%rdi), %eax
27 2: movl %eax, (%r10)
28 movl %r11d, %eax /* Return value */
55 pushl %eax
56 movl 4(%eax), %ecx
57 movl 8(%eax), %edx
58 movl 12(%eax), %ebx
59 movl 20(%eax), %ebp
60 movl 24(%eax), %esi
61 movl 28(%eax), %edi
[all …]
Datomic64_cx8_32.S16 movl %ebx, %eax
54 movl %eax, %esi
60 movl %eax, %ebx
69 movl %ebx, %eax
88 movl %eax, %ebx
97 movl %ebx, %eax
112 movl %eax, %ebx
122 movl %ebx, %eax
135 movl %eax, %ebp
140 cmpl %eax, 0(%esp)
[all …]
Dputuser.S43 xor %eax,%eax
55 xor %eax,%eax
66 3: movl %eax,(%_ASM_CX)
67 xor %eax,%eax
82 xor %eax,%eax
87 movl $-EFAULT,%eax
Dgetuser.S43 xor %eax,%eax
56 xor %eax,%eax
69 xor %eax,%eax
83 xor %eax,%eax
95 xor %eax,%eax
Dclear_page_64.S22 xorl %eax,%eax
29 xorl %eax,%eax
51 xorl %eax,%eax
Dcsum-copy_64.S63 movl %ecx, %eax
162 movl %eax, %ebx
164 addl %ebx, %eax
165 adcl %r9d, %eax
180 adcl %ebx, %eax
187 adcl %r9d, %eax /* add in carry */
198 addl %ebx, %eax
199 adcl %r9d, %eax /* carry */
Dcopy_user_64.S53 xorl %eax,%eax
57 movl %edx,%eax
123 23: xor %eax,%eax
190 xorl %eax,%eax
221 xorl %eax,%eax
336 xorl %eax,%eax
/linux-4.4.14/arch/x86/crypto/
Dsalsa20-i586-asm_32.S11 mov %esp,%eax
12 and $31,%eax
13 add $256,%eax
14 sub %eax,%esp
15 # eax_stack = eax
16 movl %eax,80(%esp)
26 movl 4(%esp,%eax),%edx
28 movl 8(%esp,%eax),%esi
30 movl 12(%esp,%eax),%edi
32 movl 16(%esp,%eax),%ebx
[all …]
Dpoly1305-sse2-x86_64.S66 mov r1,%eax
67 lea (%eax,%eax,4),%eax
68 mov %eax,s1
69 mov r2,%eax
70 lea (%eax,%eax,4),%eax
71 mov %eax,s2
72 mov r3,%eax
73 lea (%eax,%eax,4),%eax
74 mov %eax,s3
75 mov r4,%eax
[all …]
Dtwofish-i586-asm_32.S48 #define R0D %eax
233 mov (%edi), %eax
237 input_whitening(%eax,%ebp,a_offset)
238 ror $16, %eax
261 output_whitening(%eax,%ebp,c_offset)
266 mov %eax, c_offset(%edi)
275 mov $1, %eax
290 mov (%edi), %eax
294 output_whitening(%eax,%ebp,a_offset)
318 input_whitening(%eax,%ebp,c_offset)
[all …]
Dpoly1305-avx2-x86_64.S338 and $0x3ffffff,%eax
339 mov %eax,h1
347 and $0x3ffffff,%eax
348 mov %eax,h2
356 and $0x3ffffff,%eax
357 mov %eax,h3
362 lea (%eax,%eax,4),%eax
363 add %eax,%ebx
366 and $0x3ffffff,%eax
367 mov %eax,h4
[all …]
Dcast5-avx-x86_64-asm_64.S264 movzbl rr(CTX), %eax;
265 testl %eax, %eax;
323 movzbl rr(CTX), %eax;
324 testl %eax, %eax;
Dcrc32c-pcl-intel-asm_64.S223 leal (%eax,%eax,2), %eax # rax *= 3 (total *24)
Daesni-intel_asm.S140 #define AREG %eax
274 mov keysize,%eax
275 shr $2,%eax # 128->4, 192->6, 256->8
276 add $5,%eax # 128->9, 192->11, 256->13
284 sub $1,%eax
390 mov keysize,%eax
391 shr $2,%eax # 128->4, 192->6, 256->8
392 sub $4,%eax # 128->0, 192->2, 256->4
401 sub $1,%eax
496 mov keysize,%eax
[all …]
Dserpent-sse2-i586-asm_32.S527 movl arg_src(%esp), %eax;
528 read_blocks(%eax, RA, RB, RC, RD, RT0, RT1, RE);
564 movl arg_dst(%esp), %eax;
569 write_blocks(%eax, RA, RB, RC, RD, RT0, RT1, RE);
574 xor_blocks(%eax, RA, RB, RC, RD, RT0, RT1, RE);
590 movl arg_src(%esp), %eax;
591 read_blocks(%eax, RA, RB, RC, RD, RT0, RT1, RE);
627 movl arg_dst(%esp), %eax;
628 write_blocks(%eax, RC, RD, RB, RE, RT0, RT1, RA);
Dcrc32-pclmul_asm.S87 #define BUF %eax
243 PEXTRD 0x01, %xmm1, %eax
Dtwofish-x86_64-asm_64.S43 #define R0D %eax
267 movl $1,%eax
319 movl $1,%eax
Dcamellia-aesni-avx-asm_64.S919 movl $24, %eax;
920 cmovel %eax, %r8d; /* max */
947 movl $24, %eax;
948 cmovel %eax, %r8d; /* max */
1264 movl $24, %eax;
1265 cmovel %eax, %r8d; /* input whitening key, last for dec */
Dcamellia-aesni-avx2-asm_64.S965 movl $24, %eax;
966 cmovel %eax, %r8d; /* max */
997 movl $24, %eax;
998 cmovel %eax, %r8d; /* max */
1380 movl $24, %eax;
1381 cmovel %eax, %r8d; /* input whitening key, last for dec */
Dblowfish-x86_64-asm_64.S44 #define RX0d %eax
DMakefile6 avx2_supported := $(call as-instr,vpgatherdd %ymm0$(comma)(%eax$(comma)%ymm1\
Daes-x86_64-asm_64.S22 #define R1E %eax
Dtwofish-x86_64-asm_64-3way.S46 #define RAB0d %eax
Daes-i586-asm_32.S56 #define r0 eax
Dcamellia-x86_64-asm_64.S62 #define RAB0d %eax
Dsha1_avx2_x86_64_asm.S81 #define REG_D %eax
Dsha1_ssse3_asm.S43 #define REG_T1 %eax
Ddes3_ede-asm_64.S54 #define RW0d %eax
Dsha256-ssse3-asm.S99 a = %eax
Dsha256-avx-asm.S107 a = %eax
Daesni-intel_avx-x86_64.S1425 vmovd %xmm9, %eax
1426 mov %eax, 8(%r10)
2700 vmovd %xmm9, %eax
2701 mov %eax, 8(%r10)
Dsalsa20-x86_64-asm_64.S613 addl 80(%rsp),%eax
Dsha256-avx2-asm.S105 a = %eax
/linux-4.4.14/tools/testing/selftests/x86/
Draw_syscall_helper_32.S8 movl 5*4(%esp), %eax /* pointer to args struct */
10 movl 1*4(%eax), %ebx
11 movl 2*4(%eax), %ecx
12 movl 3*4(%eax), %edx
13 movl 4*4(%eax), %esi
14 movl 5*4(%eax), %edi
15 movl 6*4(%eax), %ebp
16 movl 0*4(%eax), %eax
21 pushl %eax
22 movl 6*4(%esp), %eax
[all …]
Dunwind_vdso.c111 unsigned long eax = _Unwind_GetGR(ctx, 0); in trace_fn() local
118 bool ok = (eax == SYS_getpid || eax == getpid()) && in trace_fn()
126 eax, ebx, ecx, edx, esi, edi, ebp); in trace_fn()
Dthunks_32.S27 mov 4(%esp), %eax
Dentry_from_vm86.c218 v86.regs.eax = (unsigned int)-1; in main()
Dptrace_syscall.c37 # define user_ax eax
/linux-4.4.14/arch/x86/entry/
Dentry_32.S156 .macro SAVE_ALL pt_regs_ax=%eax
184 popl %eax
208 pushl %eax
211 popl %eax
216 movl %esp, %eax
222 pushl %eax
225 popl %eax
228 movl PT_EBP(%esp), %eax
237 movl %esp, %eax
256 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
[all …]
Dentry_64_compat.S62 movl %eax, %eax
170 movl %eax, %eax
280 movl %eax, %eax
Dthunk_32.S14 pushl %eax
20 movl 3*4(%esp), %eax
26 popl %eax
Dentry_64.S180 andl $__SYSCALL_MASK, %eax
181 cmpl $__NR_syscall_max, %eax
264 andl $__SYSCALL_MASK, %eax
265 cmpl $__NR_syscall_max, %eax
373 testl %eax, %eax
640 andl $0xffff0000, %eax
865 xorl %eax, %eax
866 movl %eax, %gs
1089 movl %ecx, %eax /* zero extend */
1133 movl %ebx, %eax
[all …]
Dcalling.h214 pushl %eax
230 popl %eax
/linux-4.4.14/drivers/lguest/x86/
Dswitcher_32.S124 movl %esp, LGUEST_PAGES_host_sp(%eax)
134 movl %eax, %edx
140 lgdt LGUEST_PAGES_guest_gdt_desc(%eax)
144 lidt LGUEST_PAGES_guest_idt_desc(%eax)
160 movl (LGUEST_PAGES_host_gdt_desc+2)(%eax), %edx
173 popl %eax
214 pushl %eax; \
220 movl $(LGUEST_DS), %eax; \
221 movl %eax, %ds; \
230 movl %esp, %eax; \
[all …]
Dcore.c201 return &cpu->regs->eax; in lguest_arch_regptr()
/linux-4.4.14/arch/x86/net/
Dbpf_jit.S34 mov %r9d,%eax # hlen
35 sub %esi,%eax # hlen - offset
36 cmp $3,%eax
38 mov (SKBDATA,%rsi),%eax
39 bswap %eax /* ntohl() */
51 mov %r9d,%eax
52 sub %esi,%eax # hlen - offset
53 cmp $1,%eax
55 movzwl (SKBDATA,%rsi),%eax
70 movzbl (SKBDATA,%rsi),%eax
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/
Dvmware.c40 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument
42 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
50 uint32_t eax, ebx, ecx, edx; in __vmware_platform() local
51 VMWARE_PORT(GETVERSION, eax, ebx, ecx, edx); in __vmware_platform()
52 return eax != (uint32_t)-1 && ebx == VMWARE_HYPERVISOR_MAGIC; in __vmware_platform()
58 uint32_t eax, ebx, ecx, edx; in vmware_get_tsc_khz() local
60 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx); in vmware_get_tsc_khz()
62 tsc_hz = eax | (((uint64_t)ebx) << 32); in vmware_get_tsc_khz()
80 uint32_t eax, ebx, ecx, edx; in vmware_platform_setup() local
82 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx); in vmware_platform_setup()
[all …]
Dtopology.c21 #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f) argument
32 unsigned int eax, ebx, ecx, edx, sub_index; in detect_extended_topology() local
40 cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
59 core_plus_mask_width = ht_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); in detect_extended_topology()
63 cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
70 core_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); in detect_extended_topology()
Dintel_cacheinfo.c153 union _cpuid4_leaf_eax eax; member
224 amd_cpuid4(int leaf, union _cpuid4_leaf_eax *eax, in amd_cpuid4() argument
235 eax->full = 0; in amd_cpuid4()
278 eax->split.is_self_initializing = 1; in amd_cpuid4()
279 eax->split.type = types[leaf]; in amd_cpuid4()
280 eax->split.level = levels[leaf]; in amd_cpuid4()
281 eax->split.num_threads_sharing = 0; in amd_cpuid4()
282 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4()
286 eax->split.is_fully_associative = 1; in amd_cpuid4()
588 union _cpuid4_leaf_eax eax; in cpuid4_cache_lookup_regs() local
[all …]
Dmshyperv.c118 u32 eax; in ms_hyperv_platform() local
125 &eax, &hyp_signature[0], &hyp_signature[1], &hyp_signature[2]); in ms_hyperv_platform()
127 if (eax >= HYPERV_CPUID_MIN && in ms_hyperv_platform()
128 eax <= HYPERV_CPUID_MAX && in ms_hyperv_platform()
Damd.c308 u32 eax, ebx, ecx, edx; in amd_get_topology() local
310 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_get_topology()
785 u32 ebx, eax, ecx, edx; in cpu_detect_tlb_amd() local
794 cpuid(0x80000006, &eax, &ebx, &ecx, &edx); in cpu_detect_tlb_amd()
804 cpuid(0x80000005, &eax, &ebx, &ecx, &edx); in cpu_detect_tlb_amd()
809 if (!((eax >> 16) & mask)) in cpu_detect_tlb_amd()
812 tlb_lld_2m[ENTRIES] = (eax >> 16) & mask; in cpu_detect_tlb_amd()
818 if (!(eax & mask)) { in cpu_detect_tlb_amd()
823 cpuid(0x80000005, &eax, &ebx, &ecx, &edx); in cpu_detect_tlb_amd()
824 tlb_lli_2m[ENTRIES] = eax & 0xff; in cpu_detect_tlb_amd()
[all …]
Dcommon.c495 u32 eax, ebx, ecx, edx; in detect_ht() local
508 cpuid(1, &eax, &ebx, &ecx, &edx); in detect_ht()
616 u32 eax, ebx, ecx, edx; in get_cpu_cap() local
618 cpuid_count(0x00000007, 0, &eax, &ebx, &ecx, &edx); in get_cpu_cap()
625 u32 eax, ebx, ecx, edx; in get_cpu_cap() local
627 cpuid_count(0x0000000d, 1, &eax, &ebx, &ecx, &edx); in get_cpu_cap()
629 c->x86_capability[10] = eax; in get_cpu_cap()
634 u32 eax, ebx, ecx, edx; in get_cpu_cap() local
637 cpuid_count(0x0000000F, 0, &eax, &ebx, &ecx, &edx); in get_cpu_cap()
644 cpuid_count(0x0000000F, 1, &eax, &ebx, &ecx, &edx); in get_cpu_cap()
[all …]
Dintel.c324 unsigned int eax, ebx, ecx, edx; in intel_num_cpu_cores() local
330 cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); in intel_num_cpu_cores()
331 if (eax & 0x1f) in intel_num_cpu_cores()
332 return (eax >> 26) + 1; in intel_num_cpu_cores()
440 unsigned eax = cpuid_eax(10); in init_intel() local
442 if ((eax & 0xff) && (((eax>>8) & 0xff) > 1)) in init_intel()
Dperf_event_amd_uncore.c359 unsigned int eax, ebx, ecx, edx; in amd_uncore_cpu_starting() local
364 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_uncore_cpu_starting()
376 cpuid_count(0x8000001d, 2, &eax, &ebx, &ecx, &edx); in amd_uncore_cpu_starting()
377 nshared = ((eax >> 14) & 0xfff) + 1; in amd_uncore_cpu_starting()
Dperf_event_intel.c3231 union cpuid10_eax eax; in intel_pmu_init() local
3254 cpuid(10, &eax.full, &ebx.full, &unused, &edx.full); in intel_pmu_init()
3255 if (eax.split.mask_length < ARCH_PERFMON_EVENTS_COUNT) in intel_pmu_init()
3258 version = eax.split.version_id; in intel_pmu_init()
3265 x86_pmu.num_counters = eax.split.num_counters; in intel_pmu_init()
3266 x86_pmu.cntval_bits = eax.split.bit_width; in intel_pmu_init()
3267 x86_pmu.cntval_mask = (1ULL << eax.split.bit_width) - 1; in intel_pmu_init()
3270 x86_pmu.events_mask_len = eax.split.mask_length; in intel_pmu_init()
/linux-4.4.14/arch/x86/include/asm/
Dmwait.h21 static inline void __monitor(const void *eax, unsigned long ecx, in __monitor() argument
26 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor()
29 static inline void __monitorx(const void *eax, unsigned long ecx, in __monitorx() argument
34 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx()
37 static inline void __mwait(unsigned long eax, unsigned long ecx) in __mwait() argument
41 :: "a" (eax), "c" (ecx)); in __mwait()
70 static inline void __mwaitx(unsigned long eax, unsigned long ebx, in __mwaitx() argument
75 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx()
78 static inline void __sti_mwait(unsigned long eax, unsigned long ecx) in __sti_mwait() argument
83 :: "a" (eax), "c" (ecx)); in __sti_mwait()
[all …]
Dprocessor.h196 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument
201 : "=a" (*eax), in native_cpuid()
205 : "0" (*eax), "2" (*ecx) in native_cpuid()
502 unsigned int *eax, unsigned int *ebx, in cpuid() argument
505 *eax = op; in cpuid()
507 __cpuid(eax, ebx, ecx, edx); in cpuid()
512 unsigned int *eax, unsigned int *ebx, in cpuid_count() argument
515 *eax = op; in cpuid_count()
517 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
525 unsigned int eax, ebx, ecx, edx; in cpuid_eax() local
[all …]
Dapm.h27 u32 *eax, u32 *ebx, u32 *ecx, in apm_bios_call_asm() argument
42 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx), in apm_bios_call_asm()
49 u32 ecx_in, u32 *eax) in apm_bios_call_simple_asm() argument
66 : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx), in apm_bios_call_simple_asm()
Dvirtext.h86 uint32_t eax, ebx, ecx, edx; in cpu_has_svm() local
94 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in cpu_has_svm()
95 if (eax < SVM_CPUID_FUNC) { in cpu_has_svm()
101 cpuid(0x80000001, &eax, &ebx, &ecx, &edx); in cpu_has_svm()
Dmicrocode.h108 u32 eax = 0x00000000; in x86_vendor() local
111 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_vendor()
136 u32 eax = 0x00000001; in x86_family() local
139 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_family()
141 return __x86_family(eax); in x86_family()
Dirqflags.h143 #define GET_CR0_INTO_EAX movl %cr0, %eax
183 pushl %eax; \
189 popl %eax;
Dstring_32.h282 : "a" (eax), "0" (count/4), "1" ((long)s) \ in __constant_c_and_count_memset()
289 register unsigned long eax asm("%eax") = pattern; in __constant_c_and_count_memset()
291 unsigned long eax = pattern; in __constant_c_and_count_memset() local
Dlguest.h33 unsigned long eax, ebx, ecx, edx; member
Duser32.h36 __u32 ebx, ecx, edx, esi, edi, ebp, eax; member
Dparavirt.h35 static inline void __cpuid(unsigned int *eax, unsigned int *ebx, in __cpuid() argument
38 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
900 COND_PUSH(set, CLBR_EAX, eax); \
908 COND_POP(set, CLBR_EAX, eax)
Dinst.h19 .ifc \r32,%eax
Dkvm_emulate.h222 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
Dparavirt_types.h155 void (*cpuid)(unsigned int *eax, unsigned int *ebx,
/linux-4.4.14/arch/x86/xen/
Dxen-asm_32.S28 push %eax
34 pop %eax
44 movl PT_EAX(%esp), %eax /* Shouldn't be necessary? */
94 push %eax
100 movl $(__KERNEL_PERCPU), %eax
101 movl %eax, %fs
102 movl %fs:xen_vcpu, %eax
105 movl %ss:xen_vcpu, %eax
118 setz %ss:XEN_vcpu_info_mask(%eax)
122 cmpw $0x0001, %ss:XEN_vcpu_info_pending(%eax)
[all …]
Dxen-head.S67 mov $0x80000001, %eax
73 bts $_EFER_SCE, %eax
77 bts $_EFER_NX, %eax
Dxen-asm.S114 push %eax
120 pop %eax
Dpmu.c93 uint32_t eax, ebx, ecx, edx; in xen_pmu_arch_init() local
95 cpuid(0xa, &eax, &ebx, &ecx, &edx); in xen_pmu_arch_init()
97 intel_num_arch_counters = (eax & PMU_GENERAL_NR_MASK) >> in xen_pmu_arch_init()
Denlighten.c1774 uint32_t eax, ebx, ecx, edx, pages, msr, base; in init_hvm_pv_info() local
1778 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hvm_pv_info()
1780 major = eax >> 16; in init_hvm_pv_info()
1781 minor = eax & 0xffff; in init_hvm_pv_info()
/linux-4.4.14/drivers/char/
Dtoshiba.c136 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
139 eax = regs->eax & 0xff00; in tosh_emulate_fan()
145 if (eax==0xfe00) { in tosh_emulate_fan()
151 regs->eax = 0x00; in tosh_emulate_fan()
154 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
162 regs->eax = 0x00; in tosh_emulate_fan()
165 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
173 regs->eax = 0x00; in tosh_emulate_fan()
181 if (eax==0xfe00) { in tosh_emulate_fan()
187 regs->eax = 0x00; in tosh_emulate_fan()
[all …]
/linux-4.4.14/arch/x86/realmode/rm/
Dwakeup_asm.S51 movl %cr0, %eax
53 movl %eax, %cr0
63 movl %eax, %cr0
82 movl signature, %eax
83 cmpl $WAKEUP_HEADER_SIGNATURE, %eax
87 movl end_signature, %eax
88 cmpl $REALMODE_END_SIGNATURE, %eax
100 movl pmode_misc_en, %eax
110 movl pmode_cr3, %eax
111 movl %eax, %cr3
[all …]
Dreboot.S25 movl $__KERNEL_DS, %eax
26 movl %eax, %ds
30 movl %cr0, %eax
31 andl $~X86_CR0_PG, %eax
32 movl %eax, %cr0
36 xorl %eax, %eax
41 movl %edi, %eax
Dtrampoline_32.S41 movl tr_start, %eax # where we need to go
/linux-4.4.14/arch/x86/power/
Dhibernate_asm_32.S31 movl resume_pg_dir, %eax
32 subl $__PAGE_OFFSET, %eax
33 movl %eax, %cr3
38 movl %cr3, %eax; # flush TLB
39 movl %eax, %cr3
61 movl $swapper_pg_dir, %eax
62 subl $__PAGE_OFFSET, %eax
63 movl %eax, %cr3
79 movl $saved_context, %eax
80 lgdt saved_context_gdt_desc(%eax)
[all …]
/linux-4.4.14/arch/x86/kvm/
Dcpuid.c36 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local
37 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
39 ret = max(ret, offset + eax); in xstate_required_size()
90 (best->eax | ((u64)best->edx << 32)) & in kvm_update_cpuid()
97 if (best && (best->eax & (F(XSAVES) | F(XSAVEC)))) in kvm_update_cpuid()
109 if (best && ((best->eax & 0xff00) >> 8) != 48 && in kvm_update_cpuid()
110 ((best->eax & 0xff00) >> 8) != 0) in kvm_update_cpuid()
152 if (!best || best->eax < 0x80000008) in cpuid_query_maxphyaddr()
156 return best->eax & 0xff; in cpuid_query_maxphyaddr()
183 vcpu->arch.cpuid_entries[i].eax = cpuid_entries[i].eax; in kvm_vcpu_ioctl_set_cpuid()
[all …]
Dpmu_intel.c261 union cpuid10_eax eax; in intel_pmu_refresh() local
274 eax.full = entry->eax; in intel_pmu_refresh()
277 pmu->version = eax.split.version_id; in intel_pmu_refresh()
281 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()
283 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
285 ((1ull << eax.split.mask_length) - 1); in intel_pmu_refresh()
Dtss.h15 u32 eax; member
Dcpuid.h21 void kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
Demulate.c337 FOP1E(op##l, eax) \
366 FOP2E(op##l, eax, edx) \
375 FOP2E(op##l, eax, edx) \
384 FOP2E(op##l, eax, cl) \
393 FOP2E(op##l, edx, eax) \
405 FOP3E(op##l, eax, edx, cl) \
2264 u32 eax, ebx, ecx, edx; in emulator_has_longmode() local
2266 eax = 0x80000001; in emulator_has_longmode()
2268 ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx); in emulator_has_longmode()
2568 u32 eax, ebx, ecx, edx; in vendor_intel() local
[all …]
Dsvm.c1120 u32 eax = 1; in svm_vcpu_reset() local
1130 kvm_cpuid(vcpu, &eax, &dummy, &dummy, &dummy); in svm_vcpu_reset()
1131 kvm_register_write(vcpu, VCPU_REGS_RDX, eax); in svm_vcpu_reset()
4014 entry->eax = 1; /* SVM revision 1 */ in svm_set_supported_cpuid()
/linux-4.4.14/arch/x86/platform/efi/
Defi_thunk_64.S70 movl %ds, %eax
72 movl %es, %eax
74 movl %ss, %eax
109 movl %eax, %ecx
111 andl $0xf0000000, %eax
132 movl $__KERNEL_DS, %eax
133 movl %eax, %ds
134 movl %eax, %es
135 movl %eax, %ss
140 movl %eax, %edi
[all …]
/linux-4.4.14/arch/x86/boot/
Dcpucheck.c126 u32 eax, edx; in check_cpu() local
128 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
129 eax &= ~(1 << 15); in check_cpu()
130 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
141 u32 eax, edx; in check_cpu() local
143 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
144 eax |= (1<<1)|(1<<7); in check_cpu()
145 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
153 u32 eax, edx; in check_cpu() local
156 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
[all …]
Dcopy.S39 movzbl %dl, %eax
40 imull $0x01010101,%eax
Dmemory.c62 if (oreg.eax != SMAP) { in detect_memory_e820()
Dpmjump.S76 jmpl *%eax # Jump to the 32-bit entrypoint
Dmain.c95 boot_params.ist_info.signature = oreg.eax; in query_ist()
Dboot.h240 u32 eax; member
/linux-4.4.14/arch/x86/lguest/
Dhead_32.S37 movl $LHCALL_LGUEST_INIT, %eax
42 movl $LHCALL_NEW_PGTABLE, %eax
63 LGUEST_PATCH(pushf, movl lguest_data+LGUEST_DATA_irq_enabled, %eax)
106 pushl %eax
107 movl $LHCALL_SEND_INTERRUPTS, %eax
111 popl %eax
121 movl %eax, lguest_data+LGUEST_DATA_irq_enabled
130 testl lguest_data+LGUEST_DATA_irq_pending, %eax
/linux-4.4.14/tools/power/cpupower/debug/i386/
Dintel_gsic.c26 r.eax = 0x0000E980; in main()
35 if (r.eax == 0x47534943) { in main()
38 (r.eax >> 24) & 0xff, in main()
39 (r.eax >> 16) & 0xff, in main()
40 (r.eax >> 8) & 0xff, in main()
41 (r.eax) & 0xff); in main()
64 printf("eax = 0x%.8x\n", r.eax); in main()
/linux-4.4.14/arch/x86/kernel/fpu/
Dxstate.c203 u32 eax, ebx, ecx, edx, i; in setup_xstate_features() local
212 cpuid_count(XSTATE_CPUID, i, &eax, &ebx, &ecx, &edx); in setup_xstate_features()
214 xstate_sizes[i] = eax; in setup_xstate_features()
224 printk(KERN_INFO "x86/fpu: xstate_offset[%d]: %4d, xstate_sizes[%d]: %4d\n", i, ebx, i, eax); in setup_xstate_features()
365 u32 eax, ebx, ecx, edx; in xfeature_is_aligned() local
368 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_is_aligned()
379 u32 eax, ebx, ecx, edx; in xfeature_uncompacted_offset() local
382 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_uncompacted_offset()
388 u32 eax, ebx, ecx, edx; in xfeature_size() local
391 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_size()
[all …]
/linux-4.4.14/arch/x86/purgatory/
Dsetup-x86_64.S23 movl $0x18, %eax /* data segment */
24 movl %eax, %ds
25 movl %eax, %es
26 movl %eax, %ss
27 movl %eax, %fs
28 movl %eax, %gs
Dentry64.S24 movl $0x18, %eax /* data segment */
25 movl %eax, %ds
26 movl %eax, %es
27 movl %eax, %ss
28 movl %eax, %fs
29 movl %eax, %gs
/linux-4.4.14/arch/x86/oprofile/
Dop_model_ppro.c79 union cpuid10_eax eax; in ppro_setup_ctrs() local
80 eax.full = cpuid_eax(0xa); in ppro_setup_ctrs()
86 if (!(eax.split.version_id == 0 && in ppro_setup_ctrs()
90 if (counter_width < eax.split.bit_width) in ppro_setup_ctrs()
91 counter_width = eax.split.bit_width; in ppro_setup_ctrs()
210 union cpuid10_eax eax; in arch_perfmon_setup_counters() local
212 eax.full = cpuid_eax(0xa); in arch_perfmon_setup_counters()
215 if (eax.split.version_id == 0 && __this_cpu_read(cpu_info.x86) == 6 && in arch_perfmon_setup_counters()
217 eax.split.version_id = 2; in arch_perfmon_setup_counters()
218 eax.split.num_counters = 2; in arch_perfmon_setup_counters()
[all …]
/linux-4.4.14/arch/x86/kernel/acpi/
Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
34 movl %cs:saved_magic, %eax
35 cmpl $0x12345678, %eax
39 movl saved_eip, %eax
40 jmp *%eax
52 leal 4(%esp), %eax
53 movl %eax, saved_context_esp
Dcstate.c62 unsigned int eax; member
76 unsigned int eax, ebx, ecx, edx; in acpi_processor_ffh_cstate_probe_cpu() local
81 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in acpi_processor_ffh_cstate_probe_cpu()
131 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe()
139 percpu_entry->states[cx->index].eax = cx->address; in acpi_processor_ffh_cstate_probe()
161 mwait_idle_with_hints(percpu_entry->states[cx->index].eax, in acpi_processor_ffh_cstate_enter()
Dwakeup_64.S43 xorl %eax, %eax
75 xorl %eax, %eax
110 xorl %eax, %eax
/linux-4.4.14/arch/x86/platform/olpc/
Dxo1-wakeup.S25 movl $initial_page_table - __PAGE_OFFSET, %eax
26 movl %eax, %cr3
28 movl saved_cr4, %eax
29 movl %eax, %cr4
31 movl saved_cr0, %eax
32 movl %eax, %cr0
50 movl %cr3, %eax
51 movl %eax, %cr3
/linux-4.4.14/drivers/hwmon/
Ddell-smm-hwmon.c115 unsigned int eax; member
136 int eax = regs->eax; in i8k_smm() local
204 if (rc != 0 || (regs->eax & 0xffff) == 0xffff || regs->eax == eax) in i8k_smm()
218 struct smm_regs regs = { .eax = I8K_SMM_GET_FAN, }; in i8k_get_fan_status()
221 return i8k_smm(&regs) ? : regs.eax & 0xff; in i8k_get_fan_status()
229 struct smm_regs regs = { .eax = I8K_SMM_GET_SPEED, }; in i8k_get_fan_speed()
232 return i8k_smm(&regs) ? : (regs.eax & 0xffff) * i8k_fan_mult; in i8k_get_fan_speed()
240 struct smm_regs regs = { .eax = I8K_SMM_GET_FAN_TYPE, }; in i8k_get_fan_type()
243 return i8k_smm(&regs) ? : regs.eax & 0xff; in i8k_get_fan_type()
251 struct smm_regs regs = { .eax = I8K_SMM_GET_NOM_SPEED, }; in i8k_get_fan_nominal_speed()
[all …]
Dcoretemp.c136 u32 eax, edx; in show_crit_alarm() local
141 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_crit_alarm()
143 return sprintf(buf, "%d\n", (eax >> 5) & 1); in show_crit_alarm()
167 u32 eax, edx; in show_temp() local
176 rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); in show_temp()
183 tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; in show_temp()
248 u32 eax, edx; in adjust_tjmax() local
289 err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); in adjust_tjmax()
295 } else if (c->x86_model < 0x17 && !(eax & 0x10000000)) { in adjust_tjmax()
323 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); in adjust_tjmax()
[all …]
Dvia-cputemp.c81 u32 eax, edx; in show_temp() local
84 err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); in show_temp()
88 return sprintf(buf, "%lu\n", ((unsigned long)eax & 0xffffff) * 1000); in show_temp()
95 u32 eax, edx; in show_cpu_vid() local
98 err = rdmsr_safe_on_cpu(data->id, data->msr_vid, &eax, &edx); in show_cpu_vid()
129 u32 eax, edx; in via_cputemp_probe() local
156 err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); in via_cputemp_probe()
Dfam15h_power.c209 u32 val, eax, ebx, ecx, edx; in fam15h_power_init_data() local
236 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in fam15h_power_init_data()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_synth.c340 int ecx = vol[1], eax = vol[0];
353 eax >>= 8;
354 ecx = eax;
360 voice->parm3 |= (eax & 0x7f);
363 voice->parm3 |= (eax & 0xFE00) << 5;
373 u32 eax, edx;
376 eax = ((sr << 0xf) * 0x57619F1) & 0xffffffff;
383 eax = 0x7fff;
386 eax = 7;
389 eax--;
[all …]
Dau88x0_eq.c610 u32 eax, ebx; in vortex_Eqlzr_SetA3dBypassGain() local
615 eax = eq->this0e; in vortex_Eqlzr_SetA3dBypassGain()
617 eax = eq->this0a; in vortex_Eqlzr_SetA3dBypassGain()
618 ebx = (eax * eq->this58) >> 0x10; in vortex_Eqlzr_SetA3dBypassGain()
619 eax = (eax * eq->this5c) >> 0x10; in vortex_Eqlzr_SetA3dBypassGain()
620 vortex_EqHw_SetA3DBypassGain(vortex, ebx, eax); in vortex_Eqlzr_SetA3dBypassGain()
626 u32 eax, ebx; in vortex_Eqlzr_ProgramA3dBypassGain() local
629 eax = eq->this0e; in vortex_Eqlzr_ProgramA3dBypassGain()
631 eax = eq->this0a; in vortex_Eqlzr_ProgramA3dBypassGain()
632 ebx = (eax * eq->this58) >> 0x10; in vortex_Eqlzr_ProgramA3dBypassGain()
[all …]
Dau88x0_core.c301 int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; in vortex_mixer_delWTD() local
304 eax = hwread(vortex->mmio, VORTEX_MIXER_SR); in vortex_mixer_delWTD()
305 if (((1 << ch) & eax) == 0) { in vortex_mixer_delWTD()
306 dev_err(vortex->card->dev, "mix ALARM %x\n", eax); in vortex_mixer_delWTD()
701 int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; in vortex_src_delWTD() local
704 eax = hwread(vortex->mmio, VORTEX_SRCBLOCK_SR); in vortex_src_delWTD()
705 if (((1 << ch) & eax) == 0) { in vortex_src_delWTD()
/linux-4.4.14/drivers/cpufreq/
Dlongrun.c143 u32 eax, ebx, ecx, edx; in longrun_get() local
148 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_get()
149 pr_debug("cpuid eax is %u\n", eax); in longrun_get()
151 return eax * 1000; in longrun_get()
169 u32 eax, ebx, ecx, edx; in longrun_determine_freqs() local
216 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
227 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
232 pr_debug("percentage is %u %%, freq is %u MHz\n", ecx, eax); in longrun_determine_freqs()
242 if ((ecx > 95) || (ecx == 0) || (eax < ebx)) in longrun_determine_freqs()
245 edx = ((eax - ebx) * 100) / (100 - ecx); in longrun_determine_freqs()
Dpowernow-k8.c467 u32 eax, ebx, ecx, edx; in check_supported_cpu() local
472 eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE); in check_supported_cpu()
474 if ((eax & CPUID_XFAM) == CPUID_XFAM_K8) { in check_supported_cpu()
475 if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) || in check_supported_cpu()
476 ((eax & CPUID_XMOD) > CPUID_XMOD_REV_MASK)) { in check_supported_cpu()
477 pr_info("Processor cpuid %x not supported\n", eax); in check_supported_cpu()
481 eax = cpuid_eax(CPUID_GET_MAX_CAPABILITIES); in check_supported_cpu()
482 if (eax < CPUID_FREQ_VOLT_CAPABILITIES) { in check_supported_cpu()
487 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
Dpowernow-k7.c121 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local
141 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dregs_load.S67 movl %eax, AX(%edi)
72 pop %eax
73 movl %eax, DI(%edi)
76 leal 4(%esp), %eax /* exclude this call. */
77 movl %eax, SP(%edi)
79 movl 0(%esp), %eax
80 movl %eax, IP(%edi)
/linux-4.4.14/lib/raid6/
Dx86.h54 u32 eax, ebx, ecx, edx; in boot_cpu_has() local
56 eax = (flag & 0x100) ? 7 : in boot_cpu_has()
61 : "+a" (eax), "=b" (ebx), "=d" (edx), "+c" (ecx)); in boot_cpu_has()
/linux-4.4.14/drivers/thermal/
Dx86_pkg_temp_thermal.c144 u32 eax, edx; in get_tj_max() local
148 err = rdmsr_safe_on_cpu(cpu, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tj_max()
152 val = (eax >> 16) & 0xff; in get_tj_max()
169 u32 eax, edx; in sys_get_curr_temp() local
174 &eax, &edx); in sys_get_curr_temp()
175 if (eax & 0x80000000) { in sys_get_curr_temp()
177 ((eax >> 16) & 0x7f) * 1000; in sys_get_curr_temp()
188 u32 eax, edx; in sys_get_trip_temp() local
208 MSR_IA32_PACKAGE_THERM_INTERRUPT, &eax, &edx); in sys_get_trip_temp()
212 thres_reg_value = (eax & mask) >> shift; in sys_get_trip_temp()
[all …]
Dintel_powerclamp.c183 unsigned int eax, ebx, ecx, edx; in find_target_mwait() local
191 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in find_target_mwait()
447 unsigned long eax = target_mwait; in clamp_thread() local
455 mwait_idle_with_hints(eax, ecx); in clamp_thread()
Dintel_soc_dts_iosf.c58 u32 eax, edx; in get_tj_max() local
62 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tj_max()
66 val = (eax >> 16) & 0xff; in get_tj_max()
/linux-4.4.14/tools/build/feature/
Dtest-get_cpuid.c5 unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; in main() local
6 return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); in main()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Damd.c152 u32 rev, eax, ebx, ecx, edx; in apply_ucode_in_initrd() local
177 eax = 0x00000001; in apply_ucode_in_initrd()
179 native_cpuid(&eax, &ebx, &ecx, &edx); in apply_ucode_in_initrd()
191 eq_id = find_equiv_id(eq, eax); in apply_ucode_in_initrd()
355 u32 rev, eax; in load_ucode_amd_ap() local
371 eax = cpuid_eax(0x00000001); in load_ucode_amd_ap()
374 eq_id = find_equiv_id(eq, eax); in load_ucode_amd_ap()
405 u32 eax; in save_microcode_in_initrd_amd() local
438 eax = cpuid_eax(0x00000001); in save_microcode_in_initrd_amd()
439 eax = ((eax >> 8) & 0xf) + ((eax >> 20) & 0xff); in save_microcode_in_initrd_amd()
[all …]
Dintel.c355 unsigned int eax, ebx, ecx, edx; in collect_cpu_info_early() local
363 eax = 0x00000001; in collect_cpu_info_early()
365 native_cpuid(&eax, &ebx, &ecx, &edx); in collect_cpu_info_early()
366 csig.sig = eax; in collect_cpu_info_early()
523 unsigned int eax = 0x00000001, ebx, ecx = 0, edx; in load_builtin_intel_microcode() local
527 native_cpuid(&eax, &ebx, &ecx, &edx); in load_builtin_intel_microcode()
529 family = __x86_family(eax); in load_builtin_intel_microcode()
530 model = x86_model(eax); in load_builtin_intel_microcode()
531 stepping = eax & 0xf; in load_builtin_intel_microcode()
/linux-4.4.14/Documentation/virtual/kvm/
Dcpuid.txt13 returns : eax = 0x40000001,
18 The value in eax corresponds to the maximum cpuid function present in this leaf,
20 Note also that old hosts set eax value to 0x0. This should
27 eax = and OR'ed group of (1 << flag), where each flags is:
Dapi.txt528 __u32 eax;
1223 __u32 eax;
1250 function: the eax value used to obtain the entry
1263 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
2755 __u32 eax;
2785 function: the eax value used to obtain the entry
2798 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
/linux-4.4.14/drivers/video/fbdev/
Duvesafb.c369 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_save()
377 if (err || (task->t.regs.eax & 0xffff) != 0x004f) { in uvesafb_vbe_state_save()
380 task->t.regs.eax, err); in uvesafb_vbe_state_save()
401 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_restore()
409 if (err || (task->t.regs.eax & 0xffff) != 0x004f) in uvesafb_vbe_state_restore()
412 task->t.regs.eax, err); in uvesafb_vbe_state_restore()
422 task->t.regs.eax = 0x4f00; in uvesafb_vbe_getinfo()
429 if (err || (task->t.regs.eax & 0xffff) != 0x004f) { in uvesafb_vbe_getinfo()
431 "(eax=0x%x, err=%d)\n", (u32)task->t.regs.eax, in uvesafb_vbe_getinfo()
502 task->t.regs.eax = 0x4f01; in uvesafb_vbe_getmodes()
[all …]
Dneofb.c1296 regs.eax = 0xff00; /* HCI_SET */ in neofb_blank()
1337 regs.eax = 0xff00; /* HCI_SET */ in neofb_blank()
/linux-4.4.14/drivers/thermal/int340x_thermal/
Dprocessor_thermal_device.c133 u32 eax, edx; in get_tjmax() local
137 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); in get_tjmax()
141 val = (eax >> 16) & 0xff; in get_tjmax()
151 u32 eax, edx; in read_temp_msr() local
158 err = rdmsr_safe_on_cpu(cpu, MSR_IA32_THERM_STATUS, &eax, in read_temp_msr()
163 if (eax & 0x80000000) { in read_temp_msr()
164 curr_temp_off = (eax >> 16) & 0x7f; in read_temp_msr()
/linux-4.4.14/arch/x86/entry/vdso/vdso32/
Dsigreturn.S24 popl %eax /* XXX does this mean it needs unwind info? */
25 movl $__NR_sigreturn, %eax
36 movl $__NR_rt_sigreturn, %eax
/linux-4.4.14/tools/power/cpupower/utils/helpers/
Dcpuid.c26 unsigned int eax, ebx, ecx, edx; \
27 __cpuid(op, eax, ebx, ecx, edx); \
30 cpuid_func(eax);
/linux-4.4.14/drivers/hv/
Dhv.c56 unsigned int eax; in query_hypervisor_info() local
67 eax = 0; in query_hypervisor_info()
72 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
74 max_leaf = eax; in query_hypervisor_info()
77 eax = 0; in query_hypervisor_info()
82 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
83 host_info_eax = eax; in query_hypervisor_info()
/linux-4.4.14/drivers/idle/
Dintel_idle.c122 #define MWAIT2flg(eax) ((eax & 0xFF) << 24) argument
733 unsigned long eax = flg2MWAIT(state->flags); in intel_idle() local
737 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) + 1; in intel_idle()
749 mwait_idle_with_hints(eax, ecx); in intel_idle()
767 unsigned long eax = flg2MWAIT(drv->states[index].flags); in intel_idle_freeze() local
769 mwait_idle_with_hints(eax, ecx); in intel_idle_freeze()
933 unsigned int eax, ebx, ecx; in intel_idle_probe() local
953 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_probe()
1033 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
1051 cpuid(7, &eax, &ebx, &ecx, &edx); in sklh_idle_state_table_update()
/linux-4.4.14/Documentation/x86/
Dexception-tables.txt129 > movl current_set,%eax
130 > cmpl $24,788(%eax)
135 > movl %edx,%eax
141 > 3: movl $-14,%eax
189 > c017e787 <do_con_write+c3> movl 0xc01c7bec,%eax
190 > c017e78c <do_con_write+c8> cmpl $0x18,0x314(%eax)
194 > c017e79f <do_con_write+db> movl %edx,%eax
206 > c0199ff5 <.fixup+10b5> movl $0xfffffff2,%eax
232 3: movl $-14,%eax
246 the original assembly code: > 3: movl $-14,%eax
[all …]
/linux-4.4.14/arch/x86/pci/
Dpcbios.c129 u32 signature, eax, ebx, ecx; in check_pcibios() local
143 "=a" (eax), in check_pcibios()
151 status = (eax >> 8) & 0xff; in check_pcibios()
152 hw_mech = eax & 0xff; in check_pcibios()
Dxen.c442 uint32_t eax = cpuid_eax(xen_cpuid_base() + 4); in xen_msi_init() local
444 if (((eax & XEN_HVM_CPUID_X2APIC_VIRT) && x2apic_mode) || in xen_msi_init()
445 ((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && cpu_has_apic)) in xen_msi_init()
/linux-4.4.14/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c139 unsigned int eax, ebx, ecx, edx, max_level; in validate_cpuid() local
142 eax = ebx = ecx = edx = 0; in validate_cpuid()
176 asm("cpuid" : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) : "a" (6)); in validate_cpuid()
/linux-4.4.14/drivers/input/misc/
Dwistron_btns.c69 u32 eax, ebx, ecx; member
82 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios()
83 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios()
164 regs.eax = 0x9610; in bios_pop_queue()
169 return regs.eax; in bios_pop_queue()
177 regs.eax = 0x9610; in bios_attach()
187 regs.eax = 0x9610; in bios_detach()
197 regs.eax = 0x9610; in bios_get_cmos_address()
209 regs.eax = 0x9610; in bios_get_default_setting()
213 return regs.eax; in bios_get_default_setting()
[all …]
/linux-4.4.14/arch/x86/include/asm/fpu/
Dinternal.h677 u32 eax, edx; in xgetbv() local
680 : "=a" (eax), "=d" (edx) in xgetbv()
682 return eax + ((u64)edx << 32); in xgetbv()
687 u32 eax = value; in xsetbv() local
691 : : "a" (eax), "d" (edx), "c" (index)); in xsetbv()
/linux-4.4.14/Documentation/trace/
Dtracepoint-analysis.txt304 0.00 : 34eeb: 0f 18 08 prefetcht0 (%eax)
310 12.40 : 34eee: 66 0f 7f 80 40 ff ff movdqa %xmm0,-0xc0(%eax)
312 12.40 : 34ef6: 66 0f 7f 80 50 ff ff movdqa %xmm0,-0xb0(%eax)
314 12.39 : 34efe: 66 0f 7f 80 60 ff ff movdqa %xmm0,-0xa0(%eax)
316 12.67 : 34f06: 66 0f 7f 80 70 ff ff movdqa %xmm0,-0x90(%eax)
318 12.58 : 34f0e: 66 0f 7f 40 80 movdqa %xmm0,-0x80(%eax)
319 12.31 : 34f13: 66 0f 7f 40 90 movdqa %xmm0,-0x70(%eax)
320 12.40 : 34f18: 66 0f 7f 40 a0 movdqa %xmm0,-0x60(%eax)
321 12.31 : 34f1d: 66 0f 7f 40 b0 movdqa %xmm0,-0x50(%eax)
/linux-4.4.14/Documentation/
Dstatic-keys.txt207 ffffffff810442c7: 31 c0 xor %eax,%eax
214 ffffffff810441f0: 8b 05 8a 52 d8 00 mov 0xd8528a(%rip),%eax # ffffffff81dc948…
217 ffffffff810441fa: 85 c0 test %eax,%eax
229 ffffffff8104422c: 31 c0 xor %eax,%eax
DBUG-HUNTING192 > mov 0x13c(%ebx), %eax ! %eax = inet_sk(sk)->opt
Doops-tracing.txt203 Aug 29 09:51:01 blizard kernel: eax: 315e97cc ebx: 003a6f80 ecx: 001be77b edx: 00237c0c
/linux-4.4.14/include/uapi/linux/
Dtoshiba.h38 unsigned int eax; member
/linux-4.4.14/arch/x86/crypto/sha-mb/
DMakefile5 avx2_supported := $(call as-instr,vpgatherdd %ymm0$(comma)(%eax$(comma)%ymm1\
Dsha1_mb_mgr_submit_avx2.S87 DWORD_len = %eax
/linux-4.4.14/arch/x86/include/uapi/asm/
Dptrace.h24 long eax; member
Dvm86.h72 long eax; member
Dkvm.h194 __u32 eax; member
212 __u32 eax; member
Dsigcontext.h311 __u32 eax; member
/linux-4.4.14/include/uapi/video/
Duvesafb.h13 __u32 eax; member
/linux-4.4.14/scripts/
Dmarkup_oops.pl53 $regs{"%eax"} = $1;
64 $regs{"%eax"} = $1;
/linux-4.4.14/arch/s390/kvm/
Dgaccess.c367 int eax, rc; in ar_translation() local
423 eax = (vcpu->arch.sie_block->gcr[8] >> 16) & 0xffff; in ar_translation()
424 if (ale.aleax != eax) { in ar_translation()
425 if (eax / 16 > aste.atl) in ar_translation()
428 authority_table_addr = aste.ato * 4 + eax / 4; in ar_translation()
436 if ((authority_table & (0x40 >> ((eax & 3) * 2))) == 0) in ar_translation()
/linux-4.4.14/arch/x86/include/asm/xen/
Dinterface_32.h55 uint32_t eax; member
/linux-4.4.14/tools/perf/Documentation/
Dexamples.txt203 0.00 : 31a2e95602: b8 38 00 00 00 mov $0x38,%eax
207 0.00 : 31a2e95615: 85 c0 test %eax,%eax
/linux-4.4.14/tools/lguest/
Dlguest.c1551 case 0: return getreg(eax) & mask; in getreg_num()
1578 case 0: setreg(eax, val | (getreg(eax) & ~mask)); return; in setreg_num()
1618 unsigned int eax, port, mask; in emulate_insn() local
1699 eax = getreg(eax); in emulate_insn()
1711 eax &= ~mask; in emulate_insn()
1713 eax |= val & mask; in emulate_insn()
1715 setreg(eax, eax); in emulate_insn()
1718 if (!pci_addr_iowrite(port, mask, eax)) in emulate_insn()
1721 if (!pci_data_iowrite(port, mask, eax)) in emulate_insn()
1729 in ? "IN" : "OUT", mask, port, eax); in emulate_insn()
/linux-4.4.14/tools/perf/arch/x86/util/
Ddwarf-regs.c67 REG_OFFSET_NAME_32("%ax", eax),
Dintel-pt.c283 unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; in intel_pt_tsc_ctc_ratio() local
285 __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); in intel_pt_tsc_ctc_ratio()
287 *d = eax; in intel_pt_tsc_ctc_ratio()
/linux-4.4.14/drivers/platform/x86/
Dacer-wmi.c627 u32 eax; member
634 u32 eax; member
728 args.eax = ACER_AMW0_WRITE; in AMW0_set_u32()
772 args.eax = 0x86; in AMW0_find_mailled()
843 args.eax = ACER_AMW0_WRITE; in AMW0_set_capabilities()
862 if (ret.eax & 0x1) in AMW0_set_capabilities()
885 if (ret.eax & 0x1) in AMW0_set_capabilities()
Dtoshiba_acpi.c2174 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge()
2186 regs->eax = out[0]; in toshiba_acpi_smm_bridge()
2220 if (regs.eax != SCI_GET && regs.eax != SCI_SET) in toshiba_acpi_ioctl()
/linux-4.4.14/drivers/acpi/
Dacpi_pad.c43 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local
53 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init()
/linux-4.4.14/arch/x86/
DMakefile171 asinstr += $(call as-instr,crc32l %eax$(comma)%eax,-DCONFIG_AS_CRC32=1)
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_xs.c667 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local
670 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk()
672 if ((eax >> 16) < 4) in xen_strict_xenbus_quirk()
/linux-4.4.14/drivers/xen/
Dxen-acpi-processor.c448 u32 eax, ebx, ecx, edx; in check_prereq() local
449 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_prereq()
/linux-4.4.14/Documentation/networking/
Dfilter.txt501 25: cmp $0x800,%eax
505 36: cmp $0x1,%eax
507 3b: mov $0xffff,%eax
509 42: xor %eax,%eax
537 25: cmp $0x800,%eax
545 36: cmp $0x1,%eax
549 3b: mov $0xffff,%eax
553 42: xor %eax,%eax
/linux-4.4.14/Documentation/zh_CN/
Doops-tracing.txt167 Aug 29 09:51:01 blizard kernel: eax: 315e97cc ebx: 003a6f80 ecx: 001be77b edx: 00237c0c
/linux-4.4.14/tools/power/x86/turbostat/
Dturbostat.c2678 unsigned int eax, ebx, ecx, edx, max_level; in process_cpuid() local
2681 eax = ebx = ecx = edx = 0; in process_cpuid()
2720 __get_cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in process_cpuid()
2729 __get_cpuid(0x6, &eax, &ebx, &ecx, &edx); in process_cpuid()
2731 do_dts = eax & (1 << 0); in process_cpuid()
2732 do_ptm = eax & (1 << 6); in process_cpuid()
/linux-4.4.14/arch/x86/ia32/
Dia32_aout.c86 dump->regs.eax = regs->ax; in dump_thread32()
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorchipset.c2391 unsigned int eax, ebx, ecx, edx; in visorutil_spar_detect() local
2395 cpuid(UNISYS_SPAR_LEAF_ID, &eax, &ebx, &ecx, &edx); in visorutil_spar_detect()
/linux-4.4.14/
DREADME340 eax: xxxxxxxx ebx: xxxxxxxx ecx: xxxxxxxx edx: xxxxxxxx
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1228 # define SYSCALL_RET eax

12