Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/tests/shell/
H A Dtest_data_symbol.sh60 is_amd=$(grep -E -c 'vendor_id.*AuthenticAMD' /proc/cpuinfo)
61 if (($is_amd >= 1)); then
/linux-6.15/tools/perf/util/
H A Denv.c660 static int is_amd; /* 0: Uninitialized, 1: Yes, -1: No */ in perf_env__is_x86_amd_cpu() local
662 if (is_amd == 0) in perf_env__is_x86_amd_cpu()
663 is_amd = env->cpuid && strstarts(env->cpuid, "AuthenticAMD") ? 1 : -1; in perf_env__is_x86_amd_cpu()
665 return is_amd >= 1 ? true : false; in perf_env__is_x86_amd_cpu()
671 bool is_amd; in x86__is_amd_cpu() local
674 is_amd = perf_env__is_x86_amd_cpu(&env); in x86__is_amd_cpu()
677 return is_amd; in x86__is_amd_cpu()
/linux-6.15/arch/x86/boot/
H A Dcpucheck.c60 static int is_amd(void) in is_amd() function
131 is_amd()) { in check_cpu()
/linux-6.15/tools/arch/x86/kcpuid/
H A Dkcpuid.c80 static bool is_amd; variable
587 is_amd = true; in setup_platform_cpuid()
/linux-6.15/arch/x86/kvm/mmu/
H A Dmmu.c5279 bool is_amd = true; in reset_shadow_zero_bits_mask() local
5292 is_pse, is_amd); in reset_shadow_zero_bits_mask()