Searched refs:ecx (Results 26 - 50 of 204) sorted by relevance

123456789

/linux-master/arch/x86/platform/efi/
H A Defi_stub_32.S22 push %ecx
48 movl (%ebx), %ecx
50 movl %ecx, (%edx)
/linux-master/tools/testing/selftests/x86/
H A Dthunks_32.S22 push %ecx
43 pop %ecx
H A Dcorrupt_xstate_header.c24 unsigned int eax, ebx, ecx, edx; local
26 __cpuid_count(0x1, 0x0, eax, ebx, ecx, edx);
29 return ecx & (1U << 27);
/linux-master/arch/x86/math-emu/
H A Dround_Xsig.S52 bsrl %edx,%ecx /* get the required shift in %ecx */
53 subl $31,%ecx
54 negl %ecx
55 subl %ecx,-4(%ebp)
123 bsrl %edx,%ecx /* get the required shift in %ecx */
124 subl $31,%ecx
125 negl %ecx
126 subl %ecx,
[all...]
H A Dreg_u_mul.S69 xorl %ecx,%ecx
81 /* adcl $0,%ecx // overflow here is not possible */
87 adcl $0,%ecx
92 adcl %edx,%ecx
112 testl $0x80000000,%ecx
119 rcll $1,%ecx
131 movl %ecx,%eax
H A Dreg_u_sub.S46 movl PARAM6,%ecx
47 subl PARAM7,%ecx /* exp1 - exp2 */
156 xorl %ecx,%ecx
157 subl %edx,%ecx
158 movl %ecx,%edx
159 movl SIGL(%esi),%ecx
160 sbbl %ebx,%ecx
161 movl %ecx,%ebx
162 movl SIGH(%esi),%ecx
[all...]
H A Dreg_norm.S48 bsrl %edx,%ecx /* get the required shift in %ecx */
49 subl $31,%ecx
50 negl %ecx
126 bsrl %edx,%ecx /* get the required shift in %ecx */
127 subl $31,%ecx
128 negl %ecx
H A Dwm_shrx.S40 movl PARAM2,%ecx
42 cmpl $32,%ecx /* shrd only works for 0..31 bits */
61 cmpl $64,%ecx
76 cmpl $96,%ecx
120 movl PARAM2,%ecx
122 cmpl $64,%ecx /* shrd only works for 0..31 bits */
125 cmpl $32,%ecx /* shrd only works for 0..31 bits */
170 cmpl $96,%ecx
H A Dshr_Xsig.S29 movl PARAM2,%ecx
31 cmpl $32,%ecx /* shrd only works for 0..31 bits */
51 cmpl $64,%ecx
67 cmpl $96,%ecx
H A Dreg_u_div.S121 movl SIGH(%ebx),%ecx /* The divisor */
125 cmpl %ecx,%edx
129 subl %ecx,%edx /* Prevent the overflow */
133 divl %ecx
138 divl %ecx
143 divl %ecx
219 movl SIGH(%ebx),%ecx
220 addl $1,%ecx
229 divl %ecx /* Divide the numerator by the augmented
296 cmpl $0,%ecx /* augmente
[all...]
/linux-master/arch/x86/kernel/cpu/microcode/
H A Dinternal.h59 #define CPUID_IS(a, b, c, ebx, ecx, edx) \
60 (!(((ebx) ^ (a)) | ((edx) ^ (b)) | ((ecx) ^ (c))))
74 u32 ebx, ecx = 0, edx; local
76 native_cpuid(&eax, &ebx, &ecx, &edx);
78 if (CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx))
81 if (CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx))
90 u32 ebx, ecx = 0, edx; local
92 native_cpuid(&eax, &ebx, &ecx, &edx);
/linux-master/arch/x86/kernel/cpu/
H A Dvmware.c60 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \
62 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
68 #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \
70 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
76 #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \
78 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
84 #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \
87 VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \
90 VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \
93 VMWARE_PORT(cmd, eax, ebx, ecx, ed
115 uint32_t eax, ebx, ecx, edx; local
392 uint32_t eax, ebx, ecx, edx; local
435 int eax, ebx, ecx, edx; local
477 uint32_t eax, ebx, ecx, edx; local
[all...]
/linux-master/include/uapi/linux/
H A Dtoshiba.h41 unsigned int ecx __attribute__ ((packed)); member in struct:__anon13394
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg_arm64.h52 unsigned long *ecx, unsigned long *edx,
74 *ecx = x2;
85 unsigned long *ecx, unsigned long *edx,
107 *ecx = x2;
113 #define VMW_PORT(cmd, in_ebx, in_si, in_di, flags, magic, eax, ebx, ecx, edx, \
115 vmw_port(cmd, in_ebx, in_si, in_di, flags, magic, &eax, &ebx, &ecx, \
119 ecx, edx, si, di) \
121 0, &eax, &ebx, &ecx, &edx, &si, &di)
124 ecx, edx, si, di) \
126 X86_IO_W7_DIR, &eax, &ebx, &ecx,
48 vmw_port(unsigned long cmd, unsigned long in_ebx, unsigned long in_si, unsigned long in_di, unsigned long flags, unsigned long magic, unsigned long *eax, unsigned long *ebx, unsigned long *ecx, unsigned long *edx, unsigned long *si, unsigned long *di) argument
80 vmw_port_hb(unsigned long cmd, unsigned long in_ecx, unsigned long in_si, unsigned long in_di, unsigned long flags, unsigned long magic, unsigned long bp, u32 w7dir, unsigned long *eax, unsigned long *ebx, unsigned long *ecx, unsigned long *edx, unsigned long *si, unsigned long *di) argument
[all...]
/linux-master/arch/x86/boot/
H A Dpmjump.S51 movl %ecx, %ds
52 movl %ecx, %es
53 movl %ecx, %fs
54 movl %ecx, %gs
55 movl %ecx, %ss
65 xorl %ecx, %ecx
/linux-master/arch/x86/kernel/
H A Drelocate_kernel_32.S63 movl 20+16(%esp), %ecx /* cpu_has_pae */
122 testl %ecx, %ecx
162 xorl %ecx, %ecx
228 movl 4(%esp), %ecx
233 movl %ecx, %ebx
237 movl (%ebx), %ecx
242 movl %ecx, %edi
248 movl %ecx,
[all...]
H A Dverify_cpu.S62 cmpl $0x444d4163,%ecx
72 cmpl $0x6c65746e,%ecx
79 movl %eax, %ecx
87 andl $0x000f00f0, %ecx # mask model and extended model
88 shrl $4, %ecx
89 cmpl $0xd, %ecx
93 movl $MSR_IA32_MISC_ENABLE, %ecx
125 movl $MSR_K7_HWCR,%ecx
H A Dhead_32.S69 movl pa(initial_stack),%ecx
81 leal -__PAGE_OFFSET(%ecx),%esp
89 movl $pa(__bss_stop),%ecx
90 subl %edi,%ecx
91 shrl $2,%ecx
102 movl $(PARAM_SIZE/4),%ecx
110 movl $(COMMAND_LINE_SIZE/4),%ecx
151 movl pa(initial_stack),%ecx
153 leal -__PAGE_OFFSET(%ecx),%esp
176 movl $X86_EFLAGS_ID,%ecx
[all...]
/linux-master/arch/x86/power/
H A Dhibernate_asm_32.S43 movl mmu_cr4_features, %ecx
56 andl $~(X86_CR4_PGE), %ecx
57 movl %ecx, %cr4; # turn off PGE
71 movl $(PAGE_SIZE >> 2), %ecx
88 movl mmu_cr4_features, %ecx
90 movl %ecx, %cr4; # turn PGE back on
/linux-master/arch/x86/boot/compressed/
H A Dmem_encrypt.S39 movl $MSR_AMD64_SEV, %ecx /* Read the SEV MSR */
69 movl $MSR_AMD64_SEV_ES_GHCB, %ecx
75 movl %eax, %ecx
76 andl $0x3ffff000, %ecx # Bits [12-29] MBZ
96 pushl %ecx
155 popl %ecx
170 movl $MSR_AMD64_SEV_ES_GHCB, %ecx
186 * %ecx: IDT address
189 /* IDT entry address to %ecx */
190 leal (%ecx,
[all...]
/linux-master/arch/x86/include/asm/
H A Dapm.h28 u32 *eax, u32 *ebx, u32 *ecx,
43 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx),
27 apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, u32 *esi) argument
/linux-master/arch/x86/kernel/acpi/
H A Dcstate.c113 unsigned int ecx; member in struct:cstate_entry::__anon37
126 unsigned int eax, ebx, ecx, edx; local
131 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx);
148 /* mwait ecx extensions INTERRUPT_BREAK should be supported for C2/C3 */
149 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) ||
150 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) {
183 percpu_entry->states[cx->index].ecx = 0;
192 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK;
214 percpu_entry->states[cx->index].ecx);
/linux-master/arch/x86/lib/
H A Dcsum-copy_64.S49 movl %edx, %ecx
50 cmpl $8, %ecx
56 movl %ecx, %r12d
133 /* ecx: count, rcx.63: the end result needs to be rol8 */
135 andl $63, %ecx
136 shrl $3, %ecx
144 decl %ecx
161 movl %r10d, %ecx
162 andl $7, %ecx
164 shrl $1, %ecx
[all...]
/linux-master/arch/x86/um/
H A Dsetjmp_32.S28 popl %ecx # Return address, and adjust the stack
32 pushl %ecx # Make the call/return stack happy
36 movl %ecx,20(%edx) # Return address
/linux-master/drivers/char/
H A Dtoshiba.c123 unsigned long eax,ecx,flags; local
127 ecx = regs->ecx & 0xffff;
139 regs->ecx = (unsigned int) (al & 0x01);
141 if ((eax==0xff00) && (ecx==0x0000)) {
150 regs->ecx = 0x00;
152 if ((eax==0xff00) && (ecx==0x0001)) {
161 regs->ecx = 0x01;
175 regs->ecx = al & 0x01;
177 if ((eax==0xff00) && (ecx
[all...]

Completed in 279 milliseconds

123456789