Lines Matching refs:cpuinfo_mock_cpuid_data
11 static struct cpuinfo_mock_cpuid* cpuinfo_mock_cpuid_data = NULL; variable
16 cpuinfo_mock_cpuid_data = dump; in cpuinfo_mock_set_cpuid()
24 if (cpuinfo_mock_cpuid_data != NULL && cpuinfo_mock_cpuid_entries != 0) { in cpuinfo_mock_get_cpuid()
28 if (eax == cpuinfo_mock_cpuid_data[i].input_eax) { in cpuinfo_mock_get_cpuid()
30 regs[0] = cpuinfo_mock_cpuid_data[i].eax; in cpuinfo_mock_get_cpuid()
31 regs[1] = cpuinfo_mock_cpuid_data[i].ebx; in cpuinfo_mock_get_cpuid()
32 regs[2] = cpuinfo_mock_cpuid_data[i].ecx; in cpuinfo_mock_get_cpuid()
33 regs[3] = cpuinfo_mock_cpuid_data[i].edx; in cpuinfo_mock_get_cpuid()
41 if (eax == cpuinfo_mock_cpuid_data[i].input_eax) { in cpuinfo_mock_get_cpuid()
42 regs[0] = cpuinfo_mock_cpuid_data[i].eax; in cpuinfo_mock_get_cpuid()
43 regs[1] = cpuinfo_mock_cpuid_data[i].ebx; in cpuinfo_mock_get_cpuid()
44 regs[2] = cpuinfo_mock_cpuid_data[i].ecx; in cpuinfo_mock_get_cpuid()
45 regs[3] = cpuinfo_mock_cpuid_data[i].edx; in cpuinfo_mock_get_cpuid()
56 if (cpuinfo_mock_cpuid_data != NULL && cpuinfo_mock_cpuid_entries != 0) { in cpuinfo_mock_get_cpuidex()
58 if (eax == cpuinfo_mock_cpuid_data[i].input_eax && in cpuinfo_mock_get_cpuidex()
59 ecx == cpuinfo_mock_cpuid_data[i].input_ecx) in cpuinfo_mock_get_cpuidex()
61 regs[0] = cpuinfo_mock_cpuid_data[i].eax; in cpuinfo_mock_get_cpuidex()
62 regs[1] = cpuinfo_mock_cpuid_data[i].ebx; in cpuinfo_mock_get_cpuidex()
63 regs[2] = cpuinfo_mock_cpuid_data[i].ecx; in cpuinfo_mock_get_cpuidex()
64 regs[3] = cpuinfo_mock_cpuid_data[i].edx; in cpuinfo_mock_get_cpuidex()