edx 235 arch/x86/boot/boot.h u32 edx; edx 134 arch/x86/boot/cpucheck.c u32 eax, edx; edx 136 arch/x86/boot/cpucheck.c asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); edx 138 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); edx 149 arch/x86/boot/cpucheck.c u32 eax, edx; edx 151 arch/x86/boot/cpucheck.c asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); edx 153 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); edx 161 arch/x86/boot/cpucheck.c u32 eax, edx; edx 164 arch/x86/boot/cpucheck.c asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); edx 165 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (~0), "d" (edx), "c" (ecx)); edx 169 arch/x86/boot/cpucheck.c asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); edx 91 arch/x86/boot/main.c ireg.edx = 0x47534943; /* Request value */ edx 97 arch/x86/boot/main.c boot_params.ist_info.perf_level = oreg.edx; edx 28 arch/x86/boot/memory.c ireg.edx = SMAP; edx 134 arch/x86/entry/calling.h xorl %edx, %edx /* nospec dx */ edx 396 arch/x86/events/amd/uncore.c unsigned int eax, ebx, ecx, edx; edx 401 arch/x86/events/amd/uncore.c cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); edx 4520 arch/x86/events/intel/core.c union cpuid10_edx edx; edx 4546 arch/x86/events/intel/core.c cpuid(10, &eax.full, &ebx.full, &unused, &edx.full); edx 4574 arch/x86/events/intel/core.c max((int)edx.split.num_counters_fixed, assume); edx 197 arch/x86/events/intel/pt.c u32 eax, ebx, ecx, edx; edx 199 arch/x86/events/intel/pt.c cpuid(CPUID_TSC_LEAF, &eax, &ebx, &ecx, &edx); edx 29 arch/x86/include/asm/apm.h u32 *edx, u32 *esi) edx 43 arch/x86/include/asm/apm.h : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx), edx 57 arch/x86/include/asm/asm.h #define _ASM_ARG2L edx edx 87 arch/x86/include/asm/asm.h #define _ASM_ARG3L edx edx 628 arch/x86/include/asm/fpu/internal.h u32 eax, edx; edx 631 arch/x86/include/asm/fpu/internal.h : "=a" (eax), "=d" (edx) edx 633 arch/x86/include/asm/fpu/internal.h return eax + ((u64)edx << 32); edx 639 arch/x86/include/asm/fpu/internal.h u32 edx = value >> 32; edx 642 arch/x86/include/asm/fpu/internal.h : : "a" (eax), "d" (edx), "c" (index)); edx 26 arch/x86/include/asm/inst.h .ifc \r32,%edx edx 196 arch/x86/include/asm/irqflags.h pushl %edx; \ edx 198 arch/x86/include/asm/irqflags.h popl %edx; \ edx 224 arch/x86/include/asm/kvm_emulate.h u32 *ecx, u32 *edx, bool check_limit); edx 91 arch/x86/include/asm/microcode.h #define CPUID_IS(a, b, c, ebx, ecx, edx) \ edx 92 arch/x86/include/asm/microcode.h (!((ebx ^ (a))|(edx ^ (b))|(ecx ^ (c)))) edx 106 arch/x86/include/asm/microcode.h u32 ebx, ecx = 0, edx; edx 108 arch/x86/include/asm/microcode.h native_cpuid(&eax, &ebx, &ecx, &edx); edx 110 arch/x86/include/asm/microcode.h if (CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx)) edx 113 arch/x86/include/asm/microcode.h if (CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx)) edx 122 arch/x86/include/asm/microcode.h u32 ebx, ecx = 0, edx; edx 124 arch/x86/include/asm/microcode.h native_cpuid(&eax, &ebx, &ecx, &edx); edx 27 arch/x86/include/asm/mwait.h unsigned long edx) edx 31 arch/x86/include/asm/mwait.h :: "a" (eax), "c" (ecx), "d"(edx)); edx 35 arch/x86/include/asm/mwait.h unsigned long edx) edx 39 arch/x86/include/asm/mwait.h :: "a" (eax), "c" (ecx), "d"(edx)); edx 89 arch/x86/include/asm/paravirt.h unsigned int *ecx, unsigned int *edx) edx 91 arch/x86/include/asm/paravirt.h PVOP_VCALL4(cpu.cpuid, eax, ebx, ecx, edx); edx 847 arch/x86/include/asm/paravirt.h COND_PUSH(set, CLBR_EDX, edx) edx 849 arch/x86/include/asm/paravirt.h COND_POP(set, CLBR_EDX, edx); \ edx 149 arch/x86/include/asm/paravirt_types.h unsigned int *ecx, unsigned int *edx); edx 131 arch/x86/include/asm/processor.h u32 eax, ebx, ecx, edx; edx 198 arch/x86/include/asm/processor.h unsigned int *ecx, unsigned int *edx) edx 205 arch/x86/include/asm/processor.h "=d" (*edx) edx 213 arch/x86/include/asm/processor.h unsigned int eax = op, ebx, ecx = 0, edx; \ edx 215 arch/x86/include/asm/processor.h native_cpuid(&eax, &ebx, &ecx, &edx); \ edx 226 arch/x86/include/asm/processor.h native_cpuid_reg(edx) edx 591 arch/x86/include/asm/processor.h unsigned int *ecx, unsigned int *edx) edx 595 arch/x86/include/asm/processor.h __cpuid(eax, ebx, ecx, edx); edx 601 arch/x86/include/asm/processor.h unsigned int *ecx, unsigned int *edx) edx 605 arch/x86/include/asm/processor.h __cpuid(eax, ebx, ecx, edx); edx 613 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; edx 615 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); edx 622 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; edx 624 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); edx 631 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; edx 633 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); edx 640 arch/x86/include/asm/processor.h unsigned int eax, ebx, ecx, edx; edx 642 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); edx 644 arch/x86/include/asm/processor.h return edx; edx 80 arch/x86/include/asm/special_insns.h u32 edx, pkru; edx 87 arch/x86/include/asm/special_insns.h : "=a" (pkru), "=d" (edx) edx 94 arch/x86/include/asm/special_insns.h u32 ecx = 0, edx = 0; edx 101 arch/x86/include/asm/special_insns.h : : "a" (pkru), "c"(ecx), "d"(edx)); edx 37 arch/x86/include/asm/user32.h __u32 ebx, ecx, edx, esi, edi, ebp, eax; edx 52 arch/x86/include/asm/xen/interface_32.h uint32_t edx; edx 201 arch/x86/include/uapi/asm/kvm.h __u32 edx; edx 219 arch/x86/include/uapi/asm/kvm.h __u32 edx; edx 21 arch/x86/include/uapi/asm/ptrace.h long edx; edx 310 arch/x86/include/uapi/asm/sigcontext.h __u32 edx; edx 69 arch/x86/include/uapi/asm/vm86.h long edx; edx 103 arch/x86/kernel/acpi/cstate.c unsigned int eax, ebx, ecx, edx; edx 108 arch/x86/kernel/acpi/cstate.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); edx 113 arch/x86/kernel/acpi/cstate.c edx_part = edx >> (cstate_type * MWAIT_SUBSTATE_SIZE); edx 194 arch/x86/kernel/apic/x2apic_uv_x.c unsigned int eax, ebx, ecx, edx, sub_index; edx 197 arch/x86/kernel/apic/x2apic_uv_x.c cpuid(0, &eax, &ebx, &ecx, &edx); edx 203 arch/x86/kernel/apic/x2apic_uv_x.c cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx); edx 212 arch/x86/kernel/apic/x2apic_uv_x.c cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); edx 572 arch/x86/kernel/apm_32.c u32 edx; edx 612 arch/x86/kernel/apm_32.c &call->eax, &call->ebx, &call->ecx, &call->edx, edx 1050 arch/x86/kernel/apm_32.c *life = swab16((u16)call.edx); edx 1053 arch/x86/kernel/apm_32.c *life = call.edx; edx 1064 arch/x86/kernel/apm_32.c u32 edx; edx 1076 arch/x86/kernel/apm_32.c &ebx, &ecx, &edx, &esi)) edx 1080 arch/x86/kernel/apm_32.c *life = edx; edx 344 arch/x86/kernel/cpu/amd.c u32 eax, ebx, ecx, edx; edx 346 arch/x86/kernel/cpu/amd.c cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); edx 1012 arch/x86/kernel/cpu/amd.c u32 ebx, eax, ecx, edx; edx 1021 arch/x86/kernel/cpu/amd.c cpuid(0x80000006, &eax, &ebx, &ecx, &edx); edx 1031 arch/x86/kernel/cpu/amd.c cpuid(0x80000005, &eax, &ebx, &ecx, &edx); edx 1050 arch/x86/kernel/cpu/amd.c cpuid(0x80000005, &eax, &ebx, &ecx, &edx); edx 598 arch/x86/kernel/cpu/cacheinfo.c unsigned edx; edx 603 arch/x86/kernel/cpu/cacheinfo.c &ebx.full, &ecx.full, &edx); edx 609 arch/x86/kernel/cpu/cacheinfo.c &ebx.full, &ecx.full, &edx); edx 612 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); edx 630 arch/x86/kernel/cpu/cacheinfo.c unsigned int eax, ebx, ecx, edx, op; edx 643 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(op, i, &eax, &ebx, &ecx, &edx); edx 672 arch/x86/kernel/cpu/cacheinfo.c u32 eax, ebx, ecx, edx, num_sharing_cache = 0; edx 675 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(0x8000001d, llc_index, &eax, &ebx, &ecx, &edx); edx 656 arch/x86/kernel/cpu/common.c unsigned int eax, ebx, ecx, edx; edx 662 arch/x86/kernel/cpu/common.c cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); edx 669 arch/x86/kernel/cpu/common.c unsigned int n, dummy, ebx, ecx, edx, l2size; edx 674 arch/x86/kernel/cpu/common.c cpuid(0x80000005, &dummy, &ebx, &ecx, &edx); edx 675 arch/x86/kernel/cpu/common.c c->x86_cache_size = (ecx>>24) + (edx>>24); edx 685 arch/x86/kernel/cpu/common.c cpuid(0x80000006, &dummy, &ebx, &ecx, &edx); edx 731 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; edx 742 arch/x86/kernel/cpu/common.c cpuid(1, &eax, &ebx, &ecx, &edx); edx 889 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; edx 892 arch/x86/kernel/cpu/common.c cpuid_count(0xf, 1, &eax, &ebx, &ecx, &edx); edx 901 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; edx 905 arch/x86/kernel/cpu/common.c cpuid(0x00000001, &eax, &ebx, &ecx, &edx); edx 908 arch/x86/kernel/cpu/common.c c->x86_capability[CPUID_1_EDX] = edx; edx 917 arch/x86/kernel/cpu/common.c cpuid_count(0x00000007, 0, &eax, &ebx, &ecx, &edx); edx 920 arch/x86/kernel/cpu/common.c c->x86_capability[CPUID_7_EDX] = edx; edx 924 arch/x86/kernel/cpu/common.c cpuid_count(0x00000007, 1, &eax, &ebx, &ecx, &edx); edx 931 arch/x86/kernel/cpu/common.c cpuid_count(0x0000000d, 1, &eax, &ebx, &ecx, &edx); edx 942 arch/x86/kernel/cpu/common.c cpuid(0x80000001, &eax, &ebx, &ecx, &edx); edx 945 arch/x86/kernel/cpu/common.c c->x86_capability[CPUID_8000_0001_EDX] = edx; edx 950 arch/x86/kernel/cpu/common.c cpuid(0x80000007, &eax, &ebx, &ecx, &edx); edx 953 arch/x86/kernel/cpu/common.c c->x86_power = edx; edx 957 arch/x86/kernel/cpu/common.c cpuid(0x80000008, &eax, &ebx, &ecx, &edx); edx 978 arch/x86/kernel/cpu/common.c u32 eax, ebx, ecx, edx; edx 981 arch/x86/kernel/cpu/common.c cpuid(0x80000008, &eax, &ebx, &ecx, &edx); edx 73 arch/x86/kernel/cpu/hygon.c u32 eax, ebx, ecx, edx; edx 75 arch/x86/kernel/cpu/hygon.c cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); edx 358 arch/x86/kernel/cpu/hygon.c u32 ebx, eax, ecx, edx; edx 364 arch/x86/kernel/cpu/hygon.c cpuid(0x80000006, &eax, &ebx, &ecx, &edx); edx 380 arch/x86/kernel/cpu/hygon.c cpuid(0x80000005, &eax, &ebx, &ecx, &edx); edx 321 arch/x86/kernel/cpu/intel.c u32 eax, ebx, ecx, edx; edx 323 arch/x86/kernel/cpu/intel.c cpuid(0x00000001, &eax, &ebx, &ecx, &edx); edx 329 arch/x86/kernel/cpu/intel.c if (edx & (1U << 28)) edx 59 arch/x86/kernel/cpu/intel_pconfig.c ®s.eax, ®s.ebx, ®s.ecx, ®s.edx); edx 71 arch/x86/kernel/cpu/intel_pconfig.c if (regs.edx < 64) edx 72 arch/x86/kernel/cpu/intel_pconfig.c targets_supported |= (1ULL << regs.edx); edx 393 arch/x86/kernel/cpu/microcode/intel.c unsigned int eax, ebx, ecx, edx; edx 399 arch/x86/kernel/cpu/microcode/intel.c native_cpuid(&eax, &ebx, &ecx, &edx); edx 501 arch/x86/kernel/cpu/microcode/intel.c unsigned int eax = 1, ebx, ecx = 0, edx; edx 507 arch/x86/kernel/cpu/microcode/intel.c native_cpuid(&eax, &ebx, &ecx, &edx); edx 256 arch/x86/kernel/cpu/resctrl/core.c union cpuid_0x10_x_edx edx; edx 259 arch/x86/kernel/cpu/resctrl/core.c cpuid_count(0x00000010, 3, &eax.full, &ebx, &ecx, &edx.full); edx 260 arch/x86/kernel/cpu/resctrl/core.c r->num_closid = edx.split.cos_max + 1; edx 282 arch/x86/kernel/cpu/resctrl/core.c union cpuid_0x10_x_edx edx; edx 285 arch/x86/kernel/cpu/resctrl/core.c cpuid_count(0x80000020, 1, &eax.full, &ebx, &ecx, &edx.full); edx 286 arch/x86/kernel/cpu/resctrl/core.c r->num_closid = edx.split.cos_max + 1; edx 306 arch/x86/kernel/cpu/resctrl/core.c union cpuid_0x10_x_edx edx; edx 309 arch/x86/kernel/cpu/resctrl/core.c cpuid_count(0x00000010, idx, &eax.full, &ebx, &ecx, &edx.full); edx 310 arch/x86/kernel/cpu/resctrl/core.c r->num_closid = edx.split.cos_max + 1; edx 37 arch/x86/kernel/cpu/topology.c unsigned int eax, ebx, ecx, edx; edx 39 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); edx 68 arch/x86/kernel/cpu/topology.c unsigned int eax, ebx, ecx, edx; edx 77 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); edx 81 arch/x86/kernel/cpu/topology.c c->initial_apicid = edx; edx 95 arch/x86/kernel/cpu/topology.c unsigned int eax, ebx, ecx, edx, sub_index; edx 108 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); edx 109 arch/x86/kernel/cpu/topology.c c->initial_apicid = edx; edx 117 arch/x86/kernel/cpu/topology.c cpuid_count(leaf, sub_index, &eax, &ebx, &ecx, &edx); edx 51 arch/x86/kernel/cpu/vmware.c #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ edx 53 arch/x86/kernel/cpu/vmware.c "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ edx 59 arch/x86/kernel/cpu/vmware.c #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \ edx 61 arch/x86/kernel/cpu/vmware.c "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ edx 67 arch/x86/kernel/cpu/vmware.c #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \ edx 69 arch/x86/kernel/cpu/vmware.c "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \ edx 75 arch/x86/kernel/cpu/vmware.c #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ edx 78 arch/x86/kernel/cpu/vmware.c VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \ edx 81 arch/x86/kernel/cpu/vmware.c VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \ edx 84 arch/x86/kernel/cpu/vmware.c VMWARE_PORT(cmd, eax, ebx, ecx, edx); \ edx 94 arch/x86/kernel/cpu/vmware.c uint32_t eax, ebx, ecx, edx; edx 95 arch/x86/kernel/cpu/vmware.c VMWARE_CMD(GETVERSION, eax, ebx, ecx, edx); edx 175 arch/x86/kernel/cpu/vmware.c uint32_t eax, ebx, ecx, edx; edx 178 arch/x86/kernel/cpu/vmware.c VMWARE_CMD(GETHZ, eax, ebx, ecx, edx); edx 218 arch/x86/kernel/cpu/vmware.c int eax, ebx, ecx, edx; edx 220 arch/x86/kernel/cpu/vmware.c cpuid(CPUID_VMWARE_FEATURES_LEAF, &eax, &ebx, &ecx, &edx); edx 260 arch/x86/kernel/cpu/vmware.c uint32_t eax, ebx, ecx, edx; edx 261 arch/x86/kernel/cpu/vmware.c VMWARE_CMD(GETVCPU_INFO, eax, ebx, ecx, edx); edx 78 arch/x86/kernel/cpu/zhaoxin.c u32 eax, ebx, ecx, edx; edx 80 arch/x86/kernel/cpu/zhaoxin.c cpuid(0x00000001, &eax, &ebx, &ecx, &edx); edx 86 arch/x86/kernel/cpu/zhaoxin.c if (edx & (1U << 28)) edx 57 arch/x86/kernel/cpuid.c &cmd->regs.ecx, &cmd->regs.edx); edx 120 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; edx 122 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); edx 248 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx, i; edx 266 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, i, &eax, &ebx, &ecx, &edx); edx 326 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; edx 329 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); edx 434 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; edx 447 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); edx 453 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; edx 456 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); edx 501 arch/x86/kernel/fpu/xstate.c u32 eax, ebx, ecx, edx; edx 512 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, i, &eax, &ebx, &ecx, &edx); edx 514 arch/x86/kernel/fpu/xstate.c XSTATE_CPUID, i, eax, ebx, ecx, edx); edx 625 arch/x86/kernel/fpu/xstate.c unsigned int eax, ebx, ecx, edx; edx 634 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, 1, &eax, &ebx, &ecx, &edx); edx 640 arch/x86/kernel/fpu/xstate.c unsigned int eax, ebx, ecx, edx; edx 648 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); edx 714 arch/x86/kernel/fpu/xstate.c unsigned int eax, ebx, ecx, edx; edx 738 arch/x86/kernel/fpu/xstate.c cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); edx 739 arch/x86/kernel/fpu/xstate.c xfeatures_mask = eax + ((u64)edx << 32); edx 880 arch/x86/kernel/ptrace.c R32(edx, dx); edx 953 arch/x86/kernel/ptrace.c R32(edx, dx); edx 1663 arch/x86/kernel/smpboot.c unsigned int eax, ebx, ecx, edx; edx 1681 arch/x86/kernel/smpboot.c native_cpuid(&eax, &ebx, &ecx, &edx); edx 1690 arch/x86/kernel/smpboot.c edx >>= MWAIT_SUBSTATE_SIZE; edx 1691 arch/x86/kernel/smpboot.c for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { edx 1692 arch/x86/kernel/smpboot.c if (edx & MWAIT_SUBSTATE_MASK) { edx 1694 arch/x86/kernel/smpboot.c highest_subcstate = edx & MWAIT_SUBSTATE_MASK; edx 616 arch/x86/kernel/tsc.c unsigned int eax_denominator, ebx_numerator, ecx_hz, edx; edx 625 arch/x86/kernel/tsc.c eax_denominator = ebx_numerator = ecx_hz = edx = 0; edx 628 arch/x86/kernel/tsc.c cpuid(0x15, &eax_denominator, &ebx_numerator, &ecx_hz, &edx); edx 658 arch/x86/kernel/tsc.c unsigned int eax_base_mhz, ebx, ecx, edx; edx 660 arch/x86/kernel/tsc.c cpuid(0x16, &eax_base_mhz, &ebx, &ecx, &edx); edx 690 arch/x86/kernel/tsc.c unsigned int eax_base_mhz, ebx_max_mhz, ecx_bus_mhz, edx; edx 698 arch/x86/kernel/tsc.c eax_base_mhz = ebx_max_mhz = ecx_bus_mhz = edx = 0; edx 700 arch/x86/kernel/tsc.c cpuid(0x16, &eax_base_mhz, &ebx_max_mhz, &ecx_bus_mhz, &edx); edx 127 arch/x86/kernel/vm86_32.c put_user_ex(regs->pt.dx, &user->regs.edx); edx 291 arch/x86/kernel/vm86_32.c get_user_ex(vm86regs.pt.dx, &user_vm86->regs.edx); edx 35 arch/x86/kvm/cpuid.c u32 eax, ebx, ecx, edx, offset; edx 36 arch/x86/kvm/cpuid.c cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); edx 83 arch/x86/kvm/cpuid.c best->edx &= ~F(APIC); edx 85 arch/x86/kvm/cpuid.c best->edx |= F(APIC); edx 110 arch/x86/kvm/cpuid.c (best->eax | ((u64)best->edx << 32)) & edx 176 arch/x86/kvm/cpuid.c if (entry && (entry->edx & F(NX)) && !is_efer_nx()) { edx 177 arch/x86/kvm/cpuid.c entry->edx &= ~F(NX); edx 225 arch/x86/kvm/cpuid.c vcpu->arch.cpuid_entries[i].edx = cpuid_entries[i].edx; edx 297 arch/x86/kvm/cpuid.c &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); edx 401 arch/x86/kvm/cpuid.c entry->edx &= kvm_cpuid_7_0_edx_x86_features; edx 402 arch/x86/kvm/cpuid.c cpuid_mask(&entry->edx, CPUID_7_EDX); edx 404 arch/x86/kvm/cpuid.c entry->edx |= F(SPEC_CTRL); edx 406 arch/x86/kvm/cpuid.c entry->edx |= F(INTEL_STIBP); edx 409 arch/x86/kvm/cpuid.c entry->edx |= F(SPEC_CTRL_SSBD); edx 414 arch/x86/kvm/cpuid.c entry->edx |= F(ARCH_CAPABILITIES); edx 420 arch/x86/kvm/cpuid.c entry->edx = 0; edx 427 arch/x86/kvm/cpuid.c entry->edx = 0; edx 522 arch/x86/kvm/cpuid.c entry->edx &= kvm_cpuid_1_edx_x86_features; edx 523 arch/x86/kvm/cpuid.c cpuid_mask(&entry->edx, CPUID_1_EDX); edx 569 arch/x86/kvm/cpuid.c entry->edx = 0; edx 593 arch/x86/kvm/cpuid.c union cpuid10_edx edx; edx 609 arch/x86/kvm/cpuid.c edx.split.num_counters_fixed = cap.num_counters_fixed; edx 610 arch/x86/kvm/cpuid.c edx.split.bit_width_fixed = cap.bit_width_fixed; edx 611 arch/x86/kvm/cpuid.c edx.split.reserved = 0; edx 616 arch/x86/kvm/cpuid.c entry->edx = edx.full; edx 651 arch/x86/kvm/cpuid.c entry->edx &= supported >> 32; edx 676 arch/x86/kvm/cpuid.c entry[i].edx = 0; edx 703 arch/x86/kvm/cpuid.c entry->edx = sigptr[2]; edx 725 arch/x86/kvm/cpuid.c entry->edx = 0; edx 731 arch/x86/kvm/cpuid.c entry->edx &= kvm_cpuid_8000_0001_edx_x86_features; edx 732 arch/x86/kvm/cpuid.c cpuid_mask(&entry->edx, CPUID_8000_0001_EDX); edx 738 arch/x86/kvm/cpuid.c entry->edx &= (1 << 8); edx 740 arch/x86/kvm/cpuid.c entry->edx &= boot_cpu_data.x86_power; edx 751 arch/x86/kvm/cpuid.c entry->edx = 0; edx 780 arch/x86/kvm/cpuid.c entry->ecx = entry->edx = 0; edx 791 arch/x86/kvm/cpuid.c entry->edx &= kvm_cpuid_C000_0001_edx_x86_features; edx 792 arch/x86/kvm/cpuid.c cpuid_mask(&entry->edx, CPUID_C000_0001_EDX); edx 800 arch/x86/kvm/cpuid.c entry->eax = entry->ebx = entry->ecx = entry->edx = 0; edx 997 arch/x86/kvm/cpuid.c u32 *ecx, u32 *edx, bool check_limit) edx 1024 arch/x86/kvm/cpuid.c *edx = entry->edx; edx 1026 arch/x86/kvm/cpuid.c *eax = *ebx = *ecx = *edx = 0; edx 1038 arch/x86/kvm/cpuid.c *edx = entry->edx; edx 1042 arch/x86/kvm/cpuid.c trace_kvm_cpuid(function, *eax, *ebx, *ecx, *edx, found); edx 1049 arch/x86/kvm/cpuid.c u32 eax, ebx, ecx, edx; edx 1056 arch/x86/kvm/cpuid.c kvm_cpuid(vcpu, &eax, &ebx, &ecx, &edx, true); edx 1060 arch/x86/kvm/cpuid.c kvm_rdx_write(vcpu, edx); edx 26 arch/x86/kvm/cpuid.h u32 *ecx, u32 *edx, bool check_limit); edx 85 arch/x86/kvm/cpuid.h return &entry->edx; edx 391 arch/x86/kvm/emulate.c FOP2E(op##l, eax, edx) \ edx 400 arch/x86/kvm/emulate.c FOP2E(op##l, eax, edx) \ edx 418 arch/x86/kvm/emulate.c FOP2E(op##l, edx, eax) \ edx 432 arch/x86/kvm/emulate.c FOP3E(op##l, eax, edx, cl) \ edx 2380 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; edx 2384 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); edx 2385 arch/x86/kvm/emulate.c return edx & bit(X86_FEATURE_LM); edx 2723 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; edx 2726 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); edx 2729 arch/x86/kvm/emulate.c && edx == X86EMUL_CPUID_VENDOR_GenuineIntel_edx; edx 2735 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; edx 2746 arch/x86/kvm/emulate.c ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); edx 2757 arch/x86/kvm/emulate.c edx == X86EMUL_CPUID_VENDOR_GenuineIntel_edx) edx 2763 arch/x86/kvm/emulate.c edx == X86EMUL_CPUID_VENDOR_AuthenticAMD_edx) edx 2769 arch/x86/kvm/emulate.c edx == X86EMUL_CPUID_VENDOR_AMDisbetterI_edx) edx 2775 arch/x86/kvm/emulate.c edx == X86EMUL_CPUID_VENDOR_HygonGenuine_edx) edx 3171 arch/x86/kvm/emulate.c tss->edx = reg_read(ctxt, VCPU_REGS_RDX); edx 3200 arch/x86/kvm/emulate.c *reg_write(ctxt, VCPU_REGS_RDX) = tss->edx; edx 3656 arch/x86/kvm/emulate.c u32 ebx, ecx, edx, eax = 1; edx 3662 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); edx 3993 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; edx 4004 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, true); edx 4008 arch/x86/kvm/emulate.c *reg_write(ctxt, VCPU_REGS_RDX) = edx; edx 4061 arch/x86/kvm/emulate.c u32 eax = 1, ebx, ecx = 0, edx; edx 4063 arch/x86/kvm/emulate.c ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, false); edx 4064 arch/x86/kvm/emulate.c if (!(edx & FFL(FXSR))) edx 4198 arch/x86/kvm/emulate.c u32 eax, ecx, edx; edx 4201 arch/x86/kvm/emulate.c edx = reg_read(ctxt, VCPU_REGS_RDX); edx 4204 arch/x86/kvm/emulate.c if (ctxt->ops->set_xcr(ctxt, ecx, ((u64)edx << 32) | eax)) edx 4272 arch/x86/kvm/emulate.c u32 eax, ebx, ecx, edx; edx 4277 arch/x86/kvm/emulate.c &edx, false)) edx 1825 arch/x86/kvm/hyperv.c ent->edx = signature[2]; edx 1858 arch/x86/kvm/hyperv.c ent->edx |= HV_FEATURE_FREQUENCY_MSRS_AVAILABLE; edx 1859 arch/x86/kvm/hyperv.c ent->edx |= HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE; edx 1866 arch/x86/kvm/hyperv.c ent->edx |= HV_STIMER_DIRECT_MODE_AVAILABLE; edx 5979 arch/x86/kvm/svm.c entry->edx = 0; /* Per default do not support any edx 5984 arch/x86/kvm/svm.c entry->edx |= F(NRIPS); edx 5988 arch/x86/kvm/svm.c entry->edx |= F(NPT); edx 5995 arch/x86/kvm/svm.c &entry->ecx, &entry->edx); edx 18 arch/x86/kvm/tss.h u32 edx; edx 276 arch/x86/kvm/vmx/pmu_intel.c union cpuid10_edx edx; edx 289 arch/x86/kvm/vmx/pmu_intel.c edx.full = entry->edx; edx 307 arch/x86/kvm/vmx/pmu_intel.c min_t(int, edx.split.num_counters_fixed, edx 310 arch/x86/kvm/vmx/pmu_intel.c ((u64)1 << edx.split.bit_width_fixed) - 1; edx 6952 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_VME, edx, bit(X86_FEATURE_VME)); edx 6953 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_PVI, edx, bit(X86_FEATURE_VME)); edx 6954 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_TSD, edx, bit(X86_FEATURE_TSC)); edx 6955 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_DE, edx, bit(X86_FEATURE_DE)); edx 6956 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_PSE, edx, bit(X86_FEATURE_PSE)); edx 6957 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_PAE, edx, bit(X86_FEATURE_PAE)); edx 6958 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_MCE, edx, bit(X86_FEATURE_MCE)); edx 6959 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_PGE, edx, bit(X86_FEATURE_PGE)); edx 6960 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_OSFXSR, edx, bit(X86_FEATURE_FXSR)); edx 6961 arch/x86/kvm/vmx/vmx.c cr4_fixed1_update(X86_CR4_OSXMMEXCPT, edx, bit(X86_FEATURE_XMM)); edx 7007 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM] = best->edx; edx 3977 arch/x86/kvm/x86.c u32 size, offset, ecx, edx; edx 3979 arch/x86/kvm/x86.c &size, &offset, &ecx, &edx); edx 4020 arch/x86/kvm/x86.c u32 size, offset, ecx, edx; edx 4022 arch/x86/kvm/x86.c &size, &offset, &ecx, &edx); edx 6236 arch/x86/kvm/x86.c u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, bool check_limit) edx 6238 arch/x86/kvm/x86.c return kvm_cpuid(emul_to_vcpu(ctxt), eax, ebx, ecx, edx, check_limit); edx 490 arch/x86/mm/mem_encrypt_identity.c unsigned int eax, ebx, ecx, edx; edx 500 arch/x86/mm/mem_encrypt_identity.c native_cpuid(&eax, &ebx, &ecx, &edx); edx 512 arch/x86/mm/mem_encrypt_identity.c native_cpuid(&eax, &ebx, &ecx, &edx); edx 525 arch/x86/mm/mem_encrypt_identity.c native_cpuid(&eax, &ebx, &ecx, &edx); edx 88 arch/x86/xen/enlighten_hvm.c uint32_t eax, ebx, ecx, edx, base; edx 114 arch/x86/xen/enlighten_hvm.c cpuid(base + 4, &eax, &ebx, &ecx, &edx); edx 101 arch/x86/xen/pmu.c uint32_t eax, ebx, ecx, edx; edx 103 arch/x86/xen/pmu.c cpuid(0xa, &eax, &ebx, &ecx, &edx); edx 107 arch/x86/xen/pmu.c intel_num_fixed_counters = (edx & PMU_FIXED_NR_MASK) >> edx 36 drivers/acpi/acpi_pad.c unsigned int eax, ebx, ecx, edx; edx 46 drivers/acpi/acpi_pad.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); edx 52 drivers/acpi/acpi_pad.c edx >>= MWAIT_SUBSTATE_SIZE; edx 53 drivers/acpi/acpi_pad.c for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { edx 54 drivers/acpi/acpi_pad.c if (edx & MWAIT_SUBSTATE_MASK) { edx 56 drivers/acpi/acpi_pad.c highest_subcstate = edx & MWAIT_SUBSTATE_MASK; edx 443 drivers/char/toshiba.c tosh_sci = regs.edx & 0xffff; edx 138 drivers/cpufreq/longrun.c u32 eax, ebx, ecx, edx; edx 143 drivers/cpufreq/longrun.c cpuid(0x80860007, &eax, &ebx, &ecx, &edx); edx 164 drivers/cpufreq/longrun.c u32 eax, ebx, ecx, edx; edx 211 drivers/cpufreq/longrun.c cpuid(0x80860007, &eax, &ebx, &ecx, &edx); edx 222 drivers/cpufreq/longrun.c cpuid(0x80860007, &eax, &ebx, &ecx, &edx); edx 240 drivers/cpufreq/longrun.c edx = ((eax - ebx) * 100) / (100 - ecx); edx 241 drivers/cpufreq/longrun.c *low_freq = edx * 1000; /* back to kHz */ edx 120 drivers/cpufreq/powernow-k7.c unsigned int maxei, eax, ebx, ecx, edx; edx 139 drivers/cpufreq/powernow-k7.c cpuid(0x80000007, &eax, &ebx, &ecx, &edx); edx 142 drivers/cpufreq/powernow-k7.c if (!(edx & (1 << 1 | 1 << 2))) edx 147 drivers/cpufreq/powernow-k7.c if (edx & 1 << 1) { edx 152 drivers/cpufreq/powernow-k7.c if ((edx & (1 << 1 | 1 << 2)) == 0x6) edx 155 drivers/cpufreq/powernow-k7.c if (edx & 1 << 2) { edx 462 drivers/cpufreq/powernow-k8.c u32 eax, ebx, ecx, edx; edx 482 drivers/cpufreq/powernow-k8.c cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); edx 483 drivers/cpufreq/powernow-k8.c if ((edx & P_STATE_TRANSITION_CAPABLE) edx 89 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si = 0, di = 0; edx 95 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 100 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c channel->channel_id = HIGH_WORD(edx); edx 118 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; edx 128 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 148 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long si, di, eax, ebx, ecx, edx; edx 163 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 184 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 203 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long si, di, eax, ebx, ecx, edx; edx 216 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 233 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 257 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; edx 272 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 310 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; edx 330 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 374 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); edx 59 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ edx 65 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=d"(edx), \ edx 103 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ edx 112 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=d"(edx), \ edx 128 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ edx 137 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=d"(edx), \ edx 162 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ edx 173 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=d"(edx), \ edx 189 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ edx 200 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=d"(edx), \ edx 120 drivers/hwmon/coretemp.c u32 eax, edx; edx 126 drivers/hwmon/coretemp.c rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); edx 153 drivers/hwmon/coretemp.c u32 eax, edx; edx 162 drivers/hwmon/coretemp.c rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); edx 234 drivers/hwmon/coretemp.c u32 eax, edx; edx 276 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(id, 0x17, &eax, &edx); edx 291 drivers/hwmon/coretemp.c platform_id = (edx >> 18) & 0x7; edx 310 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); edx 344 drivers/hwmon/coretemp.c u32 eax, edx; edx 351 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(id, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); edx 456 drivers/hwmon/coretemp.c u32 eax, edx; edx 475 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx); edx 489 drivers/hwmon/coretemp.c &eax, &edx); edx 122 drivers/hwmon/dell-smm-hwmon.c unsigned int edx __packed; edx 378 drivers/hwmon/dell-smm-hwmon.c return regs.eax == 1145651527 && regs.edx == 1145392204 ? 0 : -1; edx 68 drivers/hwmon/via-cputemp.c u32 eax, edx; edx 71 drivers/hwmon/via-cputemp.c err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); edx 82 drivers/hwmon/via-cputemp.c u32 eax, edx; edx 85 drivers/hwmon/via-cputemp.c err = rdmsr_safe_on_cpu(data->id, data->msr_vid, &eax, &edx); edx 89 drivers/hwmon/via-cputemp.c return sprintf(buf, "%d\n", vid_from_reg(~edx & 0x7f, data->vrm)); edx 115 drivers/hwmon/via-cputemp.c u32 eax, edx; edx 146 drivers/hwmon/via-cputemp.c err = rdmsr_safe_on_cpu(data->id, data->msr_temp, &eax, &edx); edx 1264 drivers/idle/intel_idle.c unsigned int eax, ebx, ecx, edx; edx 1282 drivers/idle/intel_idle.c cpuid(7, &eax, &ebx, &ecx, &edx); edx 671 drivers/platform/x86/acer-wmi.c u32 edx; edx 678 drivers/platform/x86/acer-wmi.c u32 edx; edx 771 drivers/platform/x86/acer-wmi.c args.ecx = args.edx = 0; edx 814 drivers/platform/x86/acer-wmi.c args.ebx = args.ecx = args.edx = 0; edx 877 drivers/platform/x86/acer-wmi.c args.ecx = args.edx = 0; edx 2504 drivers/platform/x86/toshiba_acpi.c regs->edx, regs->esi, regs->edi }; edx 2518 drivers/platform/x86/toshiba_acpi.c regs->edx = out[3]; edx 213 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c u32 eax, edx; edx 217 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); edx 231 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c u32 eax, edx; edx 239 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c &edx); edx 182 drivers/thermal/intel/intel_powerclamp.c unsigned int eax, ebx, ecx, edx; edx 190 drivers/thermal/intel/intel_powerclamp.c cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); edx 196 drivers/thermal/intel/intel_powerclamp.c edx >>= MWAIT_SUBSTATE_SIZE; edx 197 drivers/thermal/intel/intel_powerclamp.c for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { edx 198 drivers/thermal/intel/intel_powerclamp.c if (edx & MWAIT_SUBSTATE_MASK) { edx 200 drivers/thermal/intel/intel_powerclamp.c highest_subcstate = edx & MWAIT_SUBSTATE_MASK; edx 49 drivers/thermal/intel/intel_soc_dts_iosf.c u32 eax, edx; edx 53 drivers/thermal/intel/intel_soc_dts_iosf.c err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); edx 111 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 eax, edx, val; edx 114 drivers/thermal/intel/x86_pkg_temp_thermal.c err = rdmsr_safe_on_cpu(cpu, MSR_IA32_TEMPERATURE_TARGET, &eax, &edx); edx 127 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 eax, edx; edx 130 drivers/thermal/intel/x86_pkg_temp_thermal.c &eax, &edx); edx 144 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 mask, shift, eax, edx; edx 159 drivers/thermal/intel/x86_pkg_temp_thermal.c &eax, &edx); edx 332 drivers/thermal/intel/x86_pkg_temp_thermal.c u32 tj_max, eax, ebx, ecx, edx; edx 339 drivers/thermal/intel/x86_pkg_temp_thermal.c cpuid(6, &eax, &ebx, &ecx, &edx); edx 373 drivers/video/fbdev/uvesafb.c task->t.regs.edx = 0x0001; edx 404 drivers/video/fbdev/uvesafb.c task->t.regs.edx = 0x0002; edx 645 drivers/video/fbdev/uvesafb.c task->t.regs.ecx = task->t.regs.edx = 0; edx 766 drivers/video/fbdev/uvesafb.c task->t.regs.edx = 0x0000; edx 973 drivers/video/fbdev/uvesafb.c task->t.regs.edx = start; edx 1654 drivers/visorbus/visorchipset.c unsigned int eax, ebx, ecx, edx; edx 1658 drivers/visorbus/visorchipset.c cpuid(UNISYS_VISOR_LEAF_ID, &eax, &ebx, &ecx, &edx); edx 1661 drivers/visorbus/visorchipset.c (edx == UNISYS_VISOR_ID_EDX); edx 729 drivers/xen/xenbus/xenbus_xs.c uint32_t eax, ebx, ecx, edx, base; edx 732 drivers/xen/xenbus/xenbus_xs.c cpuid(base + 1, &eax, &ebx, &ecx, &edx); edx 42 include/uapi/linux/toshiba.h unsigned int edx __attribute__ ((packed)); edx 10 include/uapi/video/uvesafb.h __u32 edx; edx 31 include/xen/interface/hvm/hvm_vcpu.h uint32_t edx; edx 59 lib/raid6/x86.h u32 eax, ebx, ecx, edx; edx 66 lib/raid6/x86.h : "+a" (eax), "=b" (ebx), "=d" (edx), "+c" (ecx)); edx 69 lib/raid6/x86.h (flag & 0x80) ? ecx : edx) >> (flag & 31)) & 1; edx 289 sound/pci/au88x0/au88x0_core.c int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; edx 303 sound/pci/au88x0/au88x0_core.c edx = hwread(vortex->mmio, ebx); edx 305 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, ebp, edx); edx 309 sound/pci/au88x0/au88x0_core.c edx = edx 313 sound/pci/au88x0/au88x0_core.c while ((edx & 0xf) != mix) { edx 320 sound/pci/au88x0/au88x0_core.c ebx = edx & 0xf; edx 322 sound/pci/au88x0/au88x0_core.c edx = edx 330 sound/pci/au88x0/au88x0_core.c if (edx & 0x10) { /* Delete entry in between others */ edx 331 sound/pci/au88x0/au88x0_core.c ebx = VORTEX_MIXER_RTBASE + ((edx & 0xf) << 2); edx 332 sound/pci/au88x0/au88x0_core.c edx = hwread(vortex->mmio, ebx); edx 335 sound/pci/au88x0/au88x0_core.c VORTEX_MIXER_RTBASE + ebp, edx); edx 345 sound/pci/au88x0/au88x0_core.c ebx = (0xffffffe0 & edx) | (0xf & ebx); edx 689 sound/pci/au88x0/au88x0_core.c int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; edx 703 sound/pci/au88x0/au88x0_core.c edx = hwread(vortex->mmio, ebx); edx 705 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, ebp, edx); edx 709 sound/pci/au88x0/au88x0_core.c edx = edx 713 sound/pci/au88x0/au88x0_core.c while ((edx & 0xf) != src) { edx 720 sound/pci/au88x0/au88x0_core.c ebx = edx & 0xf; edx 722 sound/pci/au88x0/au88x0_core.c edx = edx 730 sound/pci/au88x0/au88x0_core.c if (edx & 0x10) { /* Delete entry in between others */ edx 731 sound/pci/au88x0/au88x0_core.c ebx = VORTEX_SRC_RTBASE + ((edx & 0xf) << 2); edx 732 sound/pci/au88x0/au88x0_core.c edx = hwread(vortex->mmio, ebx); edx 735 sound/pci/au88x0/au88x0_core.c VORTEX_SRC_RTBASE + ebp, edx); edx 745 sound/pci/au88x0/au88x0_core.c ebx = (0xffffffe0 & edx) | (0xf & ebx); edx 361 sound/pci/au88x0/au88x0_synth.c u32 eax, edx; edx 365 sound/pci/au88x0/au88x0_synth.c edx = (((sr << 0xf) * 0x57619F1)) >> 0x20; edx 367 sound/pci/au88x0/au88x0_synth.c edx >>= 0xa; edx 368 sound/pci/au88x0/au88x0_synth.c edx <<= 1; edx 369 sound/pci/au88x0/au88x0_synth.c if (edx) { edx 370 sound/pci/au88x0/au88x0_synth.c if (edx & 0x0FFF80000) edx 373 sound/pci/au88x0/au88x0_synth.c edx <<= 0xd; edx 375 sound/pci/au88x0/au88x0_synth.c while ((edx & 0x80000000) == 0) { edx 376 sound/pci/au88x0/au88x0_synth.c edx <<= 1; edx 382 sound/pci/au88x0/au88x0_synth.c edx <<= 1; edx 384 sound/pci/au88x0/au88x0_synth.c edx >>= 0x14; edx 385 sound/pci/au88x0/au88x0_synth.c eax |= edx; edx 201 tools/arch/x86/include/uapi/asm/kvm.h __u32 edx; edx 219 tools/arch/x86/include/uapi/asm/kvm.h __u32 edx; edx 6 tools/build/feature/test-get_cpuid.c unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; edx 7 tools/build/feature/test-get_cpuid.c return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); edx 57 tools/perf/arch/x86/util/dwarf-regs.c REG_OFFSET_NAME_32("%dx", edx), edx 309 tools/perf/arch/x86/util/intel-pt.c unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0; edx 311 tools/perf/arch/x86/util/intel-pt.c __get_cpuid(0x15, &eax, &ebx, &ecx, &edx); edx 75 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(edx, dx), edx 26 tools/power/cpupower/debug/i386/intel_gsic.c r.edx = 0x47534943; edx 46 tools/power/cpupower/debug/i386/intel_gsic.c printf("\tflags = 0x%.8x\n", r.edx); edx 66 tools/power/cpupower/debug/i386/intel_gsic.c printf("edx = 0x%.8x\n", r.edx); edx 27 tools/power/cpupower/utils/helpers/cpuid.c unsigned int eax, ebx, ecx, edx; \ edx 28 tools/power/cpupower/utils/helpers/cpuid.c __cpuid(op, eax, ebx, ecx, edx); \ edx 34 tools/power/cpupower/utils/helpers/cpuid.c cpuid_func(edx); edx 75 tools/power/x86/intel-speed-select/isst-config.c unsigned int ebx, ecx, edx; edx 78 tools/power/x86/intel-speed-select/isst-config.c __cpuid(1, fms, ebx, ecx, edx); edx 1726 tools/power/x86/turbostat/turbostat.c unsigned int eax, ebx, ecx, edx; edx 1729 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; edx 1730 tools/power/x86/turbostat/turbostat.c __cpuid(1, eax, ebx, ecx, edx); edx 1744 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; edx 1745 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000001, eax, ebx, ecx, edx); edx 1751 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; edx 1752 tools/power/x86/turbostat/turbostat.c __cpuid(0x8000001e, eax, ebx, ecx, edx); edx 1765 tools/power/x86/turbostat/turbostat.c __cpuid(0xb, eax, ebx, ecx, edx); edx 1766 tools/power/x86/turbostat/turbostat.c t->x2apic_id = edx; edx 4014 tools/power/x86/turbostat/turbostat.c unsigned int eax, ebx, ecx, edx; edx 4019 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000007, eax, ebx, ecx, edx); edx 4021 tools/power/x86/turbostat/turbostat.c has_rapl = edx & (1 << 14); edx 4639 tools/power/x86/turbostat/turbostat.c unsigned int eax, ebx, ecx, edx; edx 4643 tools/power/x86/turbostat/turbostat.c eax = ebx = ecx = edx = 0; edx 4645 tools/power/x86/turbostat/turbostat.c __cpuid(0, max_level, ebx, ecx, edx); edx 4647 tools/power/x86/turbostat/turbostat.c if (ebx == 0x756e6547 && ecx == 0x6c65746e && edx == 0x49656e69) edx 4649 tools/power/x86/turbostat/turbostat.c else if (ebx == 0x68747541 && ecx == 0x444d4163 && edx == 0x69746e65) edx 4651 tools/power/x86/turbostat/turbostat.c else if (ebx == 0x6f677948 && ecx == 0x656e6975 && edx == 0x6e65476e) edx 4656 tools/power/x86/turbostat/turbostat.c (char *)&ebx, (char *)&edx, (char *)&ecx); edx 4658 tools/power/x86/turbostat/turbostat.c __cpuid(1, fms, ebx, ecx, edx); edx 4667 tools/power/x86/turbostat/turbostat.c edx_flags = edx; edx 4674 tools/power/x86/turbostat/turbostat.c ebx = ecx = edx = 0; edx 4675 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000000, max_extended_level, ebx, ecx, edx); edx 4704 tools/power/x86/turbostat/turbostat.c __cpuid(0x80000007, eax, ebx, ecx, edx); edx 4705 tools/power/x86/turbostat/turbostat.c has_invariant_tsc = edx & (1 << 8); edx 4713 tools/power/x86/turbostat/turbostat.c __cpuid(0x6, eax, ebx, ecx, edx); edx 4757 tools/power/x86/turbostat/turbostat.c __cpuid_count(0x7, 0, eax, ebx, ecx, edx); edx 4773 tools/power/x86/turbostat/turbostat.c eax_crystal = ebx_tsc = crystal_hz = edx = 0; edx 4774 tools/power/x86/turbostat/turbostat.c __cpuid(0x15, eax_crystal, ebx_tsc, crystal_hz, edx); edx 4807 tools/power/x86/turbostat/turbostat.c unsigned int base_mhz, max_mhz, bus_mhz, edx; edx 4812 tools/power/x86/turbostat/turbostat.c base_mhz = max_mhz = bus_mhz = edx = 0; edx 4814 tools/power/x86/turbostat/turbostat.c __cpuid(0x16, base_mhz, max_mhz, bus_mhz, edx); edx 1265 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int *ecx, unsigned int *edx) edx 1267 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (!__get_cpuid(leaf, eax, ebx, ecx, edx)) edx 1278 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int eax, ebx, ecx, edx; edx 1281 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(1, &fms, &ebx, &ecx, &edx); edx 1295 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(0x6, &eax, &ebx, &ecx, &edx); edx 1308 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int eax, ebx, ecx, edx, max_level; edx 1311 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c eax = ebx = ecx = edx = 0; edx 1313 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(0, &max_level, &ebx, &ecx, &edx); edx 1315 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (ebx == 0x756e6547 && edx == 0x49656e69 && ecx == 0x6c65746e) edx 1320 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c (char *)&ebx, (char *)&edx, (char *)&ecx); edx 1322 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(1, &fms, &ebx, &ecx, &edx); edx 1337 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c edx & (1 << 4) ? "TSC" : "-", edx 1338 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c edx & (1 << 5) ? "MSR" : "-", edx 1339 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c edx & (1 << 22) ? "ACPI-TM" : "-", edx 1340 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c edx & (1 << 29) ? "TM" : "-"); edx 1343 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (!(edx & (1 << 5))) edx 1347 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c get_cpuid_or_exit(0x6, &eax, &ebx, &ecx, &edx); edx 387 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM2(x) ((x)->edx) edx 79 tools/testing/selftests/kvm/include/x86_64/processor.h uint32_t eax, edx; edx 85 tools/testing/selftests/kvm/include/x86_64/processor.h __asm__ __volatile__("lfence; rdtsc" : "=a"(eax), "=d"(edx)); edx 86 tools/testing/selftests/kvm/include/x86_64/processor.h return ((uint64_t)edx) << 32 | eax; edx 91 tools/testing/selftests/kvm/include/x86_64/processor.h uint32_t eax, edx; edx 93 tools/testing/selftests/kvm/include/x86_64/processor.h __asm__ __volatile__("rdtscp" : "=a"(eax), "=d"(edx), "=c"(*aux)); edx 94 tools/testing/selftests/kvm/include/x86_64/processor.h return ((uint64_t)edx) << 32 | eax; edx 1147 tools/testing/selftests/kvm/lib/x86_64/processor.c int eax, ebx, ecx, edx; edx 1154 tools/testing/selftests/kvm/lib/x86_64/processor.c "=c"(ecx), "=d"(edx) edx 1158 tools/testing/selftests/kvm/lib/x86_64/processor.c return (ebx == chunk[0] && edx == chunk[1] && ecx == chunk[2]); edx 1173 tools/testing/selftests/kvm/lib/x86_64/processor.c pae = kvm_get_supported_cpuid_entry(1)->edx & (1 << 6); edx 29 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c uint32_t eax, ebx, ecx, edx; edx 35 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) edx 59 tools/testing/selftests/x86/pkey-helpers.h unsigned int eax, edx; edx 64 tools/testing/selftests/x86/pkey-helpers.h : "=a" (eax), "=d" (edx) edx 87 tools/testing/selftests/x86/pkey-helpers.h unsigned int edx = 0; edx 91 tools/testing/selftests/x86/pkey-helpers.h : : "a" (eax), "c" (ecx), "d" (edx)); edx 146 tools/testing/selftests/x86/pkey-helpers.h unsigned int *ecx, unsigned int *edx) edx 154 tools/testing/selftests/x86/pkey-helpers.h "=d" (*edx) edx 167 tools/testing/selftests/x86/pkey-helpers.h unsigned int edx; edx 171 tools/testing/selftests/x86/pkey-helpers.h __cpuid(&eax, &ebx, &ecx, &edx); edx 192 tools/testing/selftests/x86/pkey-helpers.h unsigned int edx; edx 203 tools/testing/selftests/x86/pkey-helpers.h __cpuid(&eax, &ebx, &ecx, &edx); edx 33 tools/testing/selftests/x86/ptrace_syscall.c # define user_arg2 edx edx 104 tools/testing/selftests/x86/unwind_vdso.c unsigned long edx = _Unwind_GetGR(ctx, 2); edx 110 tools/testing/selftests/x86/unwind_vdso.c ebx == 1 && ecx == 2 && edx == 3 && edx 117 tools/testing/selftests/x86/unwind_vdso.c eax, ebx, ecx, edx, esi, edi, ebp);