Lines Matching defs:index
58 struct kvm_cpuid_entry2 *entries, int nent, u32 function, u32 index)
66 if (e->function == function && (e->index == index ||
254 e2[i].index = 0;
341 cpuid_count(cpuid.function, cpuid.index,
526 u32 function, u32 index)
534 entry->index = index;
537 cpuid_count(entry->function, entry->index,
569 entry->index = 0;
620 * CPUID(function=2, index=0) may return different results each
635 /* functions 4 and 0x8000001d have additional index. */
654 /* function 7 has additional index. */
1011 u32 function, u32 index)
1014 function, index);
1047 get_out_of_range_cpuid_entry(struct kvm_vcpu *vcpu, u32 *fn_ptr, u32 index)
1073 * entry for CPUID.0xb.index (see below), then the output value for EDX
1080 * the effective CPUID entry is the max basic leaf. Note, the index of
1083 return kvm_find_cpuid_entry(vcpu, basic->eax, index);
1089 u32 orig_function = *eax, function = *eax, index = *ecx;
1093 entry = kvm_find_cpuid_entry(vcpu, function, index);
1097 entry = get_out_of_range_cpuid_entry(vcpu, &function, index);
1106 if (function == 7 && index == 0) {
1119 * exists. EDX can be copied from any existing index.
1124 *ecx = index & 0xff;
1129 trace_kvm_cpuid(orig_function, index, *eax, *ebx, *ecx, *edx, exact,