| /linux/arch/x86/lib/ |
| A D | copy_user_64.S | 22 movl %edi,%ecx 23 andl $7,%ecx 25 subl $8,%ecx 26 negl %ecx 32 decl %ecx 64 shrl $6,%ecx 84 decl %ecx 95 decl %ecx 104 decl %ecx 290 decl %ecx [all …]
|
| A D | copy_mc_64.S | 31 movl %esi, %ecx 32 andl $7, %ecx 33 subl $8, %ecx 34 negl %ecx 35 subl %ecx, %edx 42 decl %ecx 48 shrl $3, %ecx 57 decl %ecx 73 decl %ecx 90 shll $3, %ecx [all …]
|
| A D | atomic64_cx8_32.S | 13 movl %ecx, %edx 20 read64 %ecx 52 movl %ecx, %ebp 54 read64 %ecx 57 movl %edx, %ecx 66 movl %ecx, %edx 85 movl %edx, %ecx 94 movl %ecx, %edx 111 sbb $0, %ecx 129 pushl %ecx [all …]
|
| A D | checksum_32.S | 61 dec %ecx 72 addl $2, %ecx # ecx was < 2. Deal with it. 80 shrl $5, %ecx 100 dec %ecx 114 cmpl $2, %ecx 119 shll $16,%ecx 150 shrl $7, %ecx 167 dec %ecx 227 dec %ecx 236 shll $3,%ecx [all …]
|
| A D | putuser.S | 53 xor %ecx,%ecx 67 xor %ecx,%ecx 81 xor %ecx,%ecx 98 xor %ecx,%ecx 108 movl $-EFAULT,%ecx
|
| /linux/arch/x86/math-emu/ |
| A D | reg_round.S | 204 orl %ebx,%ecx 205 orl %edx,%ecx 240 orl %ebx,%ecx 241 orl %edx,%ecx 284 orl %edx,%ecx 316 orl %edx,%ecx 504 popl %ecx 525 popl %ecx 535 xorl %ecx,%ecx 545 popl %ecx [all …]
|
| A D | wm_sqrt.S | 100 rcrl $1,%ecx 115 mull %ecx 145 movl %ecx,%edx 150 movl %ecx,%edx 169 subl %ecx,%eax 171 sbbl %ecx,%edx 182 movl %eax,%ecx 195 notl %ecx 198 adcl $0,%ecx 318 notl %ecx [all …]
|
| A D | mul_Xsig.S | 35 movl PARAM2,%ecx 42 mull %ecx /* msl of b */ 46 mull %ecx /* msl of b */ 52 mull %ecx /* msl of b */ 76 movl PARAM2,%ecx 83 mull 4(%ecx) /* msl of b */ 87 mull (%ecx) /* lsl of b */ 93 mull 4(%ecx) /* msl of b */ 99 mull (%ecx) /* lsl of b */ 130 movl PARAM2,%ecx [all …]
|
| A D | reg_u_sub.S | 46 movl PARAM6,%ecx 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 163 sbbl %eax,%ecx 164 movl %ecx,%eax 221 subl $31,%ecx [all …]
|
| /linux/arch/x86/include/asm/ |
| A D | mwait.h | 28 static inline void __monitor(const void *eax, unsigned long ecx, in __monitor() argument 33 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor() 41 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx() 50 :: "a" (eax), "c" (ecx)); in __mwait() 80 unsigned long ecx) in __mwaitx() argument 86 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx() 94 :: "a" (eax), "c" (ecx)); in __sti_mwait() 118 __mwait(eax, ecx); in mwait_idle_with_hints() 129 static inline void __tpause(u32 ecx, u32 edx, u32 eax) in __tpause() argument 135 : "c"(ecx), "d"(edx), "a"(eax)); in __tpause() [all …]
|
| A D | processor.h | 148 u32 eax, ebx, ecx, edx; member 221 "=c" (*ecx), in native_cpuid() 223 : "0" (*eax), "2" (*ecx) in native_cpuid() 242 native_cpuid_reg(ecx) in native_cpuid_reg() 603 *ecx = 0; in cpuid() 604 __cpuid(eax, ebx, ecx, edx); in cpuid() 613 *ecx = count; in cpuid_count() 614 __cpuid(eax, ebx, ecx, edx); in cpuid_count() 622 unsigned int eax, ebx, ecx, edx; in cpuid_eax() local 631 unsigned int eax, ebx, ecx, edx; in cpuid_ebx() local [all …]
|
| /linux/tools/testing/selftests/vm/ |
| A D | pkey-x86.h | 60 unsigned int ecx = 0; in __read_pkey_reg() local 65 : "c" (ecx)); in __read_pkey_reg() 73 unsigned int ecx = 0; in __write_pkey_reg() local 91 "=c" (*ecx), in __cpuid() 93 : "0" (*eax), "2" (*ecx)); in __cpuid() 104 unsigned int ecx; in cpu_has_pkeys() local 108 ecx = 0x0; in cpu_has_pkeys() 109 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pkeys() 111 if (!(ecx & X86_FEATURE_PKU)) { in cpu_has_pkeys() 135 unsigned int ecx; in pkey_reg_xstate_offset() local [all …]
|
| /linux/arch/x86/entry/ |
| A D | entry_32.S | 183 pushl %ecx 199 popl %ecx 228 pushl %ecx 258 popl %ecx 427 subl %ecx, %edi 436 shrl $2, %ecx 480 sub %esi, %ecx 541 shrl $2, %ecx 596 shrl $2, %ecx 1036 pushl %ecx [all …]
|
| /linux/arch/x86/um/ |
| A D | checksum_32.S | 59 addl $2, %ecx # ecx was < 2. Deal with it. 66 movl %ecx, %edx 67 shrl $5, %ecx 87 dec %ecx 99 4: andl $3, %ecx 101 cmpl $2, %ecx 106 shll $16,%ecx 129 movl %ecx, %edx 132 shrl $7, %ecx 194 dec %ecx [all …]
|
| A D | stub_32.S | 9 mov %esp, %ecx 18 mov %eax, 0x4(%ecx) 23 mov %esp, 0x4(%ecx) 33 pop %ecx 43 mov %esp, %ecx 44 andl $(~UM_KERN_PAGE_SIZE) + 1, %ecx 53 mov %eax, (%ecx)
|
| /linux/arch/x86/kernel/cpu/ |
| A D | topology.c | 24 #define LEAFB_SUBTYPE(ecx) (((ecx) >> 8) & 0xff) argument 37 unsigned int eax, ebx, ecx, edx; in check_extended_topology_leaf() local 39 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in check_extended_topology_leaf() 41 if (ebx == 0 || (LEAFB_SUBTYPE(ecx) != SMT_TYPE)) in check_extended_topology_leaf() 68 unsigned int eax, ebx, ecx, edx; in detect_extended_topology_early() local 77 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology_early() 95 unsigned int eax, ebx, ecx, edx, sub_index; in detect_extended_topology() local 109 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology() 123 if (LEAFB_SUBTYPE(ecx) == CORE_TYPE) { in detect_extended_topology() 129 if (LEAFB_SUBTYPE(ecx) == DIE_TYPE) { in detect_extended_topology() [all …]
|
| A D | vmware.c | 87 VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \ 90 VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \ 93 VMWARE_PORT(cmd, eax, ebx, ecx, edx); \ 115 uint32_t eax, ebx, ecx, edx; in __vmware_platform() local 116 VMWARE_CMD(GETVERSION, eax, ebx, ecx, edx); in __vmware_platform() 392 uint32_t eax, ebx, ecx, edx; in vmware_platform_setup() local 395 VMWARE_CMD(GETHZ, eax, ebx, ecx, edx); in vmware_platform_setup() 416 lapic_timer_period = ecx / HZ; in vmware_platform_setup() 418 ecx); in vmware_platform_setup() 435 int eax, ebx, ecx, edx; in vmware_select_hypercall() local [all …]
|
| /linux/arch/x86/kernel/ |
| A D | ftrace_32.S | 45 pushl %ecx 70 popl %ecx 128 pushl %ecx 147 movl %ecx, -4(%eax) 151 movl %ecx, -8(%eax) 154 popl %ecx 169 pushl %ecx 174 movl $0, %ecx 178 popl %ecx 189 movl %eax, %ecx [all …]
|
| A D | head_32.S | 68 movl pa(initial_stack),%ecx 88 movl $pa(__bss_stop),%ecx 89 subl %edi,%ecx 90 shrl $2,%ecx 101 movl $(PARAM_SIZE/4),%ecx 147 movl initial_stack, %ecx 148 movl %ecx, %esp 199 movl $X86_EFLAGS_ID,%ecx 200 pushl %ecx 241 movl $MSR_EFER, %ecx [all …]
|
| /linux/arch/x86/realmode/rm/ |
| A D | reboot.S | 39 movl $MSR_EFER, %ecx 59 movl $16, %ecx 60 movl %ecx, %ds 61 movl %ecx, %es 62 movl %ecx, %fs 63 movl %ecx, %gs 64 movl %ecx, %ss 97 xorl %ecx, %ecx 102 movl %ecx, %cr3
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_msg_x86.h | 62 eax, ebx, ecx, edx, si, di) \ argument 67 "=c"(ecx), \ 106 eax, ebx, ecx, edx, si, di) \ argument 114 "=c"(ecx), \ 131 eax, ebx, ecx, edx, si, di) \ argument 139 "=c"(ecx), \ 165 eax, ebx, ecx, edx, si, di) \ argument 175 "=c"(ecx), \ 192 eax, ebx, ecx, edx, si, di) \ argument 202 "=c"(ecx), \
|
| A D | vmwgfx_msg_arm64.h | 52 unsigned long *ecx, unsigned long *edx, in vmw_port() argument 74 *ecx = x2; in vmw_port() 85 unsigned long *ecx, unsigned long *edx, in vmw_port_hb() argument 107 *ecx = x2; in vmw_port_hb() 113 #define VMW_PORT(cmd, in_ebx, in_si, in_di, flags, magic, eax, ebx, ecx, edx, \ argument 115 vmw_port(cmd, in_ebx, in_si, in_di, flags, magic, &eax, &ebx, &ecx, \ 119 ecx, edx, si, di) \ argument 121 0, &eax, &ebx, &ecx, &edx, &si, &di) 124 ecx, edx, si, di) \ argument 126 X86_IO_W7_DIR, &eax, &ebx, &ecx, &edx, &si, &di)
|
| /linux/drivers/char/ |
| A D | toshiba.c | 123 unsigned long eax,ecx,flags; in tosh_emulate_fan() local 127 ecx = regs->ecx & 0xffff; in tosh_emulate_fan() 141 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 150 regs->ecx = 0x00; in tosh_emulate_fan() 152 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan() 161 regs->ecx = 0x01; in tosh_emulate_fan() 175 regs->ecx = al & 0x01; in tosh_emulate_fan() 185 regs->ecx = 0x00; in tosh_emulate_fan() 195 regs->ecx = 0x01; in tosh_emulate_fan() 363 regs.ecx = 0x0000; in tosh_get_machine_id() [all …]
|
| /linux/arch/x86/boot/ |
| A D | cpucheck.c | 133 u32 ecx = MSR_K7_HWCR; in check_cpu() local 136 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu() 138 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu() 148 u32 ecx = MSR_VIA_FCR; in check_cpu() local 151 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu() 153 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu() 160 u32 ecx = 0x80860004; in check_cpu() local 164 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu() 165 asm("wrmsr" : : "a" (~0), "d" (edx), "c" (ecx)); in check_cpu() 169 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
|
| /linux/tools/arch/x86/kcpuid/ |
| A D | kcpuid.c | 47 u32 eax, ebx, ecx, edx; member 90 "=c" (*ecx), in cpuid() 92 : "0" (*eax), "2" (*ecx)); in cpuid() 172 leaf->ecx = c; in cpuid_store() 209 u32 eax, ebx, ecx, edx; in setup_cpuid_range() local 215 ebx = ecx = edx = 0; in setup_cpuid_range() 239 subleaf = ecx = 0; in setup_cpuid_range() 264 ecx = subleaf; in setup_cpuid_range() 268 eax, ebx, ecx, edx); in setup_cpuid_range() 553 u32 eax, ebx, ecx, edx; in setup_platform_cpuid() local [all …]
|