/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | amd.c | 94 ms = (cpu->x86_model << 4) | cpu->x86_stepping; in cpu_has_amd_erratum() 172 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5() 185 if (c->x86_model < 6) { in init_amd_k6() 187 if (c->x86_model == 0) { in init_amd_k6() 194 if (c->x86_model == 6 && c->x86_stepping == 1) { in init_amd_k6() 223 if (c->x86_model < 8 || in init_amd_k6() 224 (c->x86_model == 8 && c->x86_stepping < 8)) { in init_amd_k6() 243 if ((c->x86_model == 8 && c->x86_stepping > 7) || in init_amd_k6() 244 c->x86_model == 9 || c->x86_model == 13) { in init_amd_k6() 265 if (c->x86_model == 10) { in init_amd_k6() [all …]
|
H A D | centaur.c | 53 if (c->x86_model >= 6 && c->x86_model <= 13) { in init_c3() 61 if (c->x86_model >= 6 && c->x86_model < 9) in init_c3() 64 if (c->x86 == 0x6 && c->x86_model >= 0xf) { in init_c3() 101 if ((c->x86 == 6 && c->x86_model >= 0xf) || in early_init_centaur() 150 switch (c->x86_model) { in init_centaur() 199 if (c->x86_model >= 8) in init_centaur() 225 if ((c->x86 == 6) && ((c->x86_model == 7) || (c->x86_model == 8))) in centaur_size_cache() 233 if ((c->x86 == 6) && (c->x86_model == 9) && in centaur_size_cache()
|
H A D | match.c | 46 if (m->model != X86_MODEL_ANY && c->x86_model != m->model) in x86_match_cpu() 65 for (m = match; m->x86_family | m->x86_model; m++) { in x86_match_cpu_with_stepping() 70 if (c->x86_model != m->x86_model) in x86_match_cpu_with_stepping()
|
H A D | intel.c | 273 if (c->x86 > 6 || (c->x86 == 6 && c->x86_model >= 0xd)) { in early_init_intel() 281 if ((c->x86 == 0xf && c->x86_model >= 0x03) || in early_init_intel() 282 (c->x86 == 0x6 && c->x86_model >= 0x0e)) in early_init_intel() 327 if (c->x86 == 0xF && c->x86_model == 0x3 in early_init_intel() 363 if (c->x86 == 6 && c->x86_model < 15) in early_init_intel() 370 if (c->x86 > 6 || (c->x86 == 6 && c->x86_model >= 0xd)) { in early_init_intel() 441 boot_cpu_data.x86_model == 1 && in ppro_with_ram_bug() 460 c->x86_model <= 3) { in intel_smp_check() 487 if (c->x86 == 5 && c->x86_model < 9) { in intel_workarounds() 502 if ((c->x86<<8 | c->x86_model<< in intel_workarounds() [all...] |
H A D | cyrix.c | 218 c->x86_model = (dir1 >> 4) + 1; in init_cyrix() 250 (c->x86_model)++; in init_cyrix() 315 c->x86_model = (dir1 & 0x20) ? 1 : 2; in init_cyrix() 332 (c->x86_model)++; in init_cyrix() 381 if (c->x86 == 5 && c->x86_model == 5) in init_nsc()
|
/openbmc/linux/arch/x86/kernel/acpi/ |
H A D | cppc.c | 19 if (boot_cpu_data.x86 == 0x19 && ((boot_cpu_data.x86_model <= 0x0f) || in cpc_supported_by_cpu() 20 (boot_cpu_data.x86_model >= 0x20 && boot_cpu_data.x86_model <= 0x2f))) in cpc_supported_by_cpu() 23 boot_cpu_data.x86_model >= 0x30 && boot_cpu_data.x86_model <= 0x7f) in cpc_supported_by_cpu()
|
H A D | cstate.c | 53 (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 0x0f))) in acpi_processor_power_init_bm_check() 57 if (c->x86 > 6 || (c->x86 == 6 && c->x86_model == 0x0f && in acpi_processor_power_init_bm_check()
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | intel.c | 498 switch (c->x86_model) { in intel_imc_init() 528 ((c->x86_model == INTEL_FAM6_HASWELL) || in intel_filter_mce() 529 (c->x86_model == INTEL_FAM6_HASWELL_L) || in intel_filter_mce() 530 (c->x86_model == INTEL_FAM6_BROADWELL) || in intel_filter_mce() 531 (c->x86_model == INTEL_FAM6_HASWELL_G) || in intel_filter_mce() 532 (c->x86_model == INTEL_FAM6_SKYLAKE_X)) && in intel_filter_mce()
|
H A D | core.c | 1888 if (c->x86 == 0x15 && c->x86_model <= 0xf) in __mcheck_cpu_apply_quirks() 1906 if (c->x86 == 6 && c->x86_model < 0x1A && this_cpu_read(mce_num_banks) > 0) in __mcheck_cpu_apply_quirks() 1913 if ((c->x86 > 6 || (c->x86 == 6 && c->x86_model >= 0xe)) && in __mcheck_cpu_apply_quirks() 1921 if (c->x86 == 6 && c->x86_model <= 13 && cfg->bootlog < 0) in __mcheck_cpu_apply_quirks() 1924 if (c->x86 == 6 && c->x86_model == 45) in __mcheck_cpu_apply_quirks() 1931 if (c->x86 == 6 && c->x86_model == INTEL_FAM6_SKYLAKE_X) in __mcheck_cpu_apply_quirks() 1940 if (c->x86 > 6 || (c->x86_model == 0x19 || c->x86_model == 0x1f)) { in __mcheck_cpu_apply_quirks() 1996 if ((c->x86 == 6 && c->x86_model == 0xf && c->x86_stepping >= 0xe) || in mce_centaur_feature_init() 2016 if ((c->x86 == 7 && c->x86_model == 0x1b) || in mce_zhaoxin_feature_init() 2017 (c->x86_model == 0x19 || c->x86_model == 0x1f)) { in mce_zhaoxin_feature_init()
|
/openbmc/linux/drivers/hwmon/ |
H A D | fam15h_power.c | 67 return boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model >= 0x60; in is_carrizo_or_later() 297 (c->x86_model <= 0xf || in fam15h_power_init_attrs() 298 (c->x86_model >= 0x60 && c->x86_model <= 0x7f))) in fam15h_power_init_attrs() 315 (c->x86_model <= 0xf || in fam15h_power_init_attrs() 316 (c->x86_model >= 0x60 && c->x86_model <= 0x7f))) in fam15h_power_init_attrs()
|
H A D | coretemp.c | 181 if (c->x86_model == tm->model && in adjust_tjmax() 188 if (c->x86_model == 0xf && c->x86_stepping < 4) in adjust_tjmax() 191 if (c->x86_model > 0xe && usemsr_ee) { in adjust_tjmax() 205 } else if (c->x86_model < 0x17 && !(eax & 0x10000000)) { in adjust_tjmax() 220 if (c->x86_model == 0x17 && in adjust_tjmax() 254 u8 model = c->x86_model; in cpu_has_tjmax() 464 if (c->x86_model == 0xe && c->x86_stepping < 0xc && c->microcode < 0x39) { in chk_ucode_version() 545 if (c->x86_model > 0xe && c->x86_model != 0x1c) in create_core_data()
|
H A D | k10temp.c | 347 return boot_cpu_data.x86_model < 4 || in has_erratum_319() 348 (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_stepping <= 2); in has_erratum_319() 440 ((boot_cpu_data.x86_model & 0xf0) == 0x60 || in k10temp_probe() 441 (boot_cpu_data.x86_model & 0xf0) == 0x70)) { in k10temp_probe() 449 switch (boot_cpu_data.x86_model) { in k10temp_probe() 474 switch (boot_cpu_data.x86_model) { in k10temp_probe()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | geode.h | 18 (boot_cpu_data.x86_model == 5)); in is_geode_gx() 25 (boot_cpu_data.x86_model == 10)); in is_geode_lx()
|
H A D | cpu_device_id.h | 278 u8 x86_model; member 286 .x86_model = (model), \
|
/openbmc/linux/arch/x86/lib/ |
H A D | cpu.c | 19 unsigned int x86_model(unsigned int sig) in x86_model() function 32 EXPORT_SYMBOL_GPL(x86_model);
|
/openbmc/linux/arch/x86/crypto/ |
H A D | twofish_glue_3way.c | 111 (boot_cpu_data.x86_model == 0x1c || in is_blacklisted_cpu() 112 boot_cpu_data.x86_model == 0x26 || in is_blacklisted_cpu() 113 boot_cpu_data.x86_model == 0x36)) { in is_blacklisted_cpu()
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | via-rng.c | 138 if (((c->x86 == 6) && (c->x86_model >= 0x0f)) || (c->x86 > 6)){ in via_rng_init() 165 if ((c->x86_model == 9) && (c->x86_stepping > 7)) in via_rng_init() 169 if (c->x86_model >= 10) in via_rng_init()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | speedstep-lib.c | 186 if (c->x86_model < 2) in pentium4_get_frequency() 259 pr_debug("x86: %x, model: %x\n", c->x86, c->x86_model); in speedstep_detect_processor() 268 if (c->x86_model != 2) in speedstep_detect_processor() 324 switch (c->x86_model) { in speedstep_detect_processor()
|
H A D | p4-clockmod.c | 123 switch (c->x86_model) { in cpufreq_p4_get_frequency() 166 cpuid = (c->x86 << 8) | (c->x86_model << 4) | c->x86_stepping; in cpufreq_p4_cpu_init() 177 c->x86_model < 2) { in cpufreq_p4_cpu_init()
|
/openbmc/u-boot/drivers/timer/ |
H A D | tsc_timer.c | 54 switch (gd->arch.x86_model) { in native_calibrate_tsc() 96 u8 x86_model; /* model */ member 126 (model == freq_desc_tables[i].x86_model)) in match_cpu() 156 cpu_index = match_cpu(gd->arch.x86, gd->arch.x86_model); in cpu_mhz_from_msr()
|
/openbmc/u-boot/arch/x86/cpu/intel_common/ |
H A D | microcode.c | 100 unsigned int x86_model, x86_family; in microcode_read_cpu() local 107 x86_model = (result.eax >> 4) & 0x0f; in microcode_read_cpu() 112 if ((x86_model >= 5) || (x86_family > 6)) { in microcode_read_cpu()
|
/openbmc/u-boot/arch/x86/cpu/i386/ |
H A D | cpu.c | 56 uint8_t x86_model; member 294 c->x86_model = (tfms >> 4) & 0xf; in get_fms() 299 c->x86_model += ((tfms >> 16) & 0xF) << 4; in get_fms() 336 gd->arch.x86_model = c.x86_model; in x86_cpu_init_f()
|
/openbmc/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp_platform.h | 222 boot_cpu_data.x86_model == (x)) 225 (boot_cpu_data.x86_model == (x) || \ 226 boot_cpu_data.x86_model == (y)))
|
/openbmc/linux/arch/x86/kernel/cpu/microcode/ |
H A D | intel.c | 77 if (x86_model(sig->sig) >= 5 || x86_family(sig->sig) > 6) { in intel_collect_cpu_info() 353 x86_family(eax), x86_model(eax), x86_stepping(eax)); in load_builtin_intel_microcode() 552 c->x86_model == INTEL_FAM6_BROADWELL_X && in is_blacklisted() 577 c->x86, c->x86_model, c->x86_stepping); in request_microcode_fw()
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | p6.c | 251 switch (boot_cpu_data.x86_model) { in p6_pmu_init() 272 pr_cont("unsupported p6 CPU model %d ", boot_cpu_data.x86_model); in p6_pmu_init()
|