/linux-master/tools/arch/x86/kcpuid/ |
H A D | kcpuid.c | 29 /* descriptor info for eax/ebx/ecx/edx */ 51 u32 eax, ebx, ecx, edx; member in struct:subleaf 88 static inline void cpuid(u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) argument 90 /* ecx is often an input as well as an output. */ 94 "=c" (*ecx), 96 : "0" (*eax), "2" (*ecx)); 131 leaf->sub, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); 134 leaf->index, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); 138 /* Return true is the input eax/ebx/ecx/edx are all zero */ 176 leaf->ecx 213 u32 eax, ebx, ecx, edx; local 572 u32 eax, ebx, ecx, edx; local [all...] |
/linux-master/arch/x86/boot/compressed/ |
H A D | head_32.S | 117 movl $(_bss - startup_32), %ecx 118 shrl $2, %ecx 148 leal _ebss@GOTOFF(%ebx), %ecx 149 subl %edi, %ecx 150 shrl $2, %ecx
|
H A D | efi_mixed.S | 99 movl %ecx, 0x8(%rsp) 153 1: popl %ecx 154 leal (efi32_boot_args - 1b)(%ecx), %ebx 158 leal (_bss - 1b)(%ecx), %edi 159 leal (_ebss - 1b)(%ecx), %ecx 160 subl %edi, %ecx 161 shrl $2, %ecx 166 popl %ecx 197 movl $MSR_EFER, %ecx [all...] |
/linux-master/drivers/cpufreq/ |
H A D | longrun.c | 138 u32 eax, ebx, ecx, edx; local 143 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); 164 u32 eax, ebx, ecx, edx; local 211 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); 214 for (try_hi = 80; try_hi > 0 && ecx > 90; try_hi -= 10) { 222 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); 227 pr_debug("percentage is %u %%, freq is %u MHz\n", ecx, eax); 235 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ 237 if ((ecx > 95) || (ecx [all...] |
/linux-master/arch/x86/kvm/ |
H A D | cpuid.c | 47 u32 eax, ebx, ecx, edx, offset; local 48 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); 51 offset = (ecx & 0x2) ? ALIGN(ret, 64) : ret; 185 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) 206 signature[1] = entry->ecx; 503 e2[i].ecx = e[i].ecx; 569 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); 880 &entry->eax, &entry->ebx, &entry->ecx, 1541 kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, bool exact_only) argument 1595 u32 eax, ebx, ecx, edx; local [all...] |
/linux-master/arch/x86/lib/ |
H A D | memset_64.S | 50 movzbl %sil,%ecx 82 movl %edx,%ecx 83 andl $63&(~7),%ecx 85 shrl $3,%ecx 88 decl %ecx
|
H A D | atomic64_386_32.S | 35 #define v %ecx 46 movl %ecx, 4(v) 56 movl %ecx, 4(v) 61 #define v %ecx 69 #define v %ecx 79 #define v %ecx 87 #define v %ecx 142 addl %eax, %ecx 146 cmpl %eax, %ecx
|
H A D | msr-reg.S | 11 * reg layout: u32 gprs[eax, ecx, edx, ebx, esp, ebp, esi, edi] 21 movl 4(%rdi), %ecx 30 movl %ecx, 4(%r10) 57 movl 4(%eax), %ecx 69 movl %ecx, 4(%eax)
|
H A D | cmpxchg8b_emu.S | 20 * %ecx : high 32 bits of new value 33 movl %ecx, 4(%esi) 64 * %ecx : high 32 bits of new value 79 movl %ecx, __percpu 4(%esi)
|
H A D | copy_page_64.S | 18 movl $4096/8, %ecx 29 movl $(4096/64)-5, %ecx 58 movl $5, %ecx 61 decl %ecx
|
/linux-master/tools/arch/x86/lib/ |
H A D | memset_64.S | 50 movzbl %sil,%ecx 82 movl %edx,%ecx 83 andl $63&(~7),%ecx 85 shrl $3,%ecx 88 decl %ecx
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 107 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; local 113 eax, ebx, ecx, edx, si, di); 115 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) 136 unsigned long eax, ebx, ecx, edx, si, di; local 146 eax, ebx, ecx, edx, si, di); 148 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) 166 unsigned long si, di, eax, ebx, ecx, edx; local 183 eax, ebx, ecx, edx, si, di); 189 ecx = MESSAGE_STATUS_SUCCESS << 16; 190 while (msg_len && (HIGH_WORD(ecx) 223 unsigned long si, di, eax, ebx, ecx, edx; local 279 unsigned long eax, ebx, ecx, edx, si, di; local 332 unsigned long eax, ebx, ecx, edx, si, di; local 655 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; local 672 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; local 689 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; local [all...] |
/linux-master/arch/x86/include/uapi/asm/ |
H A D | ptrace.h | 20 long ecx; member in struct:pt_regs
|
/linux-master/arch/x86/kernel/ |
H A D | head_64.S | 72 movl $MSR_GS_BASE, %ecx 220 andl %edx, %ecx 223 btsl $X86_CR4_PSE_BIT, %ecx 229 btsl $X86_CR4_PGE_BIT, %ecx 241 movl smpboot_control(%rip), %ecx 242 testl $STARTUP_READ_APICID, %ecx 248 andl $(~STARTUP_PARALLEL_MASK), %ecx 253 mov $MSR_IA32_APICBASE, %ecx 282 mov $APIC_X2APIC_ID_MSR, %ecx 287 xorl %ecx, [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | special_insns.h | 82 u32 ecx = 0; local 87 * clears EDX and requires that ecx=0. 91 : "c" (ecx)); 97 u32 ecx = 0, edx = 0; local 101 * requires that ecx = edx = 0. 104 : : "a" (pkru), "c"(ecx), "d"(edx));
|
H A D | GEN-for-each-reg.h | 24 GEN(ecx)
|
/linux-master/tools/power/cpupower/debug/i386/ |
H A D | intel_gsic.c | 45 printf("\tevent port = 0x%.8x\n", r.ecx); 65 printf("ecx = 0x%.8x\n", r.ecx);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | raw_syscall_helper_32.S | 12 movl 2*4(%eax), %ecx 26 movl %ecx, 2*4(%eax)
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | cpuid_test.c | 31 u32 eax, ebx, ecx, edx; local 36 &eax, &ebx, &ecx, &edx); 40 GUEST_ASSERT_EQ(ecx, guest_cpuid->entries[i].ecx); 95 e1->ecx == e2->ecx && e1->edx == e2->edx, 98 e1->eax, e1->ebx, e1->ecx, e1->edx, 99 e2->eax, e2->ebx, e2->ecx, e2->edx);
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | topology_amd.c | 13 // ecx 19 } ecx; local 25 cpuid_leaf_reg(0x80000008, CPUID_ECX, &ecx); 27 /* If the thread bits are 0, then get the shift value from ecx.cpu_nthreads */ 28 sft = ecx.apicid_coreid_len; 30 sft = get_count_order(ecx.cpu_nthreads + 1); 42 topology_set_dom(tscan, TOPO_CORE_DOMAIN, sft, ecx.cpu_nthreads + 1); 70 // ecx
|
/linux-master/sound/pci/au88x0/ |
H A D | au88x0_synth.c | 185 int ecx; local 261 ecx = WT_SRAMP(wt); 264 ecx = WT_ARAMP(wt); 267 ecx = WT_MRAMP(wt); 270 ecx = WT_CTRL(wt); 273 ecx = WT_DSREG(wt); 279 pr_debug( "vortex: WT SetReg(0x%x) = 0x%08x\n", ecx, (int)val); 281 hwwrite(vortex->mmio, ecx, val); 328 int ecx = vol[1], eax = vol[0]; 342 ecx [all...] |
/linux-master/arch/x86/math-emu/ |
H A D | reg_u_add.S | 45 movl PARAM6,%ecx 46 movl %ecx,%edx 47 subl PARAM7,%ecx /* exp1 - exp2 */
|
/linux-master/arch/x86/realmode/rm/ |
H A D | wakeup_asm.S | 103 movl $MSR_IA32_MISC_ENABLE, %ecx 123 movl $MSR_EFER, %ecx 131 movl pmode_cr0, %ecx 132 movl %ecx, %cr0
|
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | driver.c | 148 unsigned int eax, ebx, ecx, edx; local 156 cpuid_count(SGX_CPUID, 0, &eax, &ebx, &ecx, &edx); 165 cpuid_count(SGX_CPUID, 1, &eax, &ebx, &ecx, &edx); 171 xfrm_mask = (((u64)edx) << 32) + (u64)ecx;
|
/linux-master/arch/x86/platform/pvh/ |
H A D | head.S | 67 mov _pa(pvh_start_info_sz), %ecx 68 shr $2,%ecx 81 mov $MSR_EFER, %ecx 99 mov $MSR_GS_BASE,%ecx
|