Home
last modified time | relevance | path

Searched refs:x86_vendor (Results 1 – 25 of 90) sorted by relevance

1234

/openbmc/linux/arch/x86/kernel/acpi/
H A Dcstate.c37 else if (c->x86_vendor == X86_VENDOR_INTEL) { in acpi_processor_power_init_bm_check()
52 if (c->x86_vendor == X86_VENDOR_INTEL && in acpi_processor_power_init_bm_check()
56 if (c->x86_vendor == X86_VENDOR_CENTAUR) { in acpi_processor_power_init_bm_check()
76 if (c->x86_vendor == X86_VENDOR_ZHAOXIN) { in acpi_processor_power_init_bm_check()
90 if (c->x86_vendor == X86_VENDOR_AMD && c->x86 >= 0x17) { in acpi_processor_power_init_bm_check()
200 if ((c->x86_vendor == X86_VENDOR_INTEL) && !(reg->access_size & 0x2)) in acpi_processor_ffh_cstate_probe()
222 if (c->x86_vendor != X86_VENDOR_INTEL && in ffh_cstate_init()
223 c->x86_vendor != X86_VENDOR_AMD && in ffh_cstate_init()
224 c->x86_vendor != X86_VENDOR_HYGON) in ffh_cstate_init()
H A Dcppc.c16 switch (boot_cpu_data.x86_vendor) { in cpc_supported_by_cpu()
110 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in init_freq_invariance_cppc()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dmatch.c42 if (m->vendor != X86_VENDOR_ANY && c->x86_vendor != m->vendor) in x86_match_cpu()
66 if (c->x86_vendor != m->x86_vendor) in x86_match_cpu_with_stepping()
H A Dperfctr-watchdog.c48 switch (boot_cpu_data.x86_vendor) { in nmi_perfctr_msr_to_bit()
81 switch (boot_cpu_data.x86_vendor) { in nmi_evntsel_msr_to_bit()
H A Dbugs.c1083 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in retbleed_select_mitigation()
1084 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { in retbleed_select_mitigation()
1107 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in retbleed_select_mitigation()
1108 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in retbleed_select_mitigation()
1154 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) { in retbleed_select_mitigation()
1523 if (cmd == SPECTRE_V2_CMD_IBRS && boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) { in spectre_v2_parse_cmdline()
1721 boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) { in spectre_v2_select_mitigation()
1865 (boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in spectre_v2_select_mitigation()
1866 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) { in spectre_v2_select_mitigation()
2893 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in retbleed_show_state()
[all …]
H A Dcacheinfo.c615 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in cpuid4_cache_lookup_regs()
622 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { in cpuid4_cache_lookup_regs()
649 if (c->x86_vendor == X86_VENDOR_AMD || in find_num_cache_leaves()
650 c->x86_vendor == X86_VENDOR_HYGON) in find_num_cache_leaves()
956 if (c->x86_vendor == X86_VENDOR_AMD || in __cache_cpumap_setup()
957 c->x86_vendor == X86_VENDOR_HYGON) { in __cache_cpumap_setup()
/openbmc/linux/arch/x86/xen/
H A Dpmu.c72 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in xen_pmu_arch_init()
94 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { in xen_pmu_arch_init()
134 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in is_amd_pmu_msr()
135 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in is_amd_pmu_msr()
151 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL && in is_intel_pmu_msr()
152 boot_cpu_data.x86_vendor != X86_VENDOR_CENTAUR && in is_intel_pmu_msr()
153 boot_cpu_data.x86_vendor != X86_VENDOR_ZHAOXIN) in is_intel_pmu_msr()
402 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in xen_read_pmc()
H A Denlighten.c90 if ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in xen_hypercall_setfunc()
91 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) in xen_hypercall_setfunc()
126 if ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in __xen_hypercall_setfunc()
127 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) in __xen_hypercall_setfunc()
/openbmc/linux/arch/x86/kernel/
H A Damd_nb.c249 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { in amd_cache_northbridges()
347 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in early_is_amd_nb()
348 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in early_is_amd_nb()
351 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in early_is_amd_nb()
366 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in amd_get_mmconfig_range()
367 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in amd_get_mmconfig_range()
537 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD &&
538 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in init_amd_nbs()
H A Dsmpboot.c788 if (((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && (boot_cpu_data.x86 == 6)) || in smp_quirk_init_udelay()
789 ((boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) && (boot_cpu_data.x86 >= 0x18)) || in smp_quirk_init_udelay()
790 ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && (boot_cpu_data.x86 >= 0xF))) { in smp_quirk_init_udelay()
1477 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in mwait_play_dead()
1478 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in mwait_play_dead()
/openbmc/linux/arch/x86/include/asm/
H A Dgeode.h16 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) && in is_geode_gx()
23 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in is_geode_lx()
H A Dacpi.h91 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check()
104 return (c->x86_vendor == X86_VENDOR_INTEL || in arch_has_acpi_pdc()
105 c->x86_vendor == X86_VENDOR_CENTAUR); in arch_has_acpi_pdc()
H A Dcpu_device_id.h277 u8 x86_vendor; member
285 .x86_vendor = X86_VENDOR_INTEL, \
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c125 m->cpuvendor = boot_cpu_data.x86_vendor; in mce_setup()
484 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL && in mce_usable_address()
485 boot_cpu_data.x86_vendor != X86_VENDOR_ZHAOXIN) in mce_usable_address()
1234 if (boot_cpu_data.x86_vendor == X86_VENDOR_ZHAOXIN) { in mce_check_crashing_cpu()
1855 if (c->x86_vendor == X86_VENDOR_UNKNOWN) { in __mcheck_cpu_apply_quirks()
1861 if (c->x86_vendor == X86_VENDOR_AMD) { in __mcheck_cpu_apply_quirks()
1896 if (c->x86_vendor == X86_VENDOR_INTEL) { in __mcheck_cpu_apply_quirks()
1935 if (c->x86_vendor == X86_VENDOR_ZHAOXIN) { in __mcheck_cpu_apply_quirks()
1959 switch (c->x86_vendor) { in __mcheck_cpu_ancient_init()
1980 if (c->x86_vendor == X86_VENDOR_AMD || c->x86_vendor == X86_VENDOR_HYGON) { in __mcheck_cpu_init_early()
[all …]
/openbmc/u-boot/drivers/timer/
H A Dtsc_timer.c40 if (gd->arch.x86_vendor != X86_VENDOR_INTEL) in native_calibrate_tsc()
77 if (gd->arch.x86_vendor != X86_VENDOR_INTEL) in cpu_mhz_from_cpuid()
153 if (gd->arch.x86_vendor != X86_VENDOR_INTEL) in cpu_mhz_from_msr()
/openbmc/linux/drivers/cpufreq/
H A Damd_freq_sensitivity.c115 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in amd_freq_sensitivity_init()
117 else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in amd_freq_sensitivity_init()
H A Dacpi-cpufreq.c81 switch (boot_cpu_data.x86_vendor) { in boost_state()
102 switch (boot_cpu_data.x86_vendor) { in boost_set_msr()
222 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in extract_msr()
224 else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in extract_msr()
618 if (c->x86_vendor == X86_VENDOR_INTEL) { in acpi_cpufreq_blacklist()
654 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in get_max_boost_ratio()
773 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_cpufreq_cpu_init()
H A Dsc520_freq.c77 if (c->x86_vendor != X86_VENDOR_AMD || in sc520_freq_cpu_init()
/openbmc/linux/arch/x86/kernel/cpu/resctrl/
H A Dcore.c756 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) in get_mem_config()
758 else if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in get_mem_config()
771 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in get_slow_mem_config()
851 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) in check_quirks()
908 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) in rdt_init_res_defs()
910 else if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in rdt_init_res_defs()
941 if (c->x86_vendor == X86_VENDOR_AMD && !c->x86_cache_mbm_width_offset) in resctrl_cpu_detect()
/openbmc/linux/drivers/staging/media/atomisp/include/linux/
H A Datomisp_platform.h220 #define __IS_SOC(x) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
223 #define __IS_SOCS(x,y) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcs553x_nand.c329 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in is_geode()
334 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || in is_geode()
335 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && in is_geode()
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_msr.c158 switch (boot_cpu_data.x86_vendor) { in rapl_msr_probe()
167 pr_err("intel-rapl does not support CPU vendor %d\n", boot_cpu_data.x86_vendor); in rapl_msr_probe()
/openbmc/linux/drivers/rtc/
H A Drtc-mc146818-lib.c204 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in apply_amd_register_a_behavior()
205 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in apply_amd_register_a_behavior()
/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dlegacy.c13 switch (boot_cpu_data.x86_vendor) { in mtrr_set_if()
/openbmc/linux/arch/x86/events/amd/
H A Duncore.c653 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in amd_uncore_init()
654 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in amd_uncore_init()
701 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON ? "HYGON" : "", in amd_uncore_init()
728 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON ? "HYGON" : "", in amd_uncore_init()

1234