/Linux-v5.4/arch/x86/lib/ |
D | copy_user_64.S | 21 movl %edi,%ecx 22 andl $7,%ecx 24 subl $8,%ecx 25 negl %ecx 26 subl %ecx,%edx 31 decl %ecx 35 103: addl %ecx,%edx /* ecx is zerorest also */ 61 movl %edx,%ecx 63 shrl $6,%ecx 83 decl %ecx [all …]
|
D | atomic64_cx8_32.S | 13 movl %ecx, %edx 20 read64 %ecx 52 movl %ecx, %ebp 54 read64 %ecx 57 movl %edx, %ecx 59 \insc\()l %edi, %ecx 66 movl %ecx, %edx 85 movl %edx, %ecx 87 \insc\()l $0, %ecx 94 movl %ecx, %edx [all …]
|
D | checksum_32.S | 53 movl 16(%esp),%ecx # Function arg: int len 61 dec %ecx 70 subl $2, %ecx # Alignment uses up two bytes. 72 addl $2, %ecx # ecx was < 2. Deal with it. 79 movl %ecx, %edx 80 shrl $5, %ecx 100 dec %ecx 103 2: movl %edx, %ecx 112 4: andl $3, %ecx 114 cmpl $2, %ecx [all …]
|
D | memcpy_64.S | 41 movl %edx, %ecx 162 movl (%rsi), %ecx 164 movl %ecx, (%rdi) 174 movzbl (%rsi), %ecx 207 movl %esi, %ecx 208 andl $7, %ecx 209 subl $8, %ecx 210 negl %ecx 211 subl %ecx, %edx 220 decl %ecx [all …]
|
/Linux-v5.4/arch/x86/math-emu/ |
D | reg_round.S | 125 movl PARAM4,%ecx 145 movl %ecx,%esi 146 andl CW_PC,%ecx 147 cmpl PR_64_BITS,%ecx 150 cmpl PR_53_BITS,%ecx 153 cmpl PR_24_BITS,%ecx 159 cmpl PR_RESERVED_BITS,%ecx 173 movl %esi,%ecx 174 andl CW_RC,%ecx 175 cmpl RC_RND,%ecx [all …]
|
D | wm_sqrt.S | 91 movl SIGL(%esi),%ecx 100 rcrl $1,%ecx 108 movl %ecx,FPU_fsqrt_arg_1 114 movl $0xaaaaaaaa,%ecx 115 mull %ecx 128 movl FPU_fsqrt_arg_2,%ecx /* ms word */ 137 shrl %ecx /* Doing this first will prevent a divide */ 140 movl %ecx,%edx /* msw of the arg / 2 */ 145 movl %ecx,%edx 150 movl %ecx,%edx [all …]
|
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 */ 105 mull 4(%ecx) /* msl of b */ [all …]
|
D | reg_u_sub.S | 46 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 163 sbbl %eax,%ecx [all …]
|
/Linux-v5.4/arch/x86/include/asm/ |
D | mwait.h | 26 static inline void __monitor(const void *eax, unsigned long ecx, in __monitor() argument 31 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor() 34 static inline void __monitorx(const void *eax, unsigned long ecx, in __monitorx() argument 39 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx() 42 static inline void __mwait(unsigned long eax, unsigned long ecx) in __mwait() argument 48 :: "a" (eax), "c" (ecx)); in __mwait() 78 unsigned long ecx) in __mwaitx() argument 84 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx() 87 static inline void __sti_mwait(unsigned long eax, unsigned long ecx) in __sti_mwait() argument 94 :: "a" (eax), "c" (ecx)); in __sti_mwait() [all …]
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 89 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local 95 eax, ebx, ecx, edx, si, di); in vmw_open_channel() 97 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_open_channel() 118 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local 128 eax, ebx, ecx, edx, si, di); in vmw_close_channel() 130 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_close_channel() 148 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local 163 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out() 169 ecx = MESSAGE_STATUS_SUCCESS << 16; in vmw_port_hb_out() 170 while (msg_len && (HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS)) { in vmw_port_hb_out() [all …]
|
D | vmwgfx_msg.h | 59 eax, ebx, ecx, edx, si, di) \ argument 64 "=c"(ecx), \ 103 eax, ebx, ecx, edx, si, di) \ argument 111 "=c"(ecx), \ 128 eax, ebx, ecx, edx, si, di) \ argument 136 "=c"(ecx), \ 162 eax, ebx, ecx, edx, si, di) \ argument 172 "=c"(ecx), \ 189 eax, ebx, ecx, edx, si, di) \ argument 199 "=c"(ecx), \
|
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | vmware.c | 51 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument 53 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ 59 #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \ argument 61 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ 67 #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \ argument 69 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ 75 #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ argument 78 VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \ 81 VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \ 84 VMWARE_PORT(cmd, eax, ebx, ecx, edx); \ [all …]
|
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 108 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology() 117 cpuid_count(leaf, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology() 122 if (LEAFB_SUBTYPE(ecx) == CORE_TYPE) { in detect_extended_topology() [all …]
|
/Linux-v5.4/tools/testing/selftests/x86/ |
D | pkey-helpers.h | 60 unsigned int ecx = 0; in __rdpkru() local 65 : "c" (ecx)); in __rdpkru() 86 unsigned int ecx = 0; in __wrpkru() local 91 : : "a" (eax), "c" (ecx), "d" (edx)); in __wrpkru() 146 unsigned int *ecx, unsigned int *edx) in __cpuid() argument 153 "=c" (*ecx), in __cpuid() 155 : "0" (*eax), "2" (*ecx)); in __cpuid() 166 unsigned int ecx; in cpu_has_pku() local 170 ecx = 0x0; in cpu_has_pku() 171 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pku() [all …]
|
/Linux-v5.4/arch/x86/boot/compressed/ |
D | efi_stub_32.S | 50 popl %ecx 51 movl %ecx, saved_return_addr(%edx) 53 popl %ecx 54 movl %ecx, efi_rt_function_ptr(%edx) 59 call *%ecx 71 movl efi_rt_function_ptr(%edx), %ecx 72 pushl %ecx 77 movl saved_return_addr(%edx), %ecx 78 pushl %ecx
|
D | head_32.S | 133 movl $(_bss - startup_32), %ecx 134 shrl $2, %ecx 159 popl %ecx 160 movl %ecx, efi32_config(%esi) /* Handle */ 161 popl %ecx 162 movl %ecx, efi32_config+8(%esi) /* EFI System table pointer */ 173 popl %ecx 175 pushl %ecx 181 popl %ecx 188 movl %ecx, efi32_config(%esi) /* Handle */ [all …]
|
/Linux-v5.4/tools/arch/x86/lib/ |
D | memcpy_64.S | 41 movl %edx, %ecx 162 movl (%rsi), %ecx 164 movl %ecx, (%rdi) 174 movzbl (%rsi), %ecx 207 movl %esi, %ecx 208 andl $7, %ecx 209 subl $8, %ecx 210 negl %ecx 211 subl %ecx, %edx 220 decl %ecx [all …]
|
/Linux-v5.4/arch/x86/um/ |
D | checksum_32.S | 53 movl 16(%esp),%ecx # Function arg: int len 57 subl $2, %ecx # Alignment uses up two bytes. 59 addl $2, %ecx # ecx was < 2. Deal with it. 66 movl %ecx, %edx 67 shrl $5, %ecx 87 dec %ecx 90 2: movl %edx, %ecx 99 4: andl $3, %ecx 101 cmpl $2, %ecx 106 shll $16,%ecx [all …]
|
/Linux-v5.4/arch/x86/kernel/ |
D | ftrace_32.S | 47 pushl %ecx 63 movl function_trace_op, %ecx 72 popl %ecx 130 pushl %ecx 138 movl function_trace_op, %ecx # 3rd argument: ftrace_pos 148 movl PT_EIP(%esp), %ecx 149 movl %ecx, -4(%eax) 152 movl PT_EAX(%esp), %ecx 153 movl %ecx, -8(%eax) 156 popl %ecx [all …]
|
/Linux-v5.4/arch/x86/realmode/rm/ |
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 96 xorl %ecx, %ecx 101 movl %ecx, %cr3
|
/Linux-v5.4/arch/x86/entry/ |
D | entry_32.S | 275 pushl %ecx 278 movl 4*4(%esp), %ecx # flags 279 movl %ecx, -4(%eax) 281 movl 3*4(%esp), %ecx # cs 282 andl $0x0000ffff, %ecx 283 movl %ecx, -8(%eax) 285 movl 2*4(%esp), %ecx # ip 286 movl %ecx, -12(%eax) 288 movl 1*4(%esp), %ecx # eax 289 movl %ecx, -16(%eax) [all …]
|
/Linux-v5.4/drivers/char/ |
D | toshiba.c | 126 unsigned long eax,ecx,flags; in tosh_emulate_fan() local 130 ecx = regs->ecx & 0xffff; in tosh_emulate_fan() 142 regs->ecx = (unsigned int) (al & 0x01); in tosh_emulate_fan() 144 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 153 regs->ecx = 0x00; in tosh_emulate_fan() 155 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan() 164 regs->ecx = 0x01; in tosh_emulate_fan() 178 regs->ecx = al & 0x01; in tosh_emulate_fan() 180 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 188 regs->ecx = 0x00; in tosh_emulate_fan() [all …]
|
/Linux-v5.4/arch/x86/kvm/ |
D | cpuid.c | 35 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local 36 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size() 78 best->ecx &= ~F(OSXSAVE); in kvm_update_cpuid() 80 best->ecx |= F(OSXSAVE); in kvm_update_cpuid() 88 if (best->ecx & F(TSC_DEADLINE_TIMER)) in kvm_update_cpuid() 98 best->ecx &= ~F(OSPKE); in kvm_update_cpuid() 100 best->ecx |= F(OSPKE); in kvm_update_cpuid() 141 best->ecx |= F(MWAIT); in kvm_update_cpuid() 143 best->ecx &= ~F(MWAIT); in kvm_update_cpuid() 224 vcpu->arch.cpuid_entries[i].ecx = cpuid_entries[i].ecx; in kvm_vcpu_ioctl_set_cpuid() [all …]
|
/Linux-v5.4/arch/x86/platform/efi/ |
D | efi_stub_32.S | 54 popl %ecx 55 movl %ecx, efi_rt_function_ptr 77 jmp *%ecx 107 movl (%edx), %ecx 108 pushl %ecx 114 movl (%edx), %ecx 115 pushl %ecx
|
/Linux-v5.4/arch/x86/boot/ |
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()
|