Lines Matching refs:ebx

47 		        u32 eax, ebx, ecx, edx, offset;  in xstate_required_size()  local
48 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
53 offset = ebx; in xstate_required_size()
184 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal()
205 signature[0] = entry->ebx; in kvm_get_hypervisor_cpuid()
288 best->ebx = xstate_required_size(vcpu->arch.xcr0, false); in __kvm_update_cpuid_runtime()
293 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in __kvm_update_cpuid_runtime()
483 e2[i].ebx = e[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
550 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in __kvm_cpu_cap_mask()
854 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid()
953 entry->ebx = 0; in __do_cpuid_func()
972 entry->ebx = 0; in __do_cpuid_func()
981 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
998 entry->ebx = kvm_pmu_cap.events_mask; in __do_cpuid_func()
1009 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func()
1016 entry->ebx = xstate_required_size(permitted_xcr0, false); in __do_cpuid_func()
1017 entry->ecx = entry->ebx; in __do_cpuid_func()
1028 entry->ebx = xstate_required_size(permitted_xcr0 | permitted_xss, in __do_cpuid_func()
1032 entry->ebx = 0; in __do_cpuid_func()
1072 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1083 entry->ebx &= SGX_MISC_EXINFO; in __do_cpuid_func()
1097 entry->ebx &= 0; in __do_cpuid_func()
1102 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1114 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1125 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1132 entry->ebx = sigptr[0]; in __do_cpuid_func()
1155 entry->ebx = 0; in __do_cpuid_func()
1180 entry->ebx &= ~GENMASK(27, 16); in __do_cpuid_func()
1196 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func()
1226 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1230 entry->ebx = 8; /* Lets support 8 ASIDs in case we add proper in __do_cpuid_func()
1240 entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1244 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func()
1249 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1253 entry->ebx &= ~GENMASK(31, 12); in __do_cpuid_func()
1258 entry->ebx &= ~GENMASK(11, 6); in __do_cpuid_func()
1262 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1265 entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1270 union cpuid_0x80000022_ebx ebx; in __do_cpuid_func() local
1274 entry->eax = entry->ebx; in __do_cpuid_func()
1281 ebx.split.num_core_pmc = kvm_pmu_cap.num_counters_gp; in __do_cpuid_func()
1283 ebx.split.num_core_pmc = AMD64_NUM_COUNTERS_CORE; in __do_cpuid_func()
1285 ebx.split.num_core_pmc = AMD64_NUM_COUNTERS; in __do_cpuid_func()
1287 entry->ebx = ebx.full; in __do_cpuid_func()
1304 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1475 if (is_guest_vendor_amd(basic->ebx, basic->ecx, basic->edx) || in get_out_of_range_cpuid_entry()
1476 is_guest_vendor_hygon(basic->ebx, basic->ecx, basic->edx)) in get_out_of_range_cpuid_entry()
1505 bool kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, in kvm_cpuid() argument
1522 *ebx = entry->ebx; in kvm_cpuid()
1529 *ebx &= ~(F(RTM) | F(HLE)); in kvm_cpuid()
1535 *eax = *ebx = *ecx = *edx = 0; in kvm_cpuid()
1551 trace_kvm_cpuid(orig_function, index, *eax, *ebx, *ecx, *edx, exact, in kvm_cpuid()
1559 u32 eax, ebx, ecx, edx; in kvm_emulate_cpuid() local
1566 kvm_cpuid(vcpu, &eax, &ebx, &ecx, &edx, false); in kvm_emulate_cpuid()
1568 kvm_rbx_write(vcpu, ebx); in kvm_emulate_cpuid()