eax 387 arch/s390/kvm/gaccess.c int eax, rc; eax 443 arch/s390/kvm/gaccess.c eax = (vcpu->arch.sie_block->gcr[8] >> 16) & 0xffff; eax 444 arch/s390/kvm/gaccess.c if (ale.aleax != eax) { eax 445 arch/s390/kvm/gaccess.c if (eax / 16 > aste.atl) eax 448 arch/s390/kvm/gaccess.c authority_table_addr = aste.ato * 4 + eax / 4; eax 456 arch/s390/kvm/gaccess.c if ((authority_table & (0x40 >> ((eax & 3) * 2))) == 0) eax 237 arch/x86/boot/boot.h u32 eax; eax 134 arch/x86/boot/cpucheck.c u32 eax, edx; eax 136 arch/x86/boot/cpucheck.c asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); eax 137 arch/x86/boot/cpucheck.c eax &= ~(1 << 15); eax 138 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); eax 149 arch/x86/boot/cpucheck.c u32 eax, edx; eax 151 arch/x86/boot/cpucheck.c asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); eax 152 arch/x86/boot/cpucheck.c eax |= (1<<1)|(1<<7); eax 153 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); eax 161 arch/x86/boot/cpucheck.c u32 eax, edx; eax 164 arch/x86/boot/cpucheck.c asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); eax 169 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); eax 94 arch/x86/boot/main.c boot_params.ist_info.signature = oreg.eax; eax 60 arch/x86/boot/memory.c if (oreg.eax != SMAP) { eax 396 arch/x86/events/amd/uncore.c unsigned int eax, ebx, ecx, edx; eax 401 arch/x86/events/amd/uncore.c cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); eax 4521 arch/x86/events/intel/core.c union cpuid10_eax eax; eax 4546 arch/x86/events/intel/core.c cpuid(10, &eax.full, &ebx.full, &unused, &edx.full); eax 4547 arch/x86/events/intel/core.c if (eax.split.mask_length < ARCH_PERFMON_EVENTS_COUNT) eax 4550 arch/x86/events/intel/core.c version = eax.split.version_id; eax 4557 arch/x86/events/intel/core.c x86_pmu.num_counters = eax.split.num_counters; eax 4558 arch/x86/events/intel/core.c x86_pmu.cntval_bits = eax.split.bit_width; eax 4559 arch/x86/events/intel/core.c x86_pmu.cntval_mask = (1ULL << eax.split.bit_width) - 1; eax 4562 arch/x86/events/intel/core.c x86_pmu.events_mask_len = eax.split.mask_length; eax 197 arch/x86/events/intel/pt.c u32 eax, ebx, ecx, edx; eax 199 arch/x86/events/intel/pt.c cpuid(CPUID_TSC_LEAF, &eax, &ebx, &ecx, &edx); eax 202 arch/x86/events/intel/pt.c pt_pmu.tsc_art_den = eax; eax 28 arch/x86/include/asm/apm.h u32 *eax, u32 *ebx, u32 *ecx, eax 43 arch/x86/include/asm/apm.h : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx), eax 50 arch/x86/include/asm/apm.h u32 ecx_in, u32 *eax) eax 67 arch/x86/include/asm/apm.h : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx), eax 56 arch/x86/include/asm/asm.h #define _ASM_ARG1L eax eax 628 arch/x86/include/asm/fpu/internal.h u32 eax, edx; eax 631 arch/x86/include/asm/fpu/internal.h : "=a" (eax), "=d" (edx) eax 633 arch/x86/include/asm/fpu/internal.h return eax + ((u64)edx << 32); eax 638 arch/x86/include/asm/fpu/internal.h u32 eax = value; eax 642 arch/x86/include/asm/fpu/internal.h : : "a" (eax), "d" (edx), "c" (index)); eax 20 arch/x86/include/asm/inst.h .ifc \r32,%eax eax 194 arch/x86/include/asm/irqflags.h pushl %eax; \ eax 200 arch/x86/include/asm/irqflags.h popl %eax; eax 223 arch/x86/include/asm/kvm_emulate.h bool (*get_cpuid)(struct x86_emulate_ctxt *ctxt, u32 *eax, u32 *ebx, eax 105 arch/x86/include/asm/microcode.h u32 eax = 0x00000000; eax 108 arch/x86/include/asm/microcode.h native_cpuid(&eax, &ebx, &ecx, &edx); eax 121 arch/x86/include/asm/microcode.h u32 eax = 0x00000001; eax 124 arch/x86/include/asm/microcode.h native_cpuid(&eax, &ebx, &ecx, &edx); eax 126 arch/x86/include/asm/microcode.h return x86_family(eax); eax 26 arch/x86/include/asm/mwait.h static inline void __monitor(const void *eax, unsigned long ecx, eax 31 arch/x86/include/asm/mwait.h :: "a" (eax), "c" (ecx), "d"(edx)); eax 34 arch/x86/include/asm/mwait.h static inline void __monitorx(const void *eax, unsigned long ecx, eax 39 arch/x86/include/asm/mwait.h :: "a" (eax), "c" (ecx), "d"(edx)); eax 42 arch/x86/include/asm/mwait.h static inline void __mwait(unsigned long eax, unsigned long ecx) eax 48 arch/x86/include/asm/mwait.h :: "a" (eax), "c" (ecx)); eax 77 arch/x86/include/asm/mwait.h static inline void __mwaitx(unsigned long eax, unsigned long ebx, eax 84 arch/x86/include/asm/mwait.h :: "a" (eax), "b" (ebx), "c" (ecx)); eax 87 arch/x86/include/asm/mwait.h static inline void __sti_mwait(unsigned long eax, unsigned long ecx) eax 94 arch/x86/include/asm/mwait.h :: "a" (eax), "c" (ecx)); eax 107 arch/x86/include/asm/mwait.h static inline void mwait_idle_with_hints(unsigned long eax, unsigned long ecx) eax 118 arch/x86/include/asm/mwait.h __mwait(eax, ecx); eax 88 arch/x86/include/asm/paravirt.h static inline void __cpuid(unsigned int *eax, unsigned int *ebx, eax 91 arch/x86/include/asm/paravirt.h PVOP_VCALL4(cpu.cpuid, eax, ebx, ecx, edx); eax 844 arch/x86/include/asm/paravirt.h COND_PUSH(set, CLBR_EAX, eax); \ eax 852 arch/x86/include/asm/paravirt.h COND_POP(set, CLBR_EAX, eax) eax 148 arch/x86/include/asm/paravirt_types.h void (*cpuid)(unsigned int *eax, unsigned int *ebx, eax 131 arch/x86/include/asm/processor.h u32 eax, ebx, ecx, edx; eax 197 arch/x86/include/asm/processor.h static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, eax 202 arch/x86/include/asm/processor.h : "=a" (*eax), eax 206 arch/x86/include/asm/processor.h : "0" (*eax), "2" (*ecx) eax 213 arch/x86/include/asm/processor.h unsigned int eax = op, ebx, ecx = 0, edx; \ eax 215 arch/x86/include/asm/processor.h native_cpuid(&eax, &ebx, &ecx, &edx); \ eax 223 arch/x86/include/asm/processor.h native_cpuid_reg(eax) eax 590 arch/x86/include/asm/processor.h unsigned int *eax, unsigned int *ebx, eax 593 arch/x86/include/asm/processor.h *eax = op; eax 595 arch/x86/include/asm/processor.h __cpuid(eax, ebx, ecx, edx); eax 600 arch/x86/include/asm/processor.h unsigned int *eax, unsigned int *ebx, eax 603 arch/x86/include/asm/processor.h *eax = op; eax 605 arch/x86/include/asm/processor.h __cpuid(eax, ebx, ecx, edx); eax 613 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; eax 615 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); eax 617 arch/x86/include/asm/processor.h return eax; eax 622 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; eax 624 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); eax 631 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; eax 633 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); eax 640 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; eax 642 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); eax 946 arch/x86/include/asm/processor.h uint32_t base, eax, signature[3]; eax 949 arch/x86/include/asm/processor.h cpuid(base, &eax, &signature[0], &signature[1], &signature[2]); eax 952 arch/x86/include/asm/processor.h (leaves == 0 || ((eax - base) >= leaves))) eax 37 arch/x86/include/asm/user32.h __u32 ebx, ecx, edx, esi, edi, ebp, eax; eax 56 arch/x86/include/asm/xen/interface_32.h uint32_t eax; eax 198 arch/x86/include/uapi/asm/kvm.h __u32 eax; eax 216 arch/x86/include/uapi/asm/kvm.h __u32 eax; eax 25 arch/x86/include/uapi/asm/ptrace.h long eax; eax 312 arch/x86/include/uapi/asm/sigcontext.h __u32 eax; eax 73 arch/x86/include/uapi/asm/vm86.h long eax; eax 89 arch/x86/kernel/acpi/cstate.c unsigned int eax; eax 103 arch/x86/kernel/acpi/cstate.c unsigned int eax, ebx, ecx, edx; eax 108 arch/x86/kernel/acpi/cstate.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); eax 159 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].eax = 0; eax 168 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].eax = cx->address; eax 190 arch/x86/kernel/acpi/cstate.c mwait_idle_with_hints(percpu_entry->states[cx->index].eax, eax 190 arch/x86/kernel/apic/x2apic_uv_x.c #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f) eax 194 arch/x86/kernel/apic/x2apic_uv_x.c unsigned int eax, ebx, ecx, edx, sub_index; eax 197 arch/x86/kernel/apic/x2apic_uv_x.c cpuid(0, &eax, &ebx, &ecx, &edx); eax 198 arch/x86/kernel/apic/x2apic_uv_x.c if (eax < 0xb) { eax 203 arch/x86/kernel/apic/x2apic_uv_x.c cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx); eax 209 arch/x86/kernel/apic/x2apic_uv_x.c sid_shift = BITS_SHIFT_NEXT_LEVEL(eax); eax 212 arch/x86/kernel/apic/x2apic_uv_x.c cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); eax 214 arch/x86/kernel/apic/x2apic_uv_x.c sid_shift = BITS_SHIFT_NEXT_LEVEL(eax); eax 571 arch/x86/kernel/apm_32.c u32 eax; eax 612 arch/x86/kernel/apm_32.c &call->eax, &call->ebx, &call->ecx, &call->edx, eax 620 arch/x86/kernel/apm_32.c return call->eax & 0xff; eax 642 arch/x86/kernel/apm_32.c call->err = (call->eax >> 8) & 0xff; eax 690 arch/x86/kernel/apm_32.c &call->eax); eax 713 arch/x86/kernel/apm_32.c static int apm_bios_call_simple(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax, eax 724 arch/x86/kernel/apm_32.c *eax = call.eax; eax 747 arch/x86/kernel/apm_32.c u32 eax; eax 750 arch/x86/kernel/apm_32.c if (apm_bios_call_simple(APM_FUNC_VERSION, 0, *val, &eax, &err)) eax 752 arch/x86/kernel/apm_32.c *val = eax; eax 806 arch/x86/kernel/apm_32.c u32 eax; eax 809 arch/x86/kernel/apm_32.c if (apm_bios_call_simple(APM_FUNC_SET_STATE, what, state, &eax, &err)) eax 837 arch/x86/kernel/apm_32.c u32 eax; eax 844 arch/x86/kernel/apm_32.c ret = apm_bios_call_simple(APM_FUNC_IDLE, 0, 0, &eax, &err); eax 1002 arch/x86/kernel/apm_32.c u32 eax; eax 1008 arch/x86/kernel/apm_32.c enable, &eax, &err)) eax 1061 arch/x86/kernel/apm_32.c u32 eax; eax 1075 arch/x86/kernel/apm_32.c if (apm_bios_call(APM_FUNC_GET_STATUS, (0x8000 | (which)), 0, &eax, eax 1077 arch/x86/kernel/apm_32.c return (eax >> 8) & 0xff; eax 1097 arch/x86/kernel/apm_32.c u32 eax; eax 1104 arch/x86/kernel/apm_32.c &eax, &err)) eax 344 arch/x86/kernel/cpu/amd.c u32 eax, ebx, ecx, edx; eax 346 arch/x86/kernel/cpu/amd.c cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); eax 1012 arch/x86/kernel/cpu/amd.c u32 ebx, eax, ecx, edx; eax 1021 arch/x86/kernel/cpu/amd.c cpuid(0x80000006, &eax, &ebx, &ecx, &edx); eax 1031 arch/x86/kernel/cpu/amd.c cpuid(0x80000005, &eax, &ebx, &ecx, &edx); eax 1036 arch/x86/kernel/cpu/amd.c if (!((eax >> 16) & mask)) eax 1039 arch/x86/kernel/cpu/amd.c tlb_lld_2m[ENTRIES] = (eax >> 16) & mask; eax 1045 arch/x86/kernel/cpu/amd.c if (!(eax & mask)) { eax 1050 arch/x86/kernel/cpu/amd.c cpuid(0x80000005, &eax, &ebx, &ecx, &edx); eax 1051 arch/x86/kernel/cpu/amd.c tlb_lli_2m[ENTRIES] = eax & 0xff; eax 1054 arch/x86/kernel/cpu/amd.c tlb_lli_2m[ENTRIES] = eax & mask; eax 158 arch/x86/kernel/cpu/cacheinfo.c union _cpuid4_leaf_eax eax; eax 230 arch/x86/kernel/cpu/cacheinfo.c amd_cpuid4(int leaf, union _cpuid4_leaf_eax *eax, eax 241 arch/x86/kernel/cpu/cacheinfo.c eax->full = 0; eax 285 arch/x86/kernel/cpu/cacheinfo.c eax->split.is_self_initializing = 1; eax 286 arch/x86/kernel/cpu/cacheinfo.c eax->split.type = types[leaf]; eax 287 arch/x86/kernel/cpu/cacheinfo.c eax->split.level = levels[leaf]; eax 288 arch/x86/kernel/cpu/cacheinfo.c eax->split.num_threads_sharing = 0; eax 289 arch/x86/kernel/cpu/cacheinfo.c eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; eax 293 arch/x86/kernel/cpu/cacheinfo.c eax->split.is_fully_associative = 1; eax 595 arch/x86/kernel/cpu/cacheinfo.c union _cpuid4_leaf_eax eax; eax 602 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(0x8000001d, index, &eax.full, eax 605 arch/x86/kernel/cpu/cacheinfo.c amd_cpuid4(index, &eax, &ebx, &ecx); eax 608 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(0x8000001d, index, &eax.full, eax 612 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); eax 615 arch/x86/kernel/cpu/cacheinfo.c if (eax.split.type == CTYPE_NULL) eax 618 arch/x86/kernel/cpu/cacheinfo.c this_leaf->eax = eax; eax 630 arch/x86/kernel/cpu/cacheinfo.c unsigned int eax, ebx, ecx, edx, op; eax 643 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(op, i, &eax, &ebx, &ecx, &edx); eax 644 arch/x86/kernel/cpu/cacheinfo.c cache_eax.full = eax; eax 672 arch/x86/kernel/cpu/cacheinfo.c u32 eax, ebx, ecx, edx, num_sharing_cache = 0; eax 675 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(0x8000001d, llc_index, &eax, &ebx, &ecx, &edx); eax 676 arch/x86/kernel/cpu/cacheinfo.c if (eax) eax 677 arch/x86/kernel/cpu/cacheinfo.c num_sharing_cache = ((eax >> 14) & 0xfff) + 1; eax 753 arch/x86/kernel/cpu/cacheinfo.c switch (this_leaf.eax.split.level) { eax 755 arch/x86/kernel/cpu/cacheinfo.c if (this_leaf.eax.split.type == CTYPE_DATA) eax 757 arch/x86/kernel/cpu/cacheinfo.c else if (this_leaf.eax.split.type == CTYPE_INST) eax 762 arch/x86/kernel/cpu/cacheinfo.c num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing; eax 768 arch/x86/kernel/cpu/cacheinfo.c num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing; eax 904 arch/x86/kernel/cpu/cacheinfo.c nshared = base->eax.split.num_threads_sharing + 1; eax 950 arch/x86/kernel/cpu/cacheinfo.c num_threads_sharing = 1 + base->eax.split.num_threads_sharing; eax 975 arch/x86/kernel/cpu/cacheinfo.c this_leaf->level = base->eax.split.level; eax 976 arch/x86/kernel/cpu/cacheinfo.c this_leaf->type = cache_type_map[base->eax.split.type]; eax 1012 arch/x86/kernel/cpu/cacheinfo.c num_threads_sharing = 1 + id4_regs->eax.split.num_threads_sharing; eax 170 arch/x86/kernel/cpu/centaur.c unsigned int eax = cpuid_eax(10); eax 177 arch/x86/kernel/cpu/centaur.c if ((eax & 0xff) && (((eax >> 8) & 0xff) > 1)) eax 656 arch/x86/kernel/cpu/common.c unsigned int eax, ebx, ecx, edx; eax 662 arch/x86/kernel/cpu/common.c cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); eax 663 arch/x86/kernel/cpu/common.c if (eax & 0x1f) eax 664 arch/x86/kernel/cpu/common.c c->x86_max_cores = (eax >> 26) + 1; eax 731 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; eax 742 arch/x86/kernel/cpu/common.c cpuid(1, &eax, &ebx, &ecx, &edx); eax 889 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; eax 892 arch/x86/kernel/cpu/common.c cpuid_count(0xf, 1, &eax, &ebx, &ecx, &edx); eax 901 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; eax 905 arch/x86/kernel/cpu/common.c cpuid(0x00000001, &eax, &ebx, &ecx, &edx); eax 917 arch/x86/kernel/cpu/common.c cpuid_count(0x00000007, 0, &eax, &ebx, &ecx, &edx); eax 923 arch/x86/kernel/cpu/common.c if (eax >= 1) { eax 924 arch/x86/kernel/cpu/common.c cpuid_count(0x00000007, 1, &eax, &ebx, &ecx, &edx); eax 925 arch/x86/kernel/cpu/common.c c->x86_capability[CPUID_7_1_EAX] = eax; eax 931 arch/x86/kernel/cpu/common.c cpuid_count(0x0000000d, 1, &eax, &ebx, &ecx, &edx); eax 933 arch/x86/kernel/cpu/common.c c->x86_capability[CPUID_D_1_EAX] = eax; eax 937 arch/x86/kernel/cpu/common.c eax = cpuid_eax(0x80000000); eax 938 arch/x86/kernel/cpu/common.c c->extended_cpuid_level = eax; eax 940 arch/x86/kernel/cpu/common.c if ((eax & 0xffff0000) == 0x80000000) { eax 941 arch/x86/kernel/cpu/common.c if (eax >= 0x80000001) { eax 942 arch/x86/kernel/cpu/common.c cpuid(0x80000001, &eax, &ebx, &ecx, &edx); eax 950 arch/x86/kernel/cpu/common.c cpuid(0x80000007, &eax, &ebx, &ecx, &edx); eax 957 arch/x86/kernel/cpu/common.c cpuid(0x80000008, &eax, &ebx, &ecx, &edx); eax 978 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; eax 981 arch/x86/kernel/cpu/common.c cpuid(0x80000008, &eax, &ebx, &ecx, &edx); eax 983 arch/x86/kernel/cpu/common.c c->x86_virt_bits = (eax >> 8) & 0xff; eax 984 arch/x86/kernel/cpu/common.c c->x86_phys_bits = eax & 0xff; eax 73 arch/x86/kernel/cpu/hygon.c u32 eax, ebx, ecx, edx; eax 75 arch/x86/kernel/cpu/hygon.c cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); eax 358 arch/x86/kernel/cpu/hygon.c u32 ebx, eax, ecx, edx; eax 364 arch/x86/kernel/cpu/hygon.c cpuid(0x80000006, &eax, &ebx, &ecx, &edx); eax 370 arch/x86/kernel/cpu/hygon.c if (!((eax >> 16) & mask)) eax 373 arch/x86/kernel/cpu/hygon.c tlb_lld_2m[ENTRIES] = (eax >> 16) & mask; eax 379 arch/x86/kernel/cpu/hygon.c if (!(eax & mask)) { eax 380 arch/x86/kernel/cpu/hygon.c cpuid(0x80000005, &eax, &ebx, &ecx, &edx); eax 381 arch/x86/kernel/cpu/hygon.c tlb_lli_2m[ENTRIES] = eax & 0xff; eax 383 arch/x86/kernel/cpu/hygon.c tlb_lli_2m[ENTRIES] = eax & mask; eax 321 arch/x86/kernel/cpu/intel.c u32 eax, ebx, ecx, edx; eax 323 arch/x86/kernel/cpu/intel.c cpuid(0x00000001, &eax, &ebx, &ecx, &edx); eax 682 arch/x86/kernel/cpu/intel.c unsigned eax = cpuid_eax(10); eax 684 arch/x86/kernel/cpu/intel.c if ((eax & 0xff) && (((eax>>8) & 0xff) > 1)) eax 59 arch/x86/kernel/cpu/intel_pconfig.c ®s.eax, ®s.ebx, ®s.ecx, ®s.edx); eax 61 arch/x86/kernel/cpu/intel_pconfig.c switch (regs.eax & PCONFIG_CPUID_SUBLEAF_MASK) { eax 393 arch/x86/kernel/cpu/microcode/intel.c unsigned int eax, ebx, ecx, edx; eax 397 arch/x86/kernel/cpu/microcode/intel.c eax = 0x00000001; eax 399 arch/x86/kernel/cpu/microcode/intel.c native_cpuid(&eax, &ebx, &ecx, &edx); eax 400 arch/x86/kernel/cpu/microcode/intel.c csig.sig = eax; eax 402 arch/x86/kernel/cpu/microcode/intel.c family = x86_family(eax); eax 403 arch/x86/kernel/cpu/microcode/intel.c model = x86_model(eax); eax 501 arch/x86/kernel/cpu/microcode/intel.c unsigned int eax = 1, ebx, ecx = 0, edx; eax 507 arch/x86/kernel/cpu/microcode/intel.c native_cpuid(&eax, &ebx, &ecx, &edx); eax 510 arch/x86/kernel/cpu/microcode/intel.c x86_family(eax), x86_model(eax), x86_stepping(eax)); eax 151 arch/x86/kernel/cpu/mshyperv.c u32 eax; eax 158 arch/x86/kernel/cpu/mshyperv.c &eax, &hyp_signature[0], &hyp_signature[1], &hyp_signature[2]); eax 160 arch/x86/kernel/cpu/mshyperv.c if (eax >= HYPERV_CPUID_MIN && eax 161 arch/x86/kernel/cpu/mshyperv.c eax <= HYPERV_CPUID_MAX && eax 255 arch/x86/kernel/cpu/resctrl/core.c union cpuid_0x10_3_eax eax; eax 259 arch/x86/kernel/cpu/resctrl/core.c cpuid_count(0x00000010, 3, &eax.full, &ebx, &ecx, &edx.full); eax 261 arch/x86/kernel/cpu/resctrl/core.c r->membw.max_delay = eax.split.max_delay + 1; eax 281 arch/x86/kernel/cpu/resctrl/core.c union cpuid_0x10_3_eax eax; eax 285 arch/x86/kernel/cpu/resctrl/core.c cpuid_count(0x80000020, 1, &eax.full, &ebx, &ecx, &edx.full); eax 305 arch/x86/kernel/cpu/resctrl/core.c union cpuid_0x10_1_eax eax; eax 309 arch/x86/kernel/cpu/resctrl/core.c cpuid_count(0x00000010, idx, &eax.full, &ebx, &ecx, &edx.full); eax 311 arch/x86/kernel/cpu/resctrl/core.c r->cache.cbm_len = eax.split.cbm_len + 1; eax 312 arch/x86/kernel/cpu/resctrl/core.c r->default_ctrl = BIT_MASK(eax.split.cbm_len + 1) - 1; eax 25 arch/x86/kernel/cpu/topology.c #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f) eax 37 arch/x86/kernel/cpu/topology.c unsigned int eax, ebx, ecx, edx; eax 39 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); eax 68 arch/x86/kernel/cpu/topology.c unsigned int eax, ebx, ecx, edx; eax 77 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); eax 95 arch/x86/kernel/cpu/topology.c unsigned int eax, ebx, ecx, edx, sub_index; eax 108 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); eax 111 arch/x86/kernel/cpu/topology.c core_plus_mask_width = ht_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); eax 113 arch/x86/kernel/cpu/topology.c die_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); eax 117 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, sub_index, &eax, &ebx, &ecx, &edx); eax 124 arch/x86/kernel/cpu/topology.c core_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); eax 126 arch/x86/kernel/cpu/topology.c die_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); eax 130 arch/x86/kernel/cpu/topology.c die_plus_mask_width = BITS_SHIFT_NEXT_LEVEL(eax); eax 51 arch/x86/kernel/cpu/vmware.c #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ eax 53 arch/x86/kernel/cpu/vmware.c "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ eax 59 arch/x86/kernel/cpu/vmware.c #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \ eax 61 arch/x86/kernel/cpu/vmware.c "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ eax 67 arch/x86/kernel/cpu/vmware.c #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \ eax 69 arch/x86/kernel/cpu/vmware.c "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ eax 75 arch/x86/kernel/cpu/vmware.c #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ eax 78 arch/x86/kernel/cpu/vmware.c VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \ eax 81 arch/x86/kernel/cpu/vmware.c VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \ eax 84 arch/x86/kernel/cpu/vmware.c VMWARE_PORT(cmd, eax, ebx, ecx, edx); \ eax 94 arch/x86/kernel/cpu/vmware.c uint32_t eax, ebx, ecx, edx; eax 95 arch/x86/kernel/cpu/vmware.c VMWARE_CMD(GETVERSION, eax, ebx, ecx, edx); eax 96 arch/x86/kernel/cpu/vmware.c return eax != (uint32_t)-1 && ebx == VMWARE_HYPERVISOR_MAGIC; eax 175 arch/x86/kernel/cpu/vmware.c uint32_t eax, ebx, ecx, edx; eax 178 arch/x86/kernel/cpu/vmware.c VMWARE_CMD(GETHZ, eax, ebx, ecx, edx); eax 181 arch/x86/kernel/cpu/vmware.c lpj = tsc_khz = eax | (((uint64_t)ebx) << 32); eax 218 arch/x86/kernel/cpu/vmware.c int eax, ebx, ecx, edx; eax 220 arch/x86/kernel/cpu/vmware.c cpuid(CPUID_VMWARE_FEATURES_LEAF, &eax, &ebx, &ecx, &edx); eax 235 arch/x86/kernel/cpu/vmware.c unsigned int eax; eax 238 arch/x86/kernel/cpu/vmware.c cpuid(CPUID_VMWARE_INFO_LEAF, &eax, &hyper_vendor_id[0], eax 241 arch/x86/kernel/cpu/vmware.c if (eax >= CPUID_VMWARE_FEATURES_LEAF) eax 260 arch/x86/kernel/cpu/vmware.c uint32_t eax, ebx, ecx, edx; eax 261 arch/x86/kernel/cpu/vmware.c VMWARE_CMD(GETVCPU_INFO, eax, ebx, ecx, edx); eax 262 arch/x86/kernel/cpu/vmware.c return (eax & (1 << VMWARE_CMD_VCPU_RESERVED)) == 0 && eax 263 arch/x86/kernel/cpu/vmware.c (eax & (1 << VMWARE_CMD_LEGACY_X2APIC)) != 0; eax 78 arch/x86/kernel/cpu/zhaoxin.c u32 eax, ebx, ecx, edx; eax 80 arch/x86/kernel/cpu/zhaoxin.c cpuid(0x00000001, &eax, &ebx, &ecx, &edx); eax 127 arch/x86/kernel/cpu/zhaoxin.c unsigned int eax = cpuid_eax(10); eax 134 arch/x86/kernel/cpu/zhaoxin.c if ((eax & 0xff) && (((eax >> 8) & 0xff) > 1)) eax 55 arch/x86/kernel/cpuid.c cpuid_count(cmd->regs.eax, cmd->regs.ecx, eax 56 arch/x86/kernel/cpuid.c &cmd->regs.eax, &cmd->regs.ebx, eax 82 arch/x86/kernel/cpuid.c cmd.regs.eax = pos; eax 120 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; eax 122 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); eax 248 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx, i; eax 266 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, i, &eax, &ebx, &ecx, &edx); eax 275 arch/x86/kernel/fpu/xstate.c xstate_sizes[i] = eax; eax 326 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; eax 329 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); eax 434 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; eax 447 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); eax 453 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; eax 456 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); eax 457 arch/x86/kernel/fpu/xstate.c return eax; eax 501 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; eax 512 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, i, &eax, &ebx, &ecx, &edx); eax 514 arch/x86/kernel/fpu/xstate.c XSTATE_CPUID, i, eax, ebx, ecx, edx); eax 625 arch/x86/kernel/fpu/xstate.c unsigned int eax, ebx, ecx, edx; eax 634 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, 1, &eax, &ebx, &ecx, &edx); eax 640 arch/x86/kernel/fpu/xstate.c unsigned int eax, ebx, ecx, edx; eax 648 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); eax 714 arch/x86/kernel/fpu/xstate.c unsigned int eax, ebx, ecx, edx; eax 738 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); eax 739 arch/x86/kernel/fpu/xstate.c xfeatures_mask = eax + ((u64)edx << 32); eax 884 arch/x86/kernel/ptrace.c R32(eax, ax); eax 957 arch/x86/kernel/ptrace.c R32(eax, ax); eax 1663 arch/x86/kernel/smpboot.c unsigned int eax, ebx, ecx, edx; eax 1679 arch/x86/kernel/smpboot.c eax = CPUID_MWAIT_LEAF; eax 1681 arch/x86/kernel/smpboot.c native_cpuid(&eax, &ebx, &ecx, &edx); eax 1688 arch/x86/kernel/smpboot.c eax = 0; eax 1697 arch/x86/kernel/smpboot.c eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | eax 1723 arch/x86/kernel/smpboot.c __mwait(eax, 0); eax 131 arch/x86/kernel/vm86_32.c put_user_ex(regs->pt.ax, &user->regs.eax); eax 295 arch/x86/kernel/vm86_32.c get_user_ex(vm86regs.pt.ax, &user_vm86->regs.eax); eax 35 arch/x86/kvm/cpuid.c u32 eax, ebx, ecx, edx, offset; eax 36 arch/x86/kvm/cpuid.c cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); eax 38 arch/x86/kvm/cpuid.c ret = max(ret, offset + eax); eax 110 arch/x86/kvm/cpuid.c (best->eax | ((u64)best->edx << 32)) & eax 117 arch/x86/kvm/cpuid.c if (best && (best->eax & (F(XSAVES) | F(XSAVEC)))) eax 126 arch/x86/kvm/cpuid.c int vaddr_bits = (best->eax & 0xff00) >> 8; eax 134 arch/x86/kvm/cpuid.c (best->eax & (1 << KVM_FEATURE_PV_UNHALT))) eax 135 arch/x86/kvm/cpuid.c best->eax &= ~(1 << KVM_FEATURE_PV_UNHALT); eax 187 arch/x86/kvm/cpuid.c if (!best || best->eax < 0x80000008) eax 191 arch/x86/kvm/cpuid.c return best->eax & 0xff; eax 222 arch/x86/kvm/cpuid.c vcpu->arch.cpuid_entries[i].eax = cpuid_entries[i].eax; eax 297 arch/x86/kvm/cpuid.c &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); eax 329 arch/x86/kvm/cpuid.c entry->eax = 7; eax 338 arch/x86/kvm/cpuid.c entry->eax = 0; eax 384 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 1u); eax 417 arch/x86/kvm/cpuid.c entry->eax &= kvm_cpuid_7_1_eax_x86_features; eax 424 arch/x86/kvm/cpuid.c entry->eax = 0; eax 519 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 0x1fU); eax 535 arch/x86/kvm/cpuid.c int t, times = entry->eax & 0xff; eax 557 arch/x86/kvm/cpuid.c cache_type = entry[i - 1].eax & 0x1f; eax 566 arch/x86/kvm/cpuid.c entry->eax = 0x4; /* allow ARAT */ eax 577 arch/x86/kvm/cpuid.c if (i == entry->eax) eax 592 arch/x86/kvm/cpuid.c union cpuid10_eax eax; eax 604 arch/x86/kvm/cpuid.c eax.split.version_id = min(cap.version, 2); eax 605 arch/x86/kvm/cpuid.c eax.split.num_counters = cap.num_counters_gp; eax 606 arch/x86/kvm/cpuid.c eax.split.bit_width = cap.bit_width_gp; eax 607 arch/x86/kvm/cpuid.c eax.split.mask_length = cap.events_mask_len; eax 613 arch/x86/kvm/cpuid.c entry->eax = eax.full; eax 648 arch/x86/kvm/cpuid.c entry->eax &= supported; eax 662 arch/x86/kvm/cpuid.c entry[i].eax &= kvm_cpuid_D_1_eax_x86_features; eax 663 arch/x86/kvm/cpuid.c cpuid_mask(&entry[i].eax, CPUID_D_1_EAX); eax 665 arch/x86/kvm/cpuid.c if (entry[i].eax & (F(XSAVES)|F(XSAVEC))) eax 670 arch/x86/kvm/cpuid.c if (entry[i].eax == 0 || !(supported & mask)) eax 684 arch/x86/kvm/cpuid.c int t, times = entry->eax; eax 700 arch/x86/kvm/cpuid.c entry->eax = KVM_CPUID_FEATURES; eax 707 arch/x86/kvm/cpuid.c entry->eax = (1 << KVM_FEATURE_CLOCKSOURCE) | eax 721 arch/x86/kvm/cpuid.c entry->eax |= (1 << KVM_FEATURE_STEAL_TIME); eax 728 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 0x8000001f); eax 741 arch/x86/kvm/cpuid.c entry->eax = entry->ebx = entry->ecx = 0; eax 744 arch/x86/kvm/cpuid.c unsigned g_phys_as = (entry->eax >> 16) & 0xff; eax 745 arch/x86/kvm/cpuid.c unsigned virt_as = max((entry->eax >> 8) & 0xff, 48U); eax 746 arch/x86/kvm/cpuid.c unsigned phys_as = entry->eax & 0xff; eax 750 arch/x86/kvm/cpuid.c entry->eax = g_phys_as | (virt_as << 8); eax 788 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 0xC0000004); eax 800 arch/x86/kvm/cpuid.c entry->eax = entry->ebx = entry->ecx = entry->edx = 0; eax 906 arch/x86/kvm/cpuid.c limit = cpuid_entries[nent - 1].eax; eax 993 arch/x86/kvm/cpuid.c return max && function <= max->eax; eax 996 arch/x86/kvm/cpuid.c bool kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, eax 999 arch/x86/kvm/cpuid.c u32 function = *eax, index = *ecx; eax 1016 arch/x86/kvm/cpuid.c function = max->eax; eax 1021 arch/x86/kvm/cpuid.c *eax = entry->eax; eax 1026 arch/x86/kvm/cpuid.c *eax = *ebx = *ecx = *edx = 0; eax 1042 arch/x86/kvm/cpuid.c trace_kvm_cpuid(function, *eax, *ebx, *ecx, *edx, found); eax 1049 arch/x86/kvm/cpuid.c u32 eax, ebx, ecx, edx; eax 1054 arch/x86/kvm/cpuid.c eax = kvm_rax_read(vcpu); eax 1056 arch/x86/kvm/cpuid.c kvm_cpuid(vcpu, &eax, &ebx, &ecx, &edx, true); eax 1057 arch/x86/kvm/cpuid.c kvm_rax_write(vcpu, eax); eax 25 arch/x86/kvm/cpuid.h bool kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, eax 79 arch/x86/kvm/cpuid.h return &entry->eax; eax 132 arch/x86/kvm/cpuid.h return x86_family(best->eax); eax 143 arch/x86/kvm/cpuid.h return x86_model(best->eax); eax 154 arch/x86/kvm/cpuid.h return x86_stepping(best->eax); eax 360 arch/x86/kvm/emulate.c FOP1E(op##l, eax) \ eax 391 arch/x86/kvm/emulate.c FOP2E(op##l, eax, edx) \ eax 400 arch/x86/kvm/emulate.c FOP2E(op##l, eax, edx) \ eax 409 arch/x86/kvm/emulate.c FOP2E(op##l, eax, cl) \ eax 418 arch/x86/kvm/emulate.c FOP2E(op##l, edx, eax) \ eax 432 arch/x86/kvm/emulate.c FOP3E(op##l, eax, edx, cl) \ eax 2380 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; eax 2382 arch/x86/kvm/emulate.c eax = 0x80000001; eax 2384 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); eax 2723 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; eax 2725 arch/x86/kvm/emulate.c eax = ecx = 0; eax 2726 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); eax 2735 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; eax 2744 arch/x86/kvm/emulate.c eax = 0x00000000; eax 2746 arch/x86/kvm/emulate.c ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); eax 3169 arch/x86/kvm/emulate.c tss->eax = reg_read(ctxt, VCPU_REGS_RAX); eax 3198 arch/x86/kvm/emulate.c *reg_write(ctxt, VCPU_REGS_RAX) = tss->eax; eax 3656 arch/x86/kvm/emulate.c u32 ebx, ecx, edx, eax = 1; eax 3662 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); eax 3993 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; eax 4002 arch/x86/kvm/emulate.c eax = reg_read(ctxt, VCPU_REGS_RAX); eax 4004 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, true); eax 4005 arch/x86/kvm/emulate.c *reg_write(ctxt, VCPU_REGS_RAX) = eax; eax 4061 arch/x86/kvm/emulate.c u32 eax = 1, ebx, ecx = 0, edx; eax 4063 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); eax 4198 arch/x86/kvm/emulate.c u32 eax, ecx, edx; eax 4200 arch/x86/kvm/emulate.c eax = reg_read(ctxt, VCPU_REGS_RAX); eax 4204 arch/x86/kvm/emulate.c if (ctxt->ops->set_xcr(ctxt, ecx, ((u64)edx << 32) | eax)) eax 4272 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; eax 4274 arch/x86/kvm/emulate.c eax = 0x80000008; eax 4276 arch/x86/kvm/emulate.c if (ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, eax 4278 arch/x86/kvm/emulate.c maxphyaddr = eax & 0xff; eax 1822 arch/x86/kvm/hyperv.c ent->eax = HYPERV_CPUID_NESTED_FEATURES; eax 1830 arch/x86/kvm/hyperv.c ent->eax = signature[0]; eax 1838 arch/x86/kvm/hyperv.c ent->eax = 0x00003839; eax 1843 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_MSR_VP_RUNTIME_AVAILABLE; eax 1844 arch/x86/kvm/hyperv.c ent->eax |= HV_MSR_TIME_REF_COUNT_AVAILABLE; eax 1845 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_MSR_SYNIC_AVAILABLE; eax 1846 arch/x86/kvm/hyperv.c ent->eax |= HV_MSR_SYNTIMER_AVAILABLE; eax 1847 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_MSR_APIC_ACCESS_AVAILABLE; eax 1848 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_MSR_HYPERCALL_AVAILABLE; eax 1849 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_MSR_VP_INDEX_AVAILABLE; eax 1850 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_MSR_RESET_AVAILABLE; eax 1851 arch/x86/kvm/hyperv.c ent->eax |= HV_MSR_REFERENCE_TSC_AVAILABLE; eax 1852 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_ACCESS_FREQUENCY_MSRS; eax 1853 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_ACCESS_REENLIGHTENMENT; eax 1871 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED; eax 1872 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_APIC_ACCESS_RECOMMENDED; eax 1873 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_RELAXED_TIMING_RECOMMENDED; eax 1874 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_CLUSTER_IPI_RECOMMENDED; eax 1875 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED; eax 1877 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_ENLIGHTENED_VMCS_RECOMMENDED; eax 1879 arch/x86/kvm/hyperv.c ent->eax |= HV_X64_NO_NONARCH_CORESHARING; eax 1890 arch/x86/kvm/hyperv.c ent->eax = KVM_MAX_VCPUS; eax 1900 arch/x86/kvm/hyperv.c ent->eax = evmcs_ver; eax 2142 arch/x86/kvm/svm.c u32 eax = 1; eax 2156 arch/x86/kvm/svm.c kvm_cpuid(vcpu, &eax, &dummy, &dummy, &dummy, true); eax 2157 arch/x86/kvm/svm.c kvm_rdx_write(vcpu, eax); eax 5975 arch/x86/kvm/svm.c entry->eax = 1; /* SVM revision 1 */ eax 5994 arch/x86/kvm/svm.c cpuid(0x8000001f, &entry->eax, &entry->ebx, eax 16 arch/x86/kvm/tss.h u32 eax; eax 275 arch/x86/kvm/vmx/pmu_intel.c union cpuid10_eax eax; eax 288 arch/x86/kvm/vmx/pmu_intel.c eax.full = entry->eax; eax 291 arch/x86/kvm/vmx/pmu_intel.c pmu->version = eax.split.version_id; eax 297 arch/x86/kvm/vmx/pmu_intel.c pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, eax 299 arch/x86/kvm/vmx/pmu_intel.c pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; eax 301 arch/x86/kvm/vmx/pmu_intel.c ((1ull << eax.split.mask_length) - 1); eax 600 arch/x86/kvm/vmx/vmx.c u32 eax = cpuid_eax(0x00000001), i; eax 603 arch/x86/kvm/vmx/vmx.c eax &= ~(0x3U << 14 | 0xfU << 28); eax 605 arch/x86/kvm/vmx/vmx.c if (eax == vmx_preemption_cpu_tfms[i]) eax 7004 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM] = best->eax; eax 6236 arch/x86/kvm/x86.c u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, bool check_limit) eax 6238 arch/x86/kvm/x86.c return kvm_cpuid(emul_to_vcpu(ctxt), eax, ebx, ecx, edx, check_limit); eax 973 arch/x86/math-emu/reg_ld_str.c unsigned eax; eax 986 arch/x86/math-emu/reg_ld_str.c eax = FPU_shrxs(&r->sigl, 63 - exponent(r)); eax 988 arch/x86/math-emu/reg_ld_str.c #define half_or_more (eax & 0x80000000) eax 989 arch/x86/math-emu/reg_ld_str.c #define frac_part (eax) eax 990 arch/x86/math-emu/reg_ld_str.c #define more_than_half ((eax & 0x80000001) == 0x80000001) eax 1021 arch/x86/math-emu/reg_ld_str.c return eax ? PRECISION_LOST_DOWN : 0; eax 490 arch/x86/mm/mem_encrypt_identity.c unsigned int eax, ebx, ecx, edx; eax 498 arch/x86/mm/mem_encrypt_identity.c eax = 0x80000000; eax 500 arch/x86/mm/mem_encrypt_identity.c native_cpuid(&eax, &ebx, &ecx, &edx); eax 501 arch/x86/mm/mem_encrypt_identity.c if (eax < 0x8000001f) eax 510 arch/x86/mm/mem_encrypt_identity.c eax = 1; eax 512 arch/x86/mm/mem_encrypt_identity.c native_cpuid(&eax, &ebx, &ecx, &edx); eax 523 arch/x86/mm/mem_encrypt_identity.c eax = 0x8000001f; eax 525 arch/x86/mm/mem_encrypt_identity.c native_cpuid(&eax, &ebx, &ecx, &edx); eax 526 arch/x86/mm/mem_encrypt_identity.c if (!(eax & feature_mask)) eax 79 arch/x86/oprofile/op_model_ppro.c union cpuid10_eax eax; eax 80 arch/x86/oprofile/op_model_ppro.c eax.full = cpuid_eax(0xa); eax 86 arch/x86/oprofile/op_model_ppro.c if (!(eax.split.version_id == 0 && eax 90 arch/x86/oprofile/op_model_ppro.c if (counter_width < eax.split.bit_width) eax 91 arch/x86/oprofile/op_model_ppro.c counter_width = eax.split.bit_width; eax 210 arch/x86/oprofile/op_model_ppro.c union cpuid10_eax eax; eax 212 arch/x86/oprofile/op_model_ppro.c eax.full = cpuid_eax(0xa); eax 215 arch/x86/oprofile/op_model_ppro.c if (eax.split.version_id == 0 && boot_cpu_data.x86 == 6 && eax 217 arch/x86/oprofile/op_model_ppro.c eax.split.version_id = 2; eax 218 arch/x86/oprofile/op_model_ppro.c eax.split.num_counters = 2; eax 219 arch/x86/oprofile/op_model_ppro.c eax.split.bit_width = 40; eax 222 arch/x86/oprofile/op_model_ppro.c num_counters = min((int)eax.split.num_counters, OP_MAX_COUNTER); eax 135 arch/x86/pci/pcbios.c u32 signature, eax, ebx, ecx; eax 149 arch/x86/pci/pcbios.c "=a" (eax), eax 157 arch/x86/pci/pcbios.c status = (eax >> 8) & 0xff; eax 158 arch/x86/pci/pcbios.c hw_mech = eax & 0xff; eax 435 arch/x86/pci/xen.c uint32_t eax = cpuid_eax(xen_cpuid_base() + 4); eax 437 arch/x86/pci/xen.c if (((eax & XEN_HVM_CPUID_X2APIC_VIRT) && x2apic_mode) || eax 438 arch/x86/pci/xen.c ((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && boot_cpu_has(X86_FEATURE_APIC))) eax 88 arch/x86/xen/enlighten_hvm.c uint32_t eax, ebx, ecx, edx, base; eax 91 arch/x86/xen/enlighten_hvm.c eax = cpuid_eax(base + 1); eax 93 arch/x86/xen/enlighten_hvm.c major = eax >> 16; eax 94 arch/x86/xen/enlighten_hvm.c minor = eax & 0xffff; eax 114 arch/x86/xen/enlighten_hvm.c cpuid(base + 4, &eax, &ebx, &ecx, &edx); eax 115 arch/x86/xen/enlighten_hvm.c if (eax & XEN_HVM_CPUID_VCPU_ID_PRESENT) eax 101 arch/x86/xen/pmu.c uint32_t eax, ebx, ecx, edx; eax 103 arch/x86/xen/pmu.c cpuid(0xa, &eax, &ebx, &ecx, &edx); eax 105 arch/x86/xen/pmu.c intel_num_arch_counters = (eax & PMU_GENERAL_NR_MASK) >> eax 36 drivers/acpi/acpi_pad.c unsigned int eax, ebx, ecx, edx; eax 46 drivers/acpi/acpi_pad.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); eax 126 drivers/char/toshiba.c unsigned long eax,ecx,flags; eax 129 drivers/char/toshiba.c eax = regs->eax & 0xff00; eax 135 drivers/char/toshiba.c if (eax==0xfe00) { eax 141 drivers/char/toshiba.c regs->eax = 0x00; eax 144 drivers/char/toshiba.c if ((eax==0xff00) && (ecx==0x0000)) { eax 152 drivers/char/toshiba.c regs->eax = 0x00; eax 155 drivers/char/toshiba.c if ((eax==0xff00) && (ecx==0x0001)) { eax 163 drivers/char/toshiba.c regs->eax = 0x00; eax 171 drivers/char/toshiba.c if (eax==0xfe00) { eax 177 drivers/char/toshiba.c regs->eax = 0x00; eax 180 drivers/char/toshiba.c if ((eax==0xff00) && (ecx==0x0000)) { eax 187 drivers/char/toshiba.c regs->eax = 0x00; eax 190 drivers/char/toshiba.c if ((eax==0xff00) && (ecx==0x0001)) { eax 197 drivers/char/toshiba.c regs->eax = 0x00; eax 211 drivers/char/toshiba.c int eax; eax 238 drivers/char/toshiba.c : "=a" (eax) eax 242 drivers/char/toshiba.c return eax; eax 262 drivers/char/toshiba.c ax = regs.eax & 0xff00; eax 364 drivers/char/toshiba.c regs.eax = 0xc000; eax 428 drivers/char/toshiba.c regs.eax = 0xf0f0; eax 435 drivers/char/toshiba.c if ((flag==1) || ((regs.eax & 0xff00)==0x8600)) { eax 138 drivers/cpufreq/longrun.c u32 eax, ebx, ecx, edx; eax 143 drivers/cpufreq/longrun.c cpuid(0x80860007, &eax, &ebx, &ecx, &edx); eax 144 drivers/cpufreq/longrun.c pr_debug("cpuid eax is %u\n", eax); eax 146 drivers/cpufreq/longrun.c return eax * 1000; eax 164 drivers/cpufreq/longrun.c u32 eax, ebx, ecx, edx; eax 211 drivers/cpufreq/longrun.c cpuid(0x80860007, &eax, &ebx, &ecx, &edx); eax 222 drivers/cpufreq/longrun.c cpuid(0x80860007, &eax, &ebx, &ecx, &edx); eax 227 drivers/cpufreq/longrun.c pr_debug("percentage is %u %%, freq is %u MHz\n", ecx, eax); eax 237 drivers/cpufreq/longrun.c if ((ecx > 95) || (ecx == 0) || (eax < ebx)) eax 240 drivers/cpufreq/longrun.c edx = ((eax - ebx) * 100) / (100 - ecx); eax 120 drivers/cpufreq/powernow-k7.c unsigned int maxei, eax, ebx, ecx, edx; eax 139 drivers/cpufreq/powernow-k7.c cpuid(0x80000007, &eax, &ebx, &ecx, &edx); eax 462 drivers/cpufreq/powernow-k8.c u32 eax, ebx, ecx, edx; eax 467 drivers/cpufreq/powernow-k8.c eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE); eax 469 drivers/cpufreq/powernow-k8.c if ((eax & CPUID_XFAM) == CPUID_XFAM_K8) { eax 470 drivers/cpufreq/powernow-k8.c if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) || eax 471 drivers/cpufreq/powernow-k8.c ((eax & CPUID_XMOD) > CPUID_XMOD_REV_MASK)) { eax 472 drivers/cpufreq/powernow-k8.c pr_info("Processor cpuid %x not supported\n", eax); eax 476 drivers/cpufreq/powernow-k8.c eax = cpuid_eax(CPUID_GET_MAX_CAPABILITIES); eax 477 drivers/cpufreq/powernow-k8.c if (eax < CPUID_FREQ_VOLT_CAPABILITIES) { eax 482 drivers/cpufreq/powernow-k8.c cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); eax 89 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si = 0, di = 0; eax 95 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 118 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; eax 128 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 148 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long si, di, eax, ebx, ecx, edx; eax 163 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 184 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 203 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long si, di, eax, ebx, ecx, edx; eax 216 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 233 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 257 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; eax 272 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 310 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; eax 330 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 374 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); eax 59 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ eax 62 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=a"(eax), \ eax 103 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ eax 109 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=a"(eax), \ eax 128 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ eax 134 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=a"(eax), \ eax 162 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ eax 170 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=a"(eax), \ eax 189 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ eax 197 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=a"(eax), \ eax 120 drivers/hwmon/coretemp.c u32 eax, edx; eax 126 drivers/hwmon/coretemp.c rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); eax 129 drivers/hwmon/coretemp.c return sprintf(buf, "%d\n", (eax >> 5) & 1); eax 153 drivers/hwmon/coretemp.c u32 eax, edx; eax 162 drivers/hwmon/coretemp.c rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); eax 169 drivers/hwmon/coretemp.c tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; eax 234 drivers/hwmon/coretemp.c u32 eax, edx; eax 276 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); eax 282 drivers/hwmon/coretemp.c } else if (c->x86_model < 0x17 && !(eax & 0x10000000)) { eax 310 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); eax 315 drivers/hwmon/coretemp.c } else if (eax & 0x40000000) { eax 344 drivers/hwmon/coretemp.c u32 eax, edx; eax 351 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(id, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); eax 356 drivers/hwmon/coretemp.c val = (eax >> 16) & 0xff; eax 456 drivers/hwmon/coretemp.c u32 eax, edx; eax 475 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx); eax 489 drivers/hwmon/coretemp.c &eax, &edx); eax 492 drivers/hwmon/coretemp.c = tdata->tjmax - ((eax >> 8) & 0xff) * 1000; eax 119 drivers/hwmon/dell-smm-hwmon.c unsigned int eax; eax 141 drivers/hwmon/dell-smm-hwmon.c int eax = regs->eax; eax 208 drivers/hwmon/dell-smm-hwmon.c if (rc != 0 || (regs->eax & 0xffff) == 0xffff || regs->eax == eax) eax 215 drivers/hwmon/dell-smm-hwmon.c pr_debug("smm(0x%.4x 0x%.4x) = 0x%.4x (took %7lu usecs)\n", eax, ebx, eax 216 drivers/hwmon/dell-smm-hwmon.c (rc ? 0xffff : regs->eax & 0xffff), duration); eax 241 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_GET_FAN, }; eax 247 drivers/hwmon/dell-smm-hwmon.c return i8k_smm(®s) ? : regs.eax & 0xff; eax 255 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_GET_SPEED, }; eax 261 drivers/hwmon/dell-smm-hwmon.c return i8k_smm(®s) ? : (regs.eax & 0xffff) * i8k_fan_mult; eax 269 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_GET_FAN_TYPE, }; eax 275 drivers/hwmon/dell-smm-hwmon.c return i8k_smm(®s) ? : regs.eax & 0xff; eax 294 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_GET_NOM_SPEED, }; eax 300 drivers/hwmon/dell-smm-hwmon.c return i8k_smm(®s) ? : (regs.eax & 0xffff) * i8k_fan_mult; eax 308 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_SET_FAN, }; eax 321 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_GET_TEMP_TYPE, }; eax 324 drivers/hwmon/dell-smm-hwmon.c return i8k_smm(®s) ? : regs.eax & 0xff; eax 333 drivers/hwmon/dell-smm-hwmon.c .eax = I8K_SMM_GET_TEMP, eax 337 drivers/hwmon/dell-smm-hwmon.c return i8k_smm(®s) ? : regs.eax & 0xff; eax 371 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = req_fn, }; eax 378 drivers/hwmon/dell-smm-hwmon.c return regs.eax == 1145651527 && regs.edx == 1145392204 ? 0 : -1; eax 388 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_FN_STATUS, }; eax 395 drivers/hwmon/dell-smm-hwmon.c switch ((regs.eax >> I8K_FN_SHIFT) & I8K_FN_MASK) { eax 412 drivers/hwmon/dell-smm-hwmon.c struct smm_regs regs = { .eax = I8K_SMM_POWER_STATUS, }; eax 419 drivers/hwmon/dell-smm-hwmon.c return (regs.eax & 0xff) == I8K_POWER_AC ? I8K_AC : I8K_BATTERY; eax 68 drivers/hwmon/via-cputemp.c u32 eax, edx; eax 71 drivers/hwmon/via-cputemp.c err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); eax 75 drivers/hwmon/via-cputemp.c return sprintf(buf, "%lu\n", ((unsigned long)eax & 0xffffff) * 1000); eax 82 drivers/hwmon/via-cputemp.c u32 eax, edx; eax 85 drivers/hwmon/via-cputemp.c err = rdmsr_safe_on_cpu(data->id, data->msr_vid, &eax, &edx); eax 115 drivers/hwmon/via-cputemp.c u32 eax, edx; eax 146 drivers/hwmon/via-cputemp.c err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); eax 108 drivers/idle/intel_idle.c #define MWAIT2flg(eax) ((eax & 0xFF) << 24) eax 902 drivers/idle/intel_idle.c unsigned long eax = flg2MWAIT(state->flags); eax 915 drivers/idle/intel_idle.c cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & eax 924 drivers/idle/intel_idle.c mwait_idle_with_hints(eax, ecx); eax 942 drivers/idle/intel_idle.c unsigned long eax = flg2MWAIT(drv->states[index].flags); eax 944 drivers/idle/intel_idle.c mwait_idle_with_hints(eax, ecx); eax 1103 drivers/idle/intel_idle.c unsigned int eax, ebx, ecx; eax 1128 drivers/idle/intel_idle.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); eax 1264 drivers/idle/intel_idle.c unsigned int eax, ebx, ecx, edx; eax 1282 drivers/idle/intel_idle.c cpuid(7, &eax, &ebx, &ecx, &edx); eax 57 drivers/input/misc/wistron_btns.c u32 eax, ebx, ecx; eax 70 drivers/input/misc/wistron_btns.c : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) eax 71 drivers/input/misc/wistron_btns.c : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), eax 152 drivers/input/misc/wistron_btns.c regs.eax = 0x9610; eax 157 drivers/input/misc/wistron_btns.c return regs.eax; eax 165 drivers/input/misc/wistron_btns.c regs.eax = 0x9610; eax 175 drivers/input/misc/wistron_btns.c regs.eax = 0x9610; eax 185 drivers/input/misc/wistron_btns.c regs.eax = 0x9610; eax 197 drivers/input/misc/wistron_btns.c regs.eax = 0x9610; eax 201 drivers/input/misc/wistron_btns.c return regs.eax; eax 209 drivers/input/misc/wistron_btns.c regs.eax = 0x9610; eax 668 drivers/platform/x86/acer-wmi.c u32 eax; eax 675 drivers/platform/x86/acer-wmi.c u32 eax; eax 769 drivers/platform/x86/acer-wmi.c args.eax = ACER_AMW0_WRITE; eax 813 drivers/platform/x86/acer-wmi.c args.eax = 0x86; eax 876 drivers/platform/x86/acer-wmi.c args.eax = ACER_AMW0_WRITE; eax 895 drivers/platform/x86/acer-wmi.c if (ret.eax & 0x1) eax 918 drivers/platform/x86/acer-wmi.c if (ret.eax & 0x1) eax 2503 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, eax 2515 drivers/platform/x86/toshiba_acpi.c regs->eax = out[0]; eax 2549 drivers/platform/x86/toshiba_acpi.c if (regs.eax != SCI_GET && regs.eax != SCI_SET) eax 213 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c u32 eax, edx; eax 217 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); eax 221 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c val = (eax >> 16) & 0xff; eax 231 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c u32 eax, edx; eax 238 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c err = rdmsr_safe_on_cpu(cpu, MSR_IA32_THERM_STATUS, &eax, eax 243 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (eax & 0x80000000) { eax 244 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c curr_temp_off = (eax >> 16) & 0x7f; eax 182 drivers/thermal/intel/intel_powerclamp.c unsigned int eax, ebx, ecx, edx; eax 190 drivers/thermal/intel/intel_powerclamp.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); eax 49 drivers/thermal/intel/intel_soc_dts_iosf.c u32 eax, edx; eax 53 drivers/thermal/intel/intel_soc_dts_iosf.c err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); eax 57 drivers/thermal/intel/intel_soc_dts_iosf.c val = (eax >> 16) & 0xff; eax 111 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 eax, edx, val; eax 114 drivers/thermal/intel/x86_pkg_temp_thermal.c err = rdmsr_safe_on_cpu(cpu, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); eax 118 drivers/thermal/intel/x86_pkg_temp_thermal.c val = (eax >> 16) & 0xff; eax 127 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 eax, edx; eax 130 drivers/thermal/intel/x86_pkg_temp_thermal.c &eax, &edx); eax 131 drivers/thermal/intel/x86_pkg_temp_thermal.c if (eax & 0x80000000) { eax 132 drivers/thermal/intel/x86_pkg_temp_thermal.c *temp = zonedev->tj_max - ((eax >> 16) & 0x7f) * 1000; eax 144 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 mask, shift, eax, edx; eax 159 drivers/thermal/intel/x86_pkg_temp_thermal.c &eax, &edx); eax 163 drivers/thermal/intel/x86_pkg_temp_thermal.c thres_reg_value = (eax & mask) >> shift; eax 332 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 tj_max, eax, ebx, ecx, edx; eax 339 drivers/thermal/intel/x86_pkg_temp_thermal.c cpuid(6, &eax, &ebx, &ecx, &edx); eax 1296 drivers/video/fbdev/neofb.c regs.eax = 0xff00; /* HCI_SET */ eax 1337 drivers/video/fbdev/neofb.c regs.eax = 0xff00; /* HCI_SET */ eax 371 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f04; eax 379 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) { eax 381 drivers/video/fbdev/uvesafb.c task->t.regs.eax, err); eax 402 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f04; eax 410 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) eax 412 drivers/video/fbdev/uvesafb.c task->t.regs.eax, err); eax 422 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f00; eax 429 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) { eax 431 drivers/video/fbdev/uvesafb.c (u32)task->t.regs.eax, err); eax 502 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f01; eax 509 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) { eax 511 drivers/video/fbdev/uvesafb.c *mode, (u32)task->t.regs.eax, err); eax 560 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f0a; eax 564 drivers/video/fbdev/uvesafb.c if ((task->t.regs.eax & 0xffff) != 0x4f || task->t.regs.es < 0xc000) { eax 621 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f15; eax 629 drivers/video/fbdev/uvesafb.c if ((task->t.regs.eax & 0xffff) != 0x004f || err) eax 643 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f15; eax 654 drivers/video/fbdev/uvesafb.c if ((task->t.regs.eax & 0xffff) == 0x004f && !err) { eax 764 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f04; eax 771 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) { eax 773 drivers/video/fbdev/uvesafb.c task->t.regs.eax, err); eax 970 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f09; eax 979 drivers/video/fbdev/uvesafb.c if ((task->t.regs.eax & 0xffff) != 0x004f) eax 1140 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f10; eax 1156 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) eax 1200 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x0003; eax 1237 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f02; eax 1278 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f) { eax 1285 drivers/video/fbdev/uvesafb.c task->t.regs.eax, err); eax 1293 drivers/video/fbdev/uvesafb.c task->t.regs.eax, err); eax 1304 drivers/video/fbdev/uvesafb.c task->t.regs.eax = 0x4f08; eax 1308 drivers/video/fbdev/uvesafb.c if (err || (task->t.regs.eax & 0xffff) != 0x004f || eax 1654 drivers/visorbus/visorchipset.c unsigned int eax, ebx, ecx, edx; eax 1658 drivers/visorbus/visorchipset.c cpuid(UNISYS_VISOR_LEAF_ID, &eax, &ebx, &ecx, &edx); eax 729 drivers/xen/xenbus/xenbus_xs.c uint32_t eax, ebx, ecx, edx, base; eax 732 drivers/xen/xenbus/xenbus_xs.c cpuid(base + 1, &eax, &ebx, &ecx, &edx); eax 734 drivers/xen/xenbus/xenbus_xs.c if ((eax >> 16) < 4) eax 39 include/uapi/linux/toshiba.h unsigned int eax; eax 14 include/uapi/video/uvesafb.h __u32 eax; eax 29 include/xen/interface/hvm/hvm_vcpu.h uint32_t eax; eax 59 lib/raid6/x86.h u32 eax, ebx, ecx, edx; eax 61 lib/raid6/x86.h eax = (flag & 0x100) ? 7 : eax 66 lib/raid6/x86.h : "+a" (eax), "=b" (ebx), "=d" (edx), "+c" (ecx)); eax 289 sound/pci/au88x0/au88x0_core.c int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; eax 292 sound/pci/au88x0/au88x0_core.c eax = hwread(vortex->mmio, VORTEX_MIXER_SR); eax 293 sound/pci/au88x0/au88x0_core.c if (((1 << ch) & eax) == 0) { eax 294 sound/pci/au88x0/au88x0_core.c dev_err(vortex->card->dev, "mix ALARM %x\n", eax); eax 689 sound/pci/au88x0/au88x0_core.c int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; eax 692 sound/pci/au88x0/au88x0_core.c eax = hwread(vortex->mmio, VORTEX_SRCBLOCK_SR); eax 693 sound/pci/au88x0/au88x0_core.c if (((1 << ch) & eax) == 0) { eax 598 sound/pci/au88x0/au88x0_eq.c u32 eax, ebx; eax 603 sound/pci/au88x0/au88x0_eq.c eax = eq->this0e; eax 605 sound/pci/au88x0/au88x0_eq.c eax = eq->this0a; eax 606 sound/pci/au88x0/au88x0_eq.c ebx = (eax * eq->this58) >> 0x10; eax 607 sound/pci/au88x0/au88x0_eq.c eax = (eax * eq->this5c) >> 0x10; eax 608 sound/pci/au88x0/au88x0_eq.c vortex_EqHw_SetA3DBypassGain(vortex, ebx, eax); eax 614 sound/pci/au88x0/au88x0_eq.c u32 eax, ebx; eax 617 sound/pci/au88x0/au88x0_eq.c eax = eq->this0e; eax 619 sound/pci/au88x0/au88x0_eq.c eax = eq->this0a; eax 620 sound/pci/au88x0/au88x0_eq.c ebx = (eax * eq->this58) >> 0x10; eax 621 sound/pci/au88x0/au88x0_eq.c eax = (eax * eq->this5c) >> 0x10; eax 622 sound/pci/au88x0/au88x0_eq.c vortex_EqHw_SetA3DBypassGain(vortex, ebx, eax); eax 328 sound/pci/au88x0/au88x0_synth.c int ecx = vol[1], eax = vol[0]; eax 341 sound/pci/au88x0/au88x0_synth.c eax >>= 8; eax 342 sound/pci/au88x0/au88x0_synth.c ecx = eax; eax 348 sound/pci/au88x0/au88x0_synth.c voice->parm3 |= (eax & 0x7f); eax 351 sound/pci/au88x0/au88x0_synth.c voice->parm3 |= (eax & 0xFE00) << 5; eax 361 sound/pci/au88x0/au88x0_synth.c u32 eax, edx; eax 364 sound/pci/au88x0/au88x0_synth.c eax = ((sr << 0xf) * 0x57619F1) & 0xffffffff; eax 371 sound/pci/au88x0/au88x0_synth.c eax = 0x7fff; eax 374 sound/pci/au88x0/au88x0_synth.c eax = 7; eax 377 sound/pci/au88x0/au88x0_synth.c eax--; eax 378 sound/pci/au88x0/au88x0_synth.c if (eax == 0) eax 381 sound/pci/au88x0/au88x0_synth.c if (eax) eax 383 sound/pci/au88x0/au88x0_synth.c eax <<= 0xc; eax 385 sound/pci/au88x0/au88x0_synth.c eax |= edx; eax 388 sound/pci/au88x0/au88x0_synth.c eax = 0; eax 390 sound/pci/au88x0/au88x0_synth.c voice->parm0 |= (eax & 0x7fff) << 1; eax 198 tools/arch/x86/include/uapi/asm/kvm.h __u32 eax; eax 216 tools/arch/x86/include/uapi/asm/kvm.h __u32 eax; eax 6 tools/build/feature/test-get_cpuid.c unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; eax 7 tools/build/feature/test-get_cpuid.c return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); eax 55 tools/perf/arch/x86/util/dwarf-regs.c REG_OFFSET_NAME_32("%ax", eax), eax 309 tools/perf/arch/x86/util/intel-pt.c unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; eax 311 tools/perf/arch/x86/util/intel-pt.c __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); eax 313 tools/perf/arch/x86/util/intel-pt.c *d = eax; eax 63 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(eax, ax), eax 25 tools/power/cpupower/debug/i386/intel_gsic.c r.eax = 0x0000E980; eax 34 tools/power/cpupower/debug/i386/intel_gsic.c if (r.eax == 0x47534943) { eax 37 tools/power/cpupower/debug/i386/intel_gsic.c (r.eax >> 24) & 0xff, eax 38 tools/power/cpupower/debug/i386/intel_gsic.c (r.eax >> 16) & 0xff, eax 39 tools/power/cpupower/debug/i386/intel_gsic.c (r.eax >> 8) & 0xff, eax 40 tools/power/cpupower/debug/i386/intel_gsic.c (r.eax) & 0xff); eax 63 tools/power/cpupower/debug/i386/intel_gsic.c printf("eax = 0x%.8x\n", r.eax); eax 27 tools/power/cpupower/utils/helpers/cpuid.c unsigned int eax, ebx, ecx, edx; \ eax 28 tools/power/cpupower/utils/helpers/cpuid.c __cpuid(op, eax, ebx, ecx, edx); \ eax 31 tools/power/cpupower/utils/helpers/cpuid.c cpuid_func(eax); eax 1726 tools/power/x86/turbostat/turbostat.c unsigned int eax, ebx, ecx, edx; eax 1729 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; eax 1730 tools/power/x86/turbostat/turbostat.c __cpuid(1, eax, ebx, ecx, edx); eax 1744 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; eax 1745 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000001, eax, ebx, ecx, edx); eax 1751 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; eax 1752 tools/power/x86/turbostat/turbostat.c __cpuid(0x8000001e, eax, ebx, ecx, edx); eax 1754 tools/power/x86/turbostat/turbostat.c t->x2apic_id = eax; eax 1765 tools/power/x86/turbostat/turbostat.c __cpuid(0xb, eax, ebx, ecx, edx); eax 4014 tools/power/x86/turbostat/turbostat.c unsigned int eax, ebx, ecx, edx; eax 4019 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000007, eax, ebx, ecx, edx); eax 4639 tools/power/x86/turbostat/turbostat.c unsigned int eax, ebx, ecx, edx; eax 4643 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; eax 4704 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000007, eax, ebx, ecx, edx); eax 4713 tools/power/x86/turbostat/turbostat.c __cpuid(0x6, eax, ebx, ecx, edx); eax 4720 tools/power/x86/turbostat/turbostat.c do_dts = eax & (1 << 0); eax 4723 tools/power/x86/turbostat/turbostat.c has_turbo = eax & (1 << 1); eax 4724 tools/power/x86/turbostat/turbostat.c do_ptm = eax & (1 << 6); eax 4727 tools/power/x86/turbostat/turbostat.c has_hwp = eax & (1 << 7); eax 4728 tools/power/x86/turbostat/turbostat.c has_hwp_notify = eax & (1 << 8); eax 4729 tools/power/x86/turbostat/turbostat.c has_hwp_activity_window = eax & (1 << 9); eax 4730 tools/power/x86/turbostat/turbostat.c has_hwp_epp = eax & (1 << 10); eax 4731 tools/power/x86/turbostat/turbostat.c has_hwp_pkg = eax & (1 << 11); eax 4757 tools/power/x86/turbostat/turbostat.c __cpuid_count(0x7, 0, eax, ebx, ecx, edx); eax 1264 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int *eax, unsigned int *ebx, eax 1267 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (!__get_cpuid(leaf, eax, ebx, ecx, edx)) eax 1278 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int eax, ebx, ecx, edx; eax 1295 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(0x6, &eax, &ebx, &ecx, &edx); eax 1296 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c turbo_is_enabled = (eax >> 1) & 1; eax 1297 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c has_hwp = (eax >> 7) & 1; eax 1308 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int eax, ebx, ecx, edx, max_level; eax 1311 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c eax = ebx = ecx = edx = 0; eax 1347 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(0x6, &eax, &ebx, &ecx, &edx); eax 1350 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c has_hwp_notify = eax & (1 << 8); eax 1351 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c has_hwp_activity_window = eax & (1 << 9); eax 1352 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c has_hwp_epp = eax & (1 << 10); eax 1353 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c has_hwp_request_pkg = eax & (1 << 11); eax 386 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM1(x) ((x)->eax) eax 393 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RC(x) ((x)->eax) eax 79 tools/testing/selftests/kvm/include/x86_64/processor.h uint32_t eax, edx; eax 85 tools/testing/selftests/kvm/include/x86_64/processor.h __asm__ __volatile__("lfence; rdtsc" : "=a"(eax), "=d"(edx)); eax 86 tools/testing/selftests/kvm/include/x86_64/processor.h return ((uint64_t)edx) << 32 | eax; eax 91 tools/testing/selftests/kvm/include/x86_64/processor.h uint32_t eax, edx; eax 93 tools/testing/selftests/kvm/include/x86_64/processor.h __asm__ __volatile__("rdtscp" : "=a"(eax), "=d"(edx), "=c"(*aux)); eax 94 tools/testing/selftests/kvm/include/x86_64/processor.h return ((uint64_t)edx) << 32 | eax; eax 1147 tools/testing/selftests/kvm/lib/x86_64/processor.c int eax, ebx, ecx, edx; eax 1153 tools/testing/selftests/kvm/lib/x86_64/processor.c : /* output */ "=a"(eax), "=b"(ebx), eax 1163 tools/testing/selftests/kvm/lib/x86_64/processor.c return kvm_get_supported_cpuid_entry(0x80000000)->eax; eax 1178 tools/testing/selftests/kvm/lib/x86_64/processor.c *pa_bits = entry->eax & 0xff; eax 1179 tools/testing/selftests/kvm/lib/x86_64/processor.c *va_bits = (entry->eax >> 8) & 0xff; eax 29 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c uint32_t eax, ebx, ecx, edx; eax 35 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) eax 82 tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c int nononarchcs = !!(entry->eax & (1UL << 18)); eax 1582 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_RET eax eax 306 tools/testing/selftests/x86/entry_from_vm86.c v86.regs.eax = 0; eax 311 tools/testing/selftests/x86/entry_from_vm86.c v86.regs.eax = X86_EFLAGS_IF; eax 316 tools/testing/selftests/x86/entry_from_vm86.c v86.regs.eax = X86_EFLAGS_IF; eax 325 tools/testing/selftests/x86/entry_from_vm86.c v86.regs.eax = (unsigned int)-1; eax 734 tools/testing/selftests/x86/ldt_gdt.c unsigned int eax; eax 743 tools/testing/selftests/x86/ldt_gdt.c eax = 243; eax 758 tools/testing/selftests/x86/ldt_gdt.c "+a" (eax) eax 774 tools/testing/selftests/x86/ldt_gdt.c eax = 243; eax 789 tools/testing/selftests/x86/ldt_gdt.c "+a" (eax) eax 805 tools/testing/selftests/x86/ldt_gdt.c eax = 243; eax 822 tools/testing/selftests/x86/ldt_gdt.c "+a" (eax) eax 858 tools/testing/selftests/x86/ldt_gdt.c eax = 243; eax 875 tools/testing/selftests/x86/ldt_gdt.c "+a" (eax) eax 59 tools/testing/selftests/x86/pkey-helpers.h unsigned int eax, edx; eax 64 tools/testing/selftests/x86/pkey-helpers.h : "=a" (eax), "=d" (edx) eax 66 tools/testing/selftests/x86/pkey-helpers.h pkru = eax; eax 85 tools/testing/selftests/x86/pkey-helpers.h unsigned int eax = pkru; eax 91 tools/testing/selftests/x86/pkey-helpers.h : : "a" (eax), "c" (ecx), "d" (edx)); eax 145 tools/testing/selftests/x86/pkey-helpers.h static inline void __cpuid(unsigned int *eax, unsigned int *ebx, eax 151 tools/testing/selftests/x86/pkey-helpers.h : "=a" (*eax), eax 155 tools/testing/selftests/x86/pkey-helpers.h : "0" (*eax), "2" (*ecx)); eax 164 tools/testing/selftests/x86/pkey-helpers.h unsigned int eax; eax 169 tools/testing/selftests/x86/pkey-helpers.h eax = 0x7; eax 171 tools/testing/selftests/x86/pkey-helpers.h __cpuid(&eax, &ebx, &ecx, &edx); eax 189 tools/testing/selftests/x86/pkey-helpers.h unsigned int eax; eax 201 tools/testing/selftests/x86/pkey-helpers.h eax = XSTATE_CPUID; eax 203 tools/testing/selftests/x86/pkey-helpers.h __cpuid(&eax, &ebx, &ecx, &edx); eax 207 tools/testing/selftests/x86/pkey-helpers.h xstate_size = eax; eax 38 tools/testing/selftests/x86/ptrace_syscall.c # define user_ax eax eax 102 tools/testing/selftests/x86/unwind_vdso.c unsigned long eax = _Unwind_GetGR(ctx, 0); eax 109 tools/testing/selftests/x86/unwind_vdso.c bool ok = (eax == SYS_getpid || eax == getpid()) && eax 117 tools/testing/selftests/x86/unwind_vdso.c eax, ebx, ecx, edx, esi, edi, ebp);