Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 182 of 182) sorted by relevance

/linux-4.4.14/arch/x86/math-emu/
Dreg_round.S124 movl PARAM4,%ecx
144 movl %ecx,%esi
145 andl CW_PC,%ecx
146 cmpl PR_64_BITS,%ecx
149 cmpl PR_53_BITS,%ecx
152 cmpl PR_24_BITS,%ecx
158 cmpl PR_RESERVED_BITS,%ecx
172 movl %esi,%ecx
173 andl CW_RC,%ecx
174 cmpl RC_RND,%ecx
[all …]
Dwm_sqrt.S90 movl SIGL(%esi),%ecx
99 rcrl $1,%ecx
107 movl %ecx,FPU_fsqrt_arg_1
113 movl $0xaaaaaaaa,%ecx
114 mull %ecx
127 movl FPU_fsqrt_arg_2,%ecx /* ms word */
136 shrl %ecx /* Doing this first will prevent a divide */
139 movl %ecx,%edx /* msw of the arg / 2 */
144 movl %ecx,%edx
149 movl %ecx,%edx
[all …]
Dmul_Xsig.S34 movl PARAM2,%ecx
41 mull %ecx /* msl of b */
45 mull %ecx /* msl of b */
51 mull %ecx /* msl of b */
74 movl PARAM2,%ecx
81 mull 4(%ecx) /* msl of b */
85 mull (%ecx) /* lsl of b */
91 mull 4(%ecx) /* msl of b */
97 mull (%ecx) /* lsl of b */
103 mull 4(%ecx) /* msl of b */
[all …]
Dreg_u_sub.S45 movl PARAM6,%ecx
46 subl PARAM7,%ecx /* exp1 - exp2 */
155 xorl %ecx,%ecx
156 subl %edx,%ecx
157 movl %ecx,%edx
158 movl SIGL(%esi),%ecx
159 sbbl %ebx,%ecx
160 movl %ecx,%ebx
161 movl SIGH(%esi),%ecx
162 sbbl %eax,%ecx
[all …]
Dreg_u_div.S120 movl SIGH(%ebx),%ecx /* The divisor */
124 cmpl %ecx,%edx
128 subl %ecx,%edx /* Prevent the overflow */
132 divl %ecx
137 divl %ecx
142 divl %ecx
218 movl SIGH(%ebx),%ecx
219 addl $1,%ecx
228 divl %ecx /* Divide the numerator by the augmented
295 cmpl $0,%ecx /* augmented denom msw */
[all …]
Dround_Xsig.S51 bsrl %edx,%ecx /* get the required shift in %ecx */
52 subl $31,%ecx
53 negl %ecx
54 subl %ecx,-4(%ebp)
122 bsrl %edx,%ecx /* get the required shift in %ecx */
123 subl $31,%ecx
124 negl %ecx
125 subl %ecx,-4(%ebp)
Dreg_u_mul.S68 xorl %ecx,%ecx
86 adcl $0,%ecx
91 adcl %edx,%ecx
111 testl $0x80000000,%ecx
118 rcll $1,%ecx
130 movl %ecx,%eax
Dwm_shrx.S39 movl PARAM2,%ecx
41 cmpl $32,%ecx /* shrd only works for 0..31 bits */
60 cmpl $64,%ecx
75 cmpl $96,%ecx
118 movl PARAM2,%ecx
120 cmpl $64,%ecx /* shrd only works for 0..31 bits */
123 cmpl $32,%ecx /* shrd only works for 0..31 bits */
168 cmpl $96,%ecx
Dreg_norm.S47 bsrl %edx,%ecx /* get the required shift in %ecx */
48 subl $31,%ecx
49 negl %ecx
124 bsrl %edx,%ecx /* get the required shift in %ecx */
125 subl $31,%ecx
126 negl %ecx
Ddiv_small.S28 movl PARAM2,%ecx /* The denominator */
32 divl %ecx
37 divl %ecx
Dshr_Xsig.S28 movl PARAM2,%ecx
30 cmpl $32,%ecx /* shrd only works for 0..31 bits */
50 cmpl $64,%ecx
66 cmpl $96,%ecx
Ddiv_Xsig.S136 movl XsigH(%ebx),%ecx
137 addl $1,%ecx
146 divl %ecx /* Divide the numerator by the augmented
213 cmpl $0,%ecx /* augmented denom msw */
221 divl %ecx /* Divide the numerator by the denom ms dw */
Dreg_u_add.S44 movl PARAM6,%ecx
45 movl %ecx,%edx
46 subl PARAM7,%ecx /* exp1 - exp2 */
/linux-4.4.14/arch/x86/crypto/
Dsalsa20-i586-asm_32.S41 movl 4(%edx),%ecx
49 movl %ecx,168(%esp)
51 movl 16(%edx),%ecx
61 movl %ecx,180(%esp)
63 movl 28(%edx),%ecx
73 movl %ecx,192(%esp)
75 movl 40(%edx),%ecx
85 movl %ecx,204(%esp)
87 movl 52(%edx),%ecx
97 movl %ecx,216(%esp)
[all …]
Dcrc32-pclmul_asm.S89 #define CRC %ecx
118 pop %ecx
126 movdqa .Lconstant_R2R1 - delta(%ecx), CONSTANT
175 movdqa .Lconstant_R4R3 - delta(%ecx), CONSTANT
223 movdqa .Lconstant_R5 - delta(%ecx), CONSTANT
224 movdqa .Lconstant_mask32 - delta(%ecx), %xmm3
235 movdqa .Lconstant_RUpoly - delta(%ecx), CONSTANT
Dtwofish-i586-asm_32.S56 #define R2D %ecx
235 mov c_offset(%edi), %ecx
240 input_whitening(%ecx,%ebp,c_offset)
263 output_whitening(%ecx,%ebp,a_offset)
268 mov %ecx, (%edi)
292 mov c_offset(%edi), %ecx
297 output_whitening(%ecx,%ebp,c_offset)
299 rol $1, %ecx
320 input_whitening(%ecx,%ebp,a_offset)
325 mov %ecx, (%edi)
Dchacha20-ssse3-x86_64.S48 mov $10,%ecx
118 dec %ecx
202 mov $10,%ecx
421 dec %ecx
Dblowfish-x86_64-asm_64.S46 #define RX2d %ecx
Dsha1_ssse3_asm.S37 #define REG_A %ecx
97 mov $8, %ecx
Dsalsa20-x86_64-asm_64.S601 addl 64(%rsp),%ecx
854 movl %ecx,40(%rdi)
883 movl %ecx,40(%rdi)
Daes-x86_64-asm_64.S32 #define R3E %ecx
Dchacha20-avx2-x86_64.S77 mov $10,%ecx
264 dec %ecx
Dtwofish-x86_64-asm_64-3way.S48 #define RAB2d %ecx
Daes-i586-asm_32.S58 #define r2 ecx
Dtwofish-x86_64-asm_64.S53 #define R2D %ecx
Dcamellia-x86_64-asm_64.S63 #define RCD0d %ecx
Dsha1_avx2_x86_64_asm.S78 #define REG_A %ecx
Ddes3_ede-asm_64.S56 #define RW2d %ecx
Dsha256-ssse3-asm.S95 c = %ecx
Dsha256-avx-asm.S103 c = %ecx
Daesni-intel_asm.S148 #define T1 %ecx
2681 movl $0, %ecx
2685 cmovel %r10d, %ecx
Dsha256-avx2-asm.S96 c = %ecx
/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()
71 unsigned long ecx) 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 …]
Dvirtext.h30 unsigned long ecx = cpuid_ecx(1); in cpu_has_vmx() local
31 return test_bit(5, &ecx); /* CPUID.1:ECX.VMX[bit 5] -> VT */ in cpu_has_vmx()
86 uint32_t eax, ebx, ecx, edx; in cpu_has_svm() local
94 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in cpu_has_svm()
101 cpuid(0x80000001, &eax, &ebx, &ecx, &edx); in cpu_has_svm()
102 if (!(ecx & (1 << SVM_CPUID_FEATURE_SHIFT))) { in cpu_has_svm()
Dprocessor.h197 unsigned int *ecx, unsigned int *edx) in native_cpuid() argument
203 "=c" (*ecx), in native_cpuid()
205 : "0" (*eax), "2" (*ecx) in native_cpuid()
503 unsigned int *ecx, unsigned int *edx) in cpuid() argument
506 *ecx = 0; in cpuid()
507 __cpuid(eax, ebx, ecx, edx); in cpuid()
513 unsigned int *ecx, unsigned int *edx) in cpuid_count() argument
516 *ecx = count; in cpuid_count()
517 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
525 unsigned int eax, ebx, ecx, edx; in cpuid_eax() local
[all …]
Dmicrocode.h94 #define CPUID_IS(a, b, c, ebx, ecx, edx) \ argument
95 (!((ebx ^ (a))|(edx ^ (b))|(ecx ^ (c))))
109 u32 ebx, ecx = 0, edx; in x86_vendor() local
111 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_vendor()
113 if (CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx)) in x86_vendor()
116 if (CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx)) in x86_vendor()
137 u32 ebx, ecx = 0, edx; in x86_family() local
139 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_family()
Dasm.h69 movl %edi,%ecx
70 andl $7,%ecx
72 subl $8,%ecx
73 negl %ecx
74 subl %ecx,%edx
79 decl %ecx
83 103: addl %ecx,%edx /* ecx is zerorest also */
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()
Dirqflags.h184 pushl %ecx; \
188 popl %ecx; \
Dswitch_to.h40 unsigned long ebx, ecx, edx, esi, edi; \
60 "=b" (ebx), "=c" (ecx), "=d" (edx), \
Dparavirt.h36 unsigned int *ecx, unsigned int *edx) in __cpuid() argument
38 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
902 COND_PUSH(set, CLBR_ECX, ecx); \
906 COND_POP(set, CLBR_ECX, ecx); \
938 push %ecx; push %edx; \
940 pop %edx; pop %ecx
Dlguest.h33 unsigned long eax, ebx, ecx, edx; member
Duser32.h36 __u32 ebx, ecx, edx, esi, edi, ebp, eax; member
Dstring_32.h90 int ecx; in __constant_memcpy() local
92 : "=&c" (ecx), "=&D" (edi), "=&S" (esi) in __constant_memcpy()
Dinst.h22 .ifc \r32,%ecx
Dkvm_emulate.h222 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
Dparavirt_types.h156 unsigned int *ecx, unsigned int *edx);
/linux-4.4.14/arch/x86/lib/
Datomic64_cx8_32.S17 movl %ecx, %edx
24 read64 %ecx
56 movl %ecx, %ebp
58 read64 %ecx
61 movl %edx, %ecx
63 \insc\()l %edi, %ecx
70 movl %ecx, %edx
89 movl %edx, %ecx
91 \insc\()l $0, %ecx
98 movl %ecx, %edx
[all …]
Dcopy_user_64.S52 movl %edx,%ecx
80 movl %edx,%ecx
82 shrl $6,%ecx
102 decl %ecx
104 17: movl %edx,%ecx
106 shrl $3,%ecx
112 decl %ecx
116 movl %edx,%ecx
121 decl %ecx
128 30: shll $6,%ecx
[all …]
Dchecksum_32.S55 movl 16(%esp),%ecx # Function arg: int len
63 dec %ecx
72 subl $2, %ecx # Alignment uses up two bytes.
74 addl $2, %ecx # ecx was < 2. Deal with it.
81 movl %ecx, %edx
82 shrl $5, %ecx
102 dec %ecx
105 2: movl %edx, %ecx
114 4: andl $3, %ecx
116 cmpl $2, %ecx
[all …]
Dcsum-copy_64.S63 movl %ecx, %eax
64 movl %edx, %ecx
142 movl %ecx, %r10d
143 andl $63, %ecx
144 shrl $3, %ecx
152 decl %ecx
169 movl %r10d, %ecx
170 andl $7, %ecx
171 shrl $1, %ecx
181 decl %ecx
Datomic64_386_32.S43 #define v %ecx
53 movl %ecx, 4(v)
62 movl %ecx, 4(v)
66 #define v %ecx
73 #define v %ecx
82 #define v %ecx
89 #define v %ecx
139 addl %eax, %ecx
143 cmpl %eax, %ecx
Dmemset_64.S40 movl %edx,%ecx
71 movzbl %sil,%ecx
103 movl %edx,%ecx
104 andl $63&(~7),%ecx
106 shrl $3,%ecx
109 decl %ecx
Dclear_page_64.S21 movl $4096/8,%ecx
30 movl $4096/64,%ecx
33 decl %ecx
50 movl $4096,%ecx
Dcopy_page_64.S16 movl $4096/8, %ecx
26 movl $(4096/64)-5, %ecx
55 movl $5, %ecx
58 decl %ecx
Dmsr-reg.S20 movl 4(%rdi), %ecx
29 movl %ecx, 4(%r10)
56 movl 4(%eax), %ecx
68 movl %ecx, 4(%eax)
Dmemcpy_64.S37 movl %edx, %ecx
156 movl (%rsi), %ecx
158 movl %ecx, (%rdi)
168 movzbl (%rsi), %ecx
Dgetuser.S94 5: movl -3(%_ASM_AX),%ecx
112 xor %ecx,%ecx
Drwsem.S36 pushl %ecx
39 popl %ecx
Diomap_copy_64.S24 movl %edx,%ecx
/linux-4.4.14/arch/x86/boot/compressed/
Defi_stub_32.S49 popl %ecx
50 movl %ecx, saved_return_addr(%edx)
52 popl %ecx
53 movl %ecx, efi_rt_function_ptr(%edx)
58 call *%ecx
70 movl efi_rt_function_ptr(%edx), %ecx
71 pushl %ecx
76 movl saved_return_addr(%edx), %ecx
77 pushl %ecx
Dhead_32.S50 popl %ecx
51 movl %ecx, efi32_config(%esi) /* Handle */
52 popl %ecx
53 movl %ecx, efi32_config+8(%esi) /* EFI System table pointer */
64 popl %ecx
66 pushl %ecx
71 popl %ecx
78 movl %ecx, efi32_config(%esi) /* Handle */
167 movl $(_bss - startup_32), %ecx
168 shrl $2, %ecx
[all …]
Dhead_64.S127 movl $((4096*6)/4), %ecx
138 movl $4, %ecx
142 decl %ecx
148 movl $2048, %ecx
152 decl %ecx
160 movl $MSR_EFER, %ecx
204 popl %ecx
213 movl %ecx, efi32_config(%ebp)
411 movl $z_input_len, %ecx /* input_len */
Defi_thunk_64.S49 movl %ecx, 0x8(%rsp)
89 movl %eax, %ecx
90 andl $0x0fffffff, %ecx
130 movl $MSR_EFER, %ecx
157 movl $MSR_EFER, %ecx
/linux-4.4.14/arch/x86/um/
Dchecksum_32.S56 movl 16(%esp),%ecx # Function arg: int len
60 subl $2, %ecx # Alignment uses up two bytes.
62 addl $2, %ecx # ecx was < 2. Deal with it.
69 movl %ecx, %edx
70 shrl $5, %ecx
90 dec %ecx
93 2: movl %edx, %ecx
102 4: andl $3, %ecx
104 cmpl $2, %ecx
109 shll $16,%ecx
[all …]
Dsetjmp_32.S27 popl %ecx # Return address, and adjust the stack
31 pushl %ecx # Make the call/return stack happy
35 movl %ecx,20(%edx) # Return address
Dstub_32.S31 pop %ecx
/linux-4.4.14/arch/x86/realmode/rm/
Dreboot.S38 movl $MSR_EFER, %ecx
58 movl $16, %ecx
59 movl %ecx, %ds
60 movl %ecx, %es
61 movl %ecx, %fs
62 movl %ecx, %gs
63 movl %ecx, %ss
95 xorl %ecx, %ecx
100 movl %ecx, %cr3
Dwakeup_asm.S102 movl $MSR_IA32_MISC_ENABLE, %ecx
122 movl $MSR_EFER, %ecx
130 movl pmode_cr0, %ecx
131 movl %ecx, %cr0
/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()
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()
80 uint32_t eax, ebx, ecx, edx; in vmware_platform_setup() local
82 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx); in vmware_platform_setup()
134 uint32_t eax, ebx, ecx, edx; in vmware_legacy_x2apic_available() local
135 VMWARE_PORT(GETVCPU_INFO, eax, ebx, ecx, edx); in vmware_legacy_x2apic_available()
Dtopology.c20 #define LEAFB_SUBTYPE(ecx) (((ecx) >> 8) & 0xff) 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()
45 if (ebx == 0 || (LEAFB_SUBTYPE(ecx) != SMT_TYPE)) in detect_extended_topology()
63 cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
68 if (LEAFB_SUBTYPE(ecx) == CORE_TYPE) { in detect_extended_topology()
75 } while (LEAFB_SUBTYPE(ecx) != INVALID_TYPE); in detect_extended_topology()
Damd.c308 u32 eax, ebx, ecx, edx; in amd_get_topology() local
310 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_get_topology()
311 nodes_per_socket = ((ecx >> 8) & 7) + 1; in amd_get_topology()
312 node_id = ecx & 7; in amd_get_topology()
451 unsigned bits, ecx; in early_init_amd_mc() local
457 ecx = cpuid_ecx(0x80000008); in early_init_amd_mc()
459 c->x86_max_cores = (ecx & 0xff) + 1; in early_init_amd_mc()
462 bits = (ecx >> 12) & 0xF; in early_init_amd_mc()
785 u32 ebx, eax, ecx, edx; in cpu_detect_tlb_amd() local
794 cpuid(0x80000006, &eax, &ebx, &ecx, &edx); in cpu_detect_tlb_amd()
[all …]
Dintel_cacheinfo.c155 union _cpuid4_leaf_ecx ecx; member
226 union _cpuid4_leaf_ecx *ecx) in amd_cpuid4() argument
237 ecx->full = 0; in amd_cpuid4()
290 ecx->split.number_of_sets = (size_in_kb * 1024) / line_size / in amd_cpuid4()
590 union _cpuid4_leaf_ecx ecx; in cpuid4_cache_lookup_regs() local
596 &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup_regs()
598 amd_cpuid4(index, &eax, &ebx, &ecx); in cpuid4_cache_lookup_regs()
601 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup_regs()
609 this_leaf->ecx = ecx; in cpuid4_cache_lookup_regs()
610 this_leaf->size = (ecx.split.number_of_sets + 1) * in cpuid4_cache_lookup_regs()
[all …]
Dcommon.c433 unsigned int n, dummy, ebx, ecx, edx, l2size; in cpu_detect_cache_sizes() local
438 cpuid(0x80000005, &dummy, &ebx, &ecx, &edx); in cpu_detect_cache_sizes()
439 c->x86_cache_size = (ecx>>24) + (edx>>24); in cpu_detect_cache_sizes()
449 cpuid(0x80000006, &dummy, &ebx, &ecx, &edx); in cpu_detect_cache_sizes()
450 l2size = ecx >> 16; in cpu_detect_cache_sizes()
495 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
[all …]
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()
365 uncore->id = ecx & 0xff; in amd_uncore_cpu_starting()
376 cpuid_count(0x8000001d, 2, &eax, &ebx, &ecx, &edx); in amd_uncore_cpu_starting()
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()
/linux-4.4.14/arch/x86/boot/
Dcpucheck.c125 u32 ecx = MSR_K7_HWCR; in check_cpu() local
128 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
130 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
140 u32 ecx = MSR_VIA_FCR; in check_cpu() local
143 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
145 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
152 u32 ecx = 0x80860004; in check_cpu() local
156 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
157 asm("wrmsr" : : "a" (~0), "d" (edx), "c" (ecx)); in check_cpu()
161 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
Dpmjump.S53 movl %ecx, %ds
54 movl %ecx, %es
55 movl %ecx, %fs
56 movl %ecx, %gs
57 movl %ecx, %ss
67 xorl %ecx, %ecx
Dmain.c97 boot_params.ist_info.event = oreg.ecx; in query_ist()
Dboot.h239 u32 ecx; member
/linux-4.4.14/arch/x86/platform/efi/
Defi_stub_32.S53 popl %ecx
54 movl %ecx, efi_rt_function_ptr
76 jmp *%ecx
106 movl (%edx), %ecx
107 pushl %ecx
113 movl (%edx), %ecx
114 pushl %ecx
Defi_thunk_64.S80 movl %ecx, 0x8(%rsp)
109 movl %eax, %ecx
110 andl $0x0fffffff, %ecx
/linux-4.4.14/drivers/char/
Dtoshiba.c136 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
140 ecx = regs->ecx & 0xffff; in tosh_emulate_fan()
152 regs->ecx = (unsigned int) (al & 0x01); in tosh_emulate_fan()
154 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
163 regs->ecx = 0x00; in tosh_emulate_fan()
165 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
174 regs->ecx = 0x01; in tosh_emulate_fan()
188 regs->ecx = al & 0x01; in tosh_emulate_fan()
190 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
198 regs->ecx = 0x00; in tosh_emulate_fan()
[all …]
/linux-4.4.14/arch/x86/kernel/
Dhead_32.S97 movl pa(stack_start),%ecx
115 leal -__PAGE_OFFSET(%ecx),%esp
123 movl $pa(__bss_stop),%ecx
124 subl %edi,%ecx
125 shrl $2,%ecx
136 movl $(PARAM_SIZE/4),%ecx
144 movl $(COMMAND_LINE_SIZE/4),%ecx
186 leal PDE_IDENT_ATTR(%edi),%ecx /* Create PMD entry */
187 movl %ecx,(%edx) /* Store PMD entry */
190 movl $512,%ecx
[all …]
Drelocate_kernel_32.S64 movl 20+16(%esp), %ecx /* cpu_has_pae */
120 testl %ecx, %ecx
160 xorl %ecx, %ecx
217 movl 4(%esp), %ecx
222 movl %ecx, %ebx
226 movl (%ebx), %ecx
231 movl %ecx, %edi
237 movl %ecx, %ebx
247 movl %ecx, %esi /* For every source page do a copy */
254 movl $1024, %ecx
[all …]
Dverify_cpu.S64 cmpl $0x444d4163,%ecx
74 cmpl $0x6c65746e,%ecx
81 movl %eax, %ecx
89 andl $0x000f00f0, %ecx # mask model and extended model
90 shrl $4, %ecx
91 cmpl $0xd, %ecx
95 movl $MSR_IA32_MISC_ENABLE, %ecx
127 movl $MSR_K7_HWCR,%ecx
Drelocate_kernel_64.S156 xorl %ecx, %ecx
249 movl $512, %ecx
254 movl $512, %ecx
259 movl $512, %ecx
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()
98 cmd.ecx = pos >> 32; in cpuid_read()
Dhead_64.S133 incl %ecx
140 decl %ecx
187 movl $(X86_CR4_PAE | X86_CR4_PGE), %ecx
205 movl $MSR_EFER, %ecx
258 movl $MSR_GS_BASE,%ecx
Dapm_32.c576 u32 ecx; member
617 apm_bios_call_asm(call->func, call->ebx, call->ecx, in __apm_bios_call()
618 &call->eax, &call->ebx, &call->ecx, &call->edx, in __apm_bios_call()
693 error = apm_bios_call_simple_asm(call->func, call->ebx, call->ecx, in __apm_bios_call_simple()
724 call.ecx = ecx_in; in apm_bios_call_simple()
780 call.ebx = call.ecx = 0; in apm_get_event()
789 *info = call.ecx; in apm_get_event()
1041 call.ecx = 0; in apm_get_power_status()
1048 *bat = call.ecx; in apm_get_power_status()
1063 u32 ecx;
[all …]
Dsmpboot.c1448 unsigned int eax, ebx, ecx, edx; in mwait_play_dead() local
1462 ecx = 0; in mwait_play_dead()
1463 native_cpuid(&eax, &ebx, &ecx, &edx); in mwait_play_dead()
1469 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED)) { in mwait_play_dead()
Dvm86_32.c124 put_user_ex(regs->pt.cx, &user->regs.ecx); in save_v86_state()
279 get_user_ex(vm86regs.pt.cx, &user_vm86->regs.ecx); in do_sys_vm86()
Dptrace.c962 R32(ecx, cx); in putreg32()
1032 R32(ecx, cx); in getreg32()
/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()
169 u32 eax, ebx, ecx, edx; in longrun_determine_freqs() local
216 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
219 for (try_hi = 80; try_hi > 0 && ecx > 90; try_hi -= 10) { 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()
240 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ 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-k7.c121 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local
141 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
Dpowernow-k8.c467 u32 eax, ebx, ecx, edx; in check_supported_cpu() local
487 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
/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()
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()
374 return !!(ecx & 2); 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()
412 u32 eax, ebx, ecx, edx; in __xstate_dump_leaves() local
[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()
72 best->ecx &= ~F(OSXSAVE); in kvm_update_cpuid()
74 best->ecx |= F(OSXSAVE); in kvm_update_cpuid()
78 if (best->ecx & F(TSC_DEADLINE_TIMER)) in kvm_update_cpuid()
185 vcpu->arch.cpuid_entries[i].ecx = cpuid_entries[i].ecx; in kvm_vcpu_ioctl_set_cpuid()
257 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
270 entry->ecx = F(MOVBE); in __do_cpuid_ent_emulated()
375 entry->ecx &= kvm_supported_word4_x86_features; in __do_cpuid_ent()
376 cpuid_mask(&entry->ecx, 4); in __do_cpuid_ent()
[all …]
Dcpuid.h21 void kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
38 return best && (best->ecx & bit(X86_FEATURE_XSAVE)); in guest_cpuid_has_xsave()
94 return best && (best->ecx & bit(X86_FEATURE_OSVW)); in guest_cpuid_has_osvw()
102 return best && (best->ecx & bit(X86_FEATURE_PCID)); in guest_cpuid_has_pcid()
110 return best && (best->ecx & bit(X86_FEATURE_X2APIC)); in guest_cpuid_has_x2apic()
Dtrace.h323 TP_PROTO(unsigned write, u32 ecx, u64 data, bool exception),
324 TP_ARGS(write, ecx, data, exception),
328 __field( u32, ecx )
335 __entry->ecx = ecx;
342 __entry->ecx, __entry->data,
346 #define trace_kvm_msr_read(ecx, data) trace_kvm_msr(0, ecx, data, false) argument
347 #define trace_kvm_msr_write(ecx, data) trace_kvm_msr(1, ecx, data, false) argument
348 #define trace_kvm_msr_read_ex(ecx) trace_kvm_msr(0, ecx, 0, true) argument
349 #define trace_kvm_msr_write_ex(ecx, data) trace_kvm_msr(1, ecx, data, true) argument
Dtss.h16 u32 ecx; member
Demulate.c346 FOP1E(op, ecx) \
355 FOP1EEX(op, ecx) \
2264 u32 eax, ebx, ecx, edx; in emulator_has_longmode() local
2267 ecx = 0; 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
2570 eax = ecx = 0; in vendor_intel()
2571 ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx); in vendor_intel()
2573 && ecx == X86EMUL_CPUID_VENDOR_GenuineIntel_ecx in vendor_intel()
2580 u32 eax, ebx, ecx, edx; in em_syscall_is_enabled() local
[all …]
Dsvm.c3064 u32 ecx = kvm_register_read(&svm->vcpu, VCPU_REGS_RCX); in rdmsr_interception() local
3067 msr_info.index = ecx; in rdmsr_interception()
3070 trace_kvm_msr_read_ex(ecx); in rdmsr_interception()
3073 trace_kvm_msr_read(ecx, msr_info.data); in rdmsr_interception()
3114 u32 ecx = msr->index; in svm_set_msr() local
3116 switch (ecx) { in svm_set_msr()
3170 vcpu_unimpl(vcpu, "unimplemented wrmsr: 0x%x data 0x%llx\n", ecx, data); in svm_set_msr()
3181 u32 ecx = kvm_register_read(&svm->vcpu, VCPU_REGS_RCX); in wrmsr_interception() local
3185 msr.index = ecx; in wrmsr_interception()
3190 trace_kvm_msr_write_ex(ecx, data); in wrmsr_interception()
[all …]
Dx86.c923 u32 ecx = kvm_register_read(vcpu, VCPU_REGS_RCX); in kvm_rdpmc() local
927 err = kvm_pmu_rdpmc(vcpu, ecx, &data); in kvm_rdpmc()
998 if (!feat || !(feat->ecx & bit(X86_FEATURE_SVM))) in kvm_valid_efer()
3060 u32 size, offset, ecx, edx; in fill_xsave() local
3062 &size, &offset, &ecx, &edx); in fill_xsave()
3098 u32 size, offset, ecx, edx; in load_xsave() local
3100 &size, &offset, &ecx, &edx); in load_xsave()
4948 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in emulator_get_cpuid() argument
4950 kvm_cpuid(emul_to_vcpu(ctxt), eax, ebx, ecx, edx); in emulator_get_cpuid()
Dvmx.c2468 return best && (best->ecx & (1 << (X86_FEATURE_VMX & 31))); in guest_cpuid_has_vmx()
5642 u32 ecx = vcpu->arch.regs[VCPU_REGS_RCX]; in handle_rdmsr() local
5645 msr_info.index = ecx; in handle_rdmsr()
5648 trace_kvm_msr_read_ex(ecx); in handle_rdmsr()
5653 trace_kvm_msr_read(ecx, msr_info.data); in handle_rdmsr()
5665 u32 ecx = vcpu->arch.regs[VCPU_REGS_RCX]; in handle_wrmsr() local
5670 msr.index = ecx; in handle_wrmsr()
5673 trace_kvm_msr_write_ex(ecx, data); in handle_wrmsr()
5678 trace_kvm_msr_write(ecx, data); in handle_wrmsr()
8986 entry->ecx |= bit(X86_FEATURE_VMX); in vmx_set_supported_cpuid()
Dlapic.c292 if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC & 31)))) in kvm_apic_set_version()
/linux-4.4.14/arch/x86/kernel/acpi/
Dcstate.c63 unsigned int ecx; 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()
98 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in acpi_processor_ffh_cstate_probe_cpu()
99 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) { in acpi_processor_ffh_cstate_probe_cpu()
132 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe()
140 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK; in acpi_processor_ffh_cstate_probe()
162 percpu_entry->states[cx->index].ecx); in acpi_processor_ffh_cstate_enter()
/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()
144 asm("cpuid" : "=a" (max_level), "=b" (ebx), "=c" (ecx), in validate_cpuid()
147 if (ebx != 0x756e6547 || edx != 0x49656e69 || ecx != 0x6c65746e) { in validate_cpuid()
150 (char *)&ebx, (char *)&edx, (char *)&ecx); in validate_cpuid()
154 asm("cpuid" : "=a" (fms), "=c" (ecx), "=d" (edx) : "a" (1) : "ebx"); in validate_cpuid()
176 asm("cpuid" : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) : "a" (6)); in validate_cpuid()
178 printf("CPUID.06H.ECX: 0x%x\n", ecx); in validate_cpuid()
179 if (!(ecx & (1 << 3))) { in validate_cpuid()
/linux-4.4.14/arch/x86/power/
Dhibernate_asm_32.S30 movl mmu_cr4_features, %ecx
36 andl $~(X86_CR4_PGE), %ecx
37 movl %ecx, %cr4; # turn off PGE
51 movl $1024, %ecx
64 movl mmu_cr4_features, %ecx
66 movl %ecx, %cr4; # turn PGE back on
/linux-4.4.14/lib/raid6/
Dx86.h54 u32 eax, ebx, ecx, edx; in boot_cpu_has() local
58 ecx = 0; in boot_cpu_has()
61 : "+a" (eax), "=b" (ebx), "=d" (edx), "+c" (ecx)); in boot_cpu_has()
64 (flag & 0x80) ? ecx : edx) >> (flag & 31)) & 1; in boot_cpu_has()
/linux-4.4.14/arch/x86/xen/
Dxen-asm_32.S29 push %ecx
33 pop %ecx
209 movl PT_CS(%esp), %ecx
210 andl $SEGMENT_RPL_MASK, %ecx
211 cmpl $USER_RPL, %ecx
231 mov $PT_EIP / 4, %ecx /* saved regs up to orig_eax */
Dxen-asm.S115 push %ecx
119 pop %ecx
Dxen-head.S71 mov $MSR_EFER, %ecx
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()
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()
1784 cpuid(base + 2, &pages, &msr, &ecx, &edx); in init_hvm_pv_info()
/linux-4.4.14/arch/x86/entry/vdso/vdso32/
Dsystem_call.S46 pushl %ecx
48 CFI_REL_OFFSET ecx, 0
82 popl %ecx
83 CFI_RESTORE ecx
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_synth.c197 int ecx; in vortex_wt_SetReg() local
273 ecx = WT_SRAMP(wt); in vortex_wt_SetReg()
276 ecx = WT_ARAMP(wt); in vortex_wt_SetReg()
279 ecx = WT_MRAMP(wt); in vortex_wt_SetReg()
282 ecx = WT_CTRL(wt); in vortex_wt_SetReg()
285 ecx = WT_DSREG(wt); in vortex_wt_SetReg()
293 hwwrite(vortex->mmio, ecx, val); in vortex_wt_SetReg()
340 int ecx = vol[1], eax = vol[0];
354 ecx = eax;
355 if (ecx < 0x80)
[all …]
/linux-4.4.14/arch/x86/entry/
Dentry_32.S167 pushl %ecx
179 popl %ecx
318 movl PT_OLDESP(%esp), %ecx /* pt_regs->sp */
746 pushl %ecx
751 movl function_trace_op, %ecx
760 popl %ecx
796 pushl %ecx
807 movl function_trace_op, %ecx /* Save ftrace_pos in 3rd parameter */
820 popl %ecx
858 pushl %ecx
[all …]
Dthunk_32.S15 pushl %ecx
25 popl %ecx
Dcalling.h219 pushl %ecx
225 popl %ecx
Dentry_64.S933 movl %ds, %ecx
936 movl %es, %ecx
939 movl %fs, %ecx
942 movl %gs, %ecx
1005 movl $MSR_GS_BASE, %ecx
1089 movl %ecx, %eax /* zero extend */
/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/tools/testing/selftests/x86/
Dthunks_32.S30 push %ecx
51 pop %ecx
Dunwind_vdso.c112 unsigned long ecx = _Unwind_GetGR(ctx, 1); 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()
Draw_syscall_helper_32.S11 movl 2*4(%eax), %ecx
25 movl %ecx, 2*4(%eax)
Dptrace_syscall.c31 # define user_arg1 ecx
/linux-4.4.14/tools/power/cpupower/utils/helpers/
Dcpuid.c26 unsigned int eax, ebx, ecx, edx; \
27 __cpuid(op, eax, ebx, ecx, edx); \
32 cpuid_func(ecx);
/linux-4.4.14/tools/power/cpupower/debug/i386/
Dintel_gsic.c46 printf("\tevent port = 0x%.8x\n", r.ecx); in main()
66 printf("ecx = 0x%.8x\n", r.ecx); in main()
/linux-4.4.14/drivers/idle/
Dintel_idle.c731 unsigned long ecx = 1; /* break on interrupt flag */ in intel_idle() local
749 mwait_idle_with_hints(eax, ecx); in intel_idle()
766 unsigned long ecx = 1; /* break on interrupt flag */ 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()
955 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in intel_idle_probe()
956 !(ecx & CPUID5_ECX_INTERRUPT_BREAK) || in intel_idle_probe()
1033 unsigned int eax, ebx, ecx, edx; in sklh_idle_state_table_update() local
1050 ecx = 0; in sklh_idle_state_table_update()
[all …]
/linux-4.4.14/Documentation/virtual/kvm/
Dcpuid.txt15 ecx = 0x564b4d56,
17 Note that this value in ebx, ecx and edx corresponds to the string "KVMKVMKVM".
26 returns : ebx, ecx, edx = 0
Dapi.txt530 __u32 ecx;
1225 __u32 ecx;
1251 index: the ecx value used to obtain the entry (for entries that are
1252 affected by ecx)
1263 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
1266 The TSC deadline timer feature (CPUID leaf 1, ecx[24]) is always returned
2757 __u32 ecx;
2786 index: the ecx value used to obtain the entry (for entries that are
2787 affected by ecx)
2798 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
/linux-4.4.14/arch/arm/boot/dts/
Decx-2000.dts24 compatible = "calxeda,ecx-2000";
89 compatible = "calxeda,ecx-2000-ddr-ctrl";
114 /include/ "ecx-common.dtsi"
Dhighbank.dts142 /include/ "ecx-common.dtsi"
DMakefile142 ecx-2000.dtb
/linux-4.4.14/drivers/hv/
Dhv.c58 unsigned int ecx; in query_hypervisor_info() local
69 ecx = 0; in query_hypervisor_info()
72 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
79 ecx = 0; in query_hypervisor_info()
82 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
85 host_info_ecx = ecx; in query_hypervisor_info()
/linux-4.4.14/drivers/thermal/
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()
193 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in find_target_mwait()
194 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in find_target_mwait()
446 unsigned long ecx = 1; in clamp_thread() local
455 mwait_idle_with_hints(eax, ecx); in clamp_thread()
Dx86_pkg_temp_thermal.c402 u32 eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local
406 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
/linux-4.4.14/drivers/hwmon/
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()
247 data->cpu_pwr_sample_ratio = ecx; in fam15h_power_init_data()
Ddell-smm-hwmon.c117 unsigned int ecx __packed;
/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()
55 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in power_saving_mwait_init()
56 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) in power_saving_mwait_init()
/linux-4.4.14/arch/x86/pci/
Dpcbios.c129 u32 signature, eax, ebx, ecx; in check_pcibios() local
145 "=c" (ecx) in check_pcibios()
156 pcibios_last_bus = ecx & 0xff; in check_pcibios()
/linux-4.4.14/drivers/lguest/x86/
Dswitcher_32.S175 popl %ecx
212 pushl %ecx; \
Dcore.c191 return &cpu->regs->ecx; in lguest_arch_regptr()
/linux-4.4.14/include/uapi/linux/
Dtoshiba.h40 unsigned int ecx __attribute__ ((packed)); member
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Dcalxeda-ddr-ctrlr.txt6 - "calxeda,ecx-2000-ddr-ctrl" for ECX-2000
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dcalxeda.txt15 - compatible = "calxeda,ecx-2000";
/linux-4.4.14/arch/x86/include/uapi/asm/
Dptrace.h19 long ecx; member
Dvm86.h67 long ecx; member
Dkvm.h196 __u32 ecx; member
214 __u32 ecx; member
Dsigcontext.h310 __u32 ecx; member
/linux-4.4.14/include/uapi/video/
Duvesafb.h8 __u32 ecx; member
/linux-4.4.14/scripts/
Dmarkup_oops.pl55 $regs{"%ecx"} = $3;
66 $regs{"%ecx"} = $3;
/linux-4.4.14/arch/x86/include/asm/xen/
Dinterface_32.h50 uint32_t ecx; member
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Dintel.c355 unsigned int eax, ebx, ecx, edx; in collect_cpu_info_early() local
364 ecx = 0; in collect_cpu_info_early()
365 native_cpuid(&eax, &ebx, &ecx, &edx); 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()
Damd.c152 u32 rev, eax, ebx, ecx, edx; in apply_ucode_in_initrd() local
178 ecx = 0; in apply_ucode_in_initrd()
179 native_cpuid(&eax, &ebx, &ecx, &edx); in apply_ucode_in_initrd()
/linux-4.4.14/drivers/firmware/
Ddcdbas.h77 __u32 ecx; member
Ddcdbas.c279 "c" (smi_cmd->ecx) in dcdbas_smi_request()
/linux-4.4.14/tools/perf/arch/x86/util/
Ddwarf-regs.c68 REG_OFFSET_NAME_32("%cx", ecx),
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()
/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()
2683 __get_cpuid(0, &max_level, &ebx, &ecx, &edx); in process_cpuid()
2685 if (ebx == 0x756e6547 && edx == 0x49656e69 && ecx == 0x6c65746e) in process_cpuid()
2690 (char *)&ebx, (char *)&edx, (char *)&ecx); in process_cpuid()
2692 __get_cpuid(1, &fms, &ebx, &ecx, &edx); in process_cpuid()
2711 ebx = ecx = edx = 0; in process_cpuid()
2712 __get_cpuid(0x80000000, &max_level, &ebx, &ecx, &edx); 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()
[all …]
/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()
166 regs.ecx = 0x0000; in bios_pop_queue()
201 return regs.ecx; in bios_get_cmos_address()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dregs_load.S69 movl %ecx, CX(%edi)
/linux-4.4.14/security/selinux/
Davc.c518 int hvalue, try, ecx; in avc_reclaim_node() local
523 for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) { in avc_reclaim_node()
535 ecx++; in avc_reclaim_node()
536 if (ecx >= AVC_CACHE_RECLAIM) { in avc_reclaim_node()
546 return ecx; in avc_reclaim_node()
/linux-4.4.14/arch/x86/net/
Dbpf_jit.S79 mov $LEN,%ecx; /* len */ \
/linux-4.4.14/drivers/video/fbdev/
Duvesafb.c370 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_save()
402 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_restore()
503 task->t.regs.ecx = (u32) *mode; in uvesafb_vbe_getmodes()
627 task->t.regs.ecx = 0; in uvesafb_vbe_getedid()
653 task->t.regs.ecx = task->t.regs.edx = 0; in uvesafb_vbe_getedid()
775 task->t.regs.ecx = 0x000f; in uvesafb_vbe_getstatesize()
985 task->t.regs.ecx = count; in uvesafb_setpalette()
Dneofb.c1298 regs.ecx = 0x0000; /* HCI_DISABLE */ in neofb_blank()
1339 regs.ecx = 0x0001; /* HCI_ENABLE */ in neofb_blank()
/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/drivers/platform/x86/
Dacer-wmi.c629 u32 ecx; member
636 u32 ecx; member
730 args.ecx = args.edx = 0; in AMW0_set_u32()
773 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
844 args.ecx = args.edx = 0; in AMW0_set_capabilities()
Dtoshiba_acpi.c2174 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in toshiba_acpi_smm_bridge()
2188 regs->ecx = out[2]; in toshiba_acpi_smm_bridge()
Ddell-laptop.c405 command.ecx = 0x42534931; in dell_send_request()
/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/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()
/linux-4.4.14/Documentation/x86/
Dentry_64.txt73 movl $MSR_GS_BASE,%ecx
/linux-4.4.14/arch/x86/ia32/
Dia32_aout.c81 dump->regs.ecx = regs->cx; 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()
2397 (ecx == UNISYS_SPAR_ID_ECX) && in visorutil_spar_detect()
/linux-4.4.14/tools/lguest/
Dlguest.c1552 case 1: return getreg(ecx) & mask; in getreg_num()
1579 case 1: setreg(ecx, val | (getreg(ecx) & ~mask)); return; in setreg_num()
/linux-4.4.14/Documentation/
Doops-tracing.txt203 Aug 29 09:51:01 blizard kernel: eax: 315e97cc ebx: 003a6f80 ecx: 001be77b edx: 00237c0c
Dkmemcheck.txt502 ffffffff8104edd8: mov $0xc,%ecx
524 By looking at the disassembly, we also see that %ecx is being loaded with the
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3220 esp = 1342630420, ebx = 1348150624, edx = 1280, ecx = 0, eax = 0,
3573 esp = 1342630864, ebx = 256, edx = 0, ecx = 256, eax = 1024, trapno = 14,
3629 0x1001c2d2 <block_write+1122>: sbbl %ecx,%ecx
3630 0x1001c2d4 <block_write+1124>: testl %ecx,%ecx
/linux-4.4.14/
DREADME340 eax: xxxxxxxx ebx: xxxxxxxx ecx: xxxxxxxx edx: xxxxxxxx
/linux-4.4.14/Documentation/networking/
Dfilter.txt759 mov $0x4,%ecx
766 mov $0x4,%ecx
/linux-4.4.14/arch/x86/
DKconfig283 default "-fcall-saved-ecx -fcall-saved-edx" if X86_32