Home
last modified time | relevance | path

Searched refs:is_amd (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/perf/arch/x86/util/
H A Denv.c9 static int is_amd; /* 0: Uninitialized, 1: Yes, -1: No */ in x86__is_amd_cpu() local
11 if (is_amd) in x86__is_amd_cpu()
15 is_amd = env.cpuid && strstarts(env.cpuid, "AuthenticAMD") ? 1 : -1; in x86__is_amd_cpu()
18 return is_amd >= 1 ? true : false; in x86__is_amd_cpu()
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_data_symbol.sh51 is_amd=$(grep -E -c 'vendor_id.*AuthenticAMD' /proc/cpuinfo)
52 if (($is_amd >= 1)); then
/openbmc/linux/arch/x86/boot/
H A Dcpucheck.c59 static int is_amd(void) in is_amd() function
130 is_amd()) { in check_cpu()
/openbmc/linux/tools/arch/x86/kcpuid/
H A Dkcpuid.c81 static bool is_amd; variable
105 if (is_amd) { in has_subleafs()
578 is_amd = true; in setup_platform_cpuid()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu.c4860 bool is_amd = true; in reset_shadow_zero_bits_mask() local
4873 is_pse, is_amd); in reset_shadow_zero_bits_mask()