Searched refs:ecx (Results 51 - 75 of 204) sorted by relevance

123456789

/linux-master/tools/arch/x86/kcpuid/
H A Dkcpuid.c29 /* 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 Dhead_32.S117 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 Defi_mixed.S99 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 Dlongrun.c138 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 Dcpuid.c47 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 Dmemset_64.S50 movzbl %sil,%ecx
82 movl %edx,%ecx
83 andl $63&(~7),%ecx
85 shrl $3,%ecx
88 decl %ecx
H A Datomic64_386_32.S35 #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 Dmsr-reg.S11 * 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 Dcmpxchg8b_emu.S20 * %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 Dcopy_page_64.S18 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 Dmemset_64.S50 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 Dvmwgfx_msg.c107 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 Dptrace.h20 long ecx; member in struct:pt_regs
/linux-master/arch/x86/kernel/
H A Dhead_64.S72 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 Dspecial_insns.h82 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 DGEN-for-each-reg.h24 GEN(ecx)
/linux-master/tools/power/cpupower/debug/i386/
H A Dintel_gsic.c45 printf("\tevent port = 0x%.8x\n", r.ecx);
65 printf("ecx = 0x%.8x\n", r.ecx);
/linux-master/tools/testing/selftests/x86/
H A Draw_syscall_helper_32.S12 movl 2*4(%eax), %ecx
26 movl %ecx, 2*4(%eax)
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dcpuid_test.c31 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 Dtopology_amd.c13 // 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 Dau88x0_synth.c185 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 Dreg_u_add.S45 movl PARAM6,%ecx
46 movl %ecx,%edx
47 subl PARAM7,%ecx /* exp1 - exp2 */
/linux-master/arch/x86/realmode/rm/
H A Dwakeup_asm.S103 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 Ddriver.c148 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 Dhead.S67 mov _pa(pvh_start_info_sz), %ecx
68 shr $2,%ecx
81 mov $MSR_EFER, %ecx
99 mov $MSR_GS_BASE,%ecx

Completed in 389 milliseconds

123456789