Searched defs:eax (Results 1 - 25 of 39) sorted by relevance

12

/arch/x86/include/asm/
H A Dxcr.h29 u32 eax, edx; local
32 : "=a" (eax), "=d" (edx)
34 return eax + ((u64)edx << 32);
39 u32 eax = value; local
43 : : "a" (eax), "d" (edx), "c" (index));
H A Dvirtext.h85 uint32_t eax, ebx, ecx, edx; local
93 cpuid(0x80000000, &eax, &ebx, &ecx, &edx);
94 if (eax < SVM_CPUID_FUNC) {
100 cpuid(0x80000001, &eax, &ebx, &ecx, &edx);
H A Dapm.h27 u32 *eax, u32 *ebx, u32 *ecx,
42 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx),
49 u32 ecx_in, u32 *eax)
66 : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx),
26 apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, u32 *esi) argument
48 apm_bios_call_simple_asm(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax) argument
H A Dlguest.h43 unsigned long eax, ebx, ecx, edx; member in struct:lguest_regs
H A Dstring_32.h282 : "a" (eax), "0" (count/4), "1" ((long)s) \
289 register unsigned long eax asm("%eax") = pattern;
291 unsigned long eax = pattern; local
H A Duser32.h36 __u32 ebx, ecx, edx, esi, edi, ebp, eax; member in struct:user_regs_struct32
H A Dkvm_para.h12 /* This CPUID returns a feature bitmap in eax. Before enabling a particular
170 unsigned int eax, ebx, ecx, edx; local
176 cpuid(KVM_CPUID_SIGNATURE, &eax, &ebx, &ecx, &edx);
H A Dptrace.h28 long eax; member in struct:pt_regs
H A Dvm86.h72 long eax; member in struct:vm86_regs
/arch/x86/include/asm/xen/
H A Dhypervisor.h44 uint32_t base, eax, ebx, ecx, edx; local
48 cpuid(base, &eax, &ebx, &ecx, &edx);
54 if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2))
H A Dinterface_32.h55 uint32_t eax; member in struct:cpu_user_regs
/arch/x86/kernel/cpu/
H A Dmshyperv.c27 u32 eax; local
34 &eax, &hyp_signature[0], &hyp_signature[1], &hyp_signature[2]);
36 return eax >= HYPERV_CPUID_MIN &&
37 eax <= HYPERV_CPUID_MAX &&
H A Dtopology.c21 #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f)
32 unsigned int eax, ebx, ecx, edx, sub_index; local
40 cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx);
59 core_plus_mask_width = ht_mask_width = BITS_SHIFT_NEXT_LEVEL(eax);
63 cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx);
70 core_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax);
H A Dvmware.c37 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \
39 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
47 uint32_t eax, ebx, ecx, edx; local
48 VMWARE_PORT(GETVERSION, eax, ebx, ecx, edx);
49 return eax != (uint32_t)-1 && ebx == VMWARE_HYPERVISOR_MAGIC;
55 uint32_t eax, ebx, ecx, edx; local
57 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx);
59 tsc_hz = eax | (((uint64_t)ebx) << 32);
77 uint32_t eax, ebx, ecx, edx; local
79 VMWARE_PORT(GETHZ, eax, eb
96 unsigned int eax; local
[all...]
H A Dintel.c310 unsigned int eax, ebx, ecx, edx; local
316 cpuid_count(4, 0, &eax, &ebx, &ecx, &edx);
317 if (eax & 0x1f)
318 return (eax >> 26) + 1;
378 unsigned eax = cpuid_eax(10); local
380 if ((eax & 0xff) && (((eax>>8) & 0xff) > 1))
H A Damd.c275 u32 eax, ebx, ecx, edx; local
277 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx);
/arch/x86/kernel/acpi/
H A Dcstate.c62 unsigned int eax; member in struct:cstate_entry::__anon3078
76 unsigned int eax, ebx, ecx, edx; local
81 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx);
129 percpu_entry->states[cx->index].eax = 0;
137 percpu_entry->states[cx->index].eax = cx->address;
182 mwait_idle_with_hints(percpu_entry->states[cx->index].eax,
/arch/x86/oprofile/
H A Dop_model_ppro.c79 union cpuid10_eax eax; local
80 eax.full = cpuid_eax(0xa);
86 if (!(eax.split.version_id == 0 &&
90 if (counter_width < eax.split.bit_width)
91 counter_width = eax.split.bit_width;
210 union cpuid10_eax eax; local
212 eax.full = cpuid_eax(0xa);
215 if (eax.split.version_id == 0 && __this_cpu_read(cpu_info.x86) == 6 &&
217 eax.split.version_id = 2;
218 eax
[all...]
/arch/x86/boot/
H A Dcpucheck.c146 u32 eax = 0x80000001; local
148 : "+a" (eax),
204 u32 eax, edx; local
206 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx));
207 eax &= ~(1 << 15);
208 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx));
219 u32 eax, edx; local
221 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx));
222 eax |= (1<<1)|(1<<7);
223 asm("wrmsr" : : "a" (eax), "
231 u32 eax, edx; local
[all...]
/arch/x86/kernel/
H A Dxsave.c364 int eax, ebx, ecx, edx, leaf = 0x2; local
371 cpuid_count(XSTATE_CPUID, leaf, &eax, &ebx, &ecx, &edx);
373 if (eax == 0)
377 xstate_sizes[leaf] = eax;
416 unsigned int eax, ebx, ecx, edx; local
423 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx);
424 pcntxt_mask = eax + ((u64)edx << 32);
442 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx);
H A Dcpuid.c20 * The lower 32 bits of the file position is used as the incoming %eax,
22 * the latter intended for "counting" eax levels like eax=4.
50 u32 eax, ebx, ecx, edx; member in struct:cpuid_regs
57 cpuid_count(cmd->eax, cmd->ecx,
58 &cmd->eax, &cmd->ebx, &cmd->ecx, &cmd->edx);
97 cmd.eax = pos;
/arch/x86/kvm/
H A Dtss.h15 u32 eax; member in struct:tss_segment_32
H A Dcpuid.c100 vcpu->arch.cpuid_entries[i].eax = cpuid_entries[i].eax;
177 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx);
265 entry->eax = min(entry->eax, (u32)0xd);
281 int t, times = entry->eax & 0xff;
305 cache_type = entry[i - 1].eax & 0x1f;
323 entry->eax = 0;
332 union cpuid10_eax eax; local
344 eax
[all...]
/arch/x86/math-emu/
H A Dreg_ld_str.c963 /* The return value (in eax) is zero if the result is exact,
966 /* Overflow is signalled by a non-zero return value (in eax).
972 unsigned eax; local
985 eax = FPU_shrxs(&r->sigl, 63 - exponent(r));
987 #define half_or_more (eax & 0x80000000)
988 #define frac_part (eax)
989 #define more_than_half ((eax & 0x80000001) == 0x80000001)
1020 return eax ? PRECISION_LOST_DOWN : 0;
/arch/x86/pci/
H A Dpcbios.c129 u32 signature, eax, ebx, ecx; local
143 "=a" (eax),
151 status = (eax >> 8) & 0xff;
152 hw_mech = eax & 0xff;

Completed in 1127 milliseconds

12