/linux-master/arch/x86/kernel/cpu/ |
H A D | topology_amd.c | 13 // ecx 19 } ecx; local 25 cpuid_leaf_reg(0x80000008, CPUID_ECX, &ecx); 27 /* If the thread bits are 0, then get the shift value from ecx.cpu_nthreads */ 28 sft = ecx.apicid_coreid_len; 30 sft = get_count_order(ecx.cpu_nthreads + 1); 42 topology_set_dom(tscan, TOPO_CORE_DOMAIN, sft, ecx.cpu_nthreads + 1); 70 // ecx
|
H A D | common.c | 811 unsigned int n, dummy, ebx, ecx, edx, l2size; local 816 cpuid(0x80000005, &dummy, &ebx, &ecx, &edx); 817 c->x86_cache_size = (ecx>>24) + (edx>>24); 827 cpuid(0x80000006, &dummy, &ebx, &ecx, &edx); 828 l2size = ecx >> 16; 974 u32 eax, ebx, ecx, edx; local 978 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); 980 c->x86_capability[CPUID_1_ECX] = ecx; 990 cpuid_count(0x00000007, 0, &eax, &ebx, &ecx, &edx); 992 c->x86_capability[CPUID_7_ECX] = ecx; 1056 u32 eax, ebx, ecx, edx; local [all...] |
H A D | amd.c | 1081 u32 ebx, eax, ecx, edx; local 1090 cpuid(0x80000006, &eax, &ebx, &ecx, &edx); 1100 cpuid(0x80000005, &eax, &ebx, &ecx, &edx); 1119 cpuid(0x80000005, &eax, &ebx, &ecx, &edx);
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 1055 u32 eax, ebx, ecx, edx; local 1058 cpuid_count(0x80000020, 3, &eax, &ebx, &ecx, &edx); 1059 hw_res->mbm_cfg_mask = ecx & MAX_EVT_CONFIG_BITS;
|
H A D | core.c | 205 u32 ebx, ecx, max_delay; local 207 cpuid_count(0x00000010, 3, &eax.full, &ebx, &ecx, &edx.full); 212 if (ecx & MBA_IS_LINEAR) { 237 u32 eax, ebx, ecx, edx, subleaf; local 245 cpuid_count(0x80000020, subleaf, &eax, &ebx, &ecx, &edx); 272 union cpuid_0x10_x_ecx ecx; local 276 cpuid_count(0x00000010, idx, &eax.full, &ebx, &ecx.full, &edx.full); 283 r->cache.arch_has_sparse_bitmasks = ecx.split.noncont; 910 u32 eax, ebx, ecx, edx; local 913 cpuid_count(0xf, 1, &eax, &ebx, &ecx, [all...] |
/linux-master/arch/x86/kernel/cpu/microcode/ |
H A D | intel.c | 349 unsigned int eax = 1, ebx, ecx = 0, edx; local 356 native_cpuid(&eax, &ebx, &ecx, &edx);
|
/linux-master/arch/x86/include/asm/ |
H A D | special_insns.h | 82 u32 ecx = 0; local 87 * clears EDX and requires that ecx=0. 91 : "c" (ecx)); 97 u32 ecx = 0, edx = 0; local 101 * requires that ecx = edx = 0. 104 : : "a" (pkru), "c"(ecx), "d"(edx));
|
H A D | asm.h | 66 #define _ASM_ARG3L ecx 96 #define _ASM_ARG4L ecx 181 ".irp rs,eax,ecx,edx,ebx,esp,ebp,esi,edi,r8d,r9d,r10d,r11d,r12d,r13d,r14d,r15d\n" \
|
/linux-master/arch/x86/events/intel/ |
H A D | lbr.c | 1582 union cpuid28_ecx ecx; local 1589 cpuid(28, &eax.full, &ebx.full, &ecx.full, &unused_edx); 1605 x86_pmu.lbr_mispred = ecx.split.lbr_mispred; 1606 x86_pmu.lbr_timed_lbr = ecx.split.lbr_timed_lbr; 1607 x86_pmu.lbr_br_type = ecx.split.lbr_br_type; 1608 x86_pmu.lbr_counters = ecx.split.lbr_counters;
|
H A D | pt.c | 205 u32 eax, ebx, ecx, edx; local 207 cpuid(CPUID_TSC_LEAF, &eax, &ebx, &ecx, &edx);
|
/linux-master/arch/x86/crypto/ |
H A D | sha256-avx2-asm.S | 96 c = %ecx
|
H A D | aesni-intel_asm.S | 161 #define T1 %ecx
|
H A D | aes-xts-avx-x86_64.S | 88 .set LEN, %ecx // Remaining length in bytes
|
/linux-master/arch/x86/boot/compressed/ |
H A D | head_64.S | 203 movl $(BOOT_INIT_PGT_SIZE/4), %ecx 215 movl $4, %ecx 220 decl %ecx 226 movl $2048, %ecx 231 decl %ecx 239 movl $MSR_EFER, %ecx 429 movl $(_bss - startup_32), %ecx 430 shrl $3, %ecx 550 movl $MSR_EFER, %ecx
|
H A D | sev.c | 483 unsigned int eax, ebx, ecx, edx; local 487 ecx = 0; 488 native_cpuid(&eax, &ebx, &ecx, &edx); 501 ecx = 0; 502 native_cpuid(&eax, &ebx, &ecx, &edx);
|
/linux-master/arch/x86/boot/ |
H A D | main.c | 98 boot_params.ist_info.event = oreg.ecx;
|
/linux-master/arch/x86/kernel/ |
H A D | sev-shared.c | 32 u32 ecx; member in struct:cpuid_leaf 47 u32 ecx; member in struct:snp_cpuid_fn 283 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_ECX, &leaf->ecx); 316 leaf->ecx = ghcb->save.rcx; 422 leaf->ecx = e->ecx; 453 leaf->ecx |= BIT(27); 457 leaf->ecx &= ~BIT(4); 459 leaf->ecx |= BIT(4); 518 leaf->ecx [all...] |
/linux-master/arch/x86/kvm/svm/ |
H A D | vmenter.S | 58 mov $MSR_IA32_SPEC_CTRL, %ecx 74 mov $MSR_IA32_SPEC_CTRL, %ecx 238 xor %ecx, %ecx
|
/linux-master/arch/x86/kvm/ |
H A D | cpuid.h | 33 u32 *ecx, u32 *edx, bool exact_only); 111 (is_guest_vendor_amd(best->ebx, best->ecx, best->edx) || 112 is_guest_vendor_hygon(best->ebx, best->ecx, best->edx)); 120 return best && is_guest_vendor_intel(best->ebx, best->ecx, best->edx);
|
H A D | reverse_cpuid.h | 175 return &entry->ecx;
|
/linux-master/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 233 __u32 ecx; member in struct:kvm_cpuid_entry 251 __u32 ecx; member in struct:kvm_cpuid_entry2
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 944 unsigned int eax, ebx, ecx, edx; local 946 __cpuid(0x80000007, eax, ebx, ecx, edx); 3036 unsigned int eax, ebx, ecx, edx; local 3039 eax = ebx = ecx = edx = 0; 3040 __cpuid(1, eax, ebx, ecx, edx); 3054 eax = ebx = ecx = edx = 0; 3055 __cpuid(0x80000001, eax, ebx, ecx, edx); 3056 topology_extensions = ecx & (1 << 22); 3061 eax = ebx = ecx = edx = 0; 3062 __cpuid(0x8000001e, eax, ebx, ecx, ed 6236 unsigned int eax, ebx, ecx, edx; local 6734 unsigned int eax, ebx, ecx, edx; local [all...] |
/linux-master/include/asm-generic/ |
H A D | hyperv-tlfs.h | 833 u32 ecx; member in struct:hv_hypervisor_version_info::__anon136
|
/linux-master/drivers/platform/x86/ |
H A D | acer-wmi.c | 778 u32 ecx; member in struct:wmab_args 785 u32 ecx; member in struct:wmab_ret 879 args.ecx = args.edx = 0; 921 args.ebx = args.ecx = args.edx = 0; 984 args.ecx = args.edx = 0;
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmenter.S | 126 mov $MSR_IA32_SPEC_CTRL, %ecx 242 xor %ecx, %ecx
|