Home
last modified time | relevance | path

Searched refs:boot_cpu_data (Results 1 – 25 of 187) sorted by relevance

12345678

/linux/arch/sh/kernel/cpu/sh4/
A Dprobe.c37 boot_cpu_data.icache.sets = 256; in cpu_probe()
38 boot_cpu_data.icache.ways = 1; in cpu_probe()
46 boot_cpu_data.dcache.sets = 512; in cpu_probe()
47 boot_cpu_data.dcache.ways = 1; in cpu_probe()
51 boot_cpu_data.cut_major = boot_cpu_data.cut_minor = -1; in cpu_probe()
67 boot_cpu_data.icache.ways = 4; in cpu_probe()
68 boot_cpu_data.dcache.ways = 4; in cpu_probe()
166 boot_cpu_data.type = CPU_SHX3; in cpu_probe()
171 boot_cpu_data.icache.ways = 2; in cpu_probe()
172 boot_cpu_data.dcache.ways = 2; in cpu_probe()
[all …]
/linux/arch/parisc/kernel/
A Dprocessor.c33 EXPORT_SYMBOL(boot_cpu_data);
150 boot_cpu_data.cpu_count--; in processor_probe()
160 boot_cpu_data.cpu_count++; in processor_probe()
232 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data()
263 boot_cpu_data.pdc.cpuid); in collect_boot_cpu_data()
279 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data()
280 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data()
282 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); in collect_boot_cpu_data()
283 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; in collect_boot_cpu_data()
284 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; in collect_boot_cpu_data()
[all …]
A Dperf.c494 if (boot_cpu_data.cpu_type == pcxu || in perf_init()
495 boot_cpu_data.cpu_type == pcxu_) { in perf_init()
497 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init()
498 boot_cpu_data.cpu_type == pcxw_ || in perf_init()
499 boot_cpu_data.cpu_type == pcxw2 || in perf_init()
500 boot_cpu_data.cpu_type == mako || in perf_init()
501 boot_cpu_data.cpu_type == mako2) { in perf_init()
503 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init()
504 boot_cpu_data.cpu_type == mako || in perf_init()
505 boot_cpu_data.cpu_type == mako2) in perf_init()
A Dsetup.c78 switch (boot_cpu_data.cpu_type) { in dma_ops_init()
199 switch (boot_cpu_data.cpu_type) { in parisc_proc_mkdir()
322 boot_cpu_data.cpu_name, in parisc_init()
323 boot_cpu_data.cpu_hz / 1000000, in parisc_init()
324 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
/linux/arch/sh/kernel/cpu/sh2a/
A Dprobe.c21 boot_cpu_data.type = CPU_SH7201; in cpu_probe()
24 boot_cpu_data.type = CPU_SH7203; in cpu_probe()
27 boot_cpu_data.type = CPU_SH7263; in cpu_probe()
30 boot_cpu_data.type = CPU_SH7264; in cpu_probe()
33 boot_cpu_data.type = CPU_SH7269; in cpu_probe()
36 boot_cpu_data.type = CPU_SH7206; in cpu_probe()
39 boot_cpu_data.type = CPU_MXG; in cpu_probe()
43 boot_cpu_data.dcache.ways = 4; in cpu_probe()
45 boot_cpu_data.dcache.sets = 128; in cpu_probe()
48 boot_cpu_data.dcache.flags = 0; in cpu_probe()
[all …]
/linux/arch/sh/kernel/cpu/sh3/
A Dprobe.c50 boot_cpu_data.dcache.ways = 4; in cpu_probe()
53 boot_cpu_data.dcache.flags = 0; in cpu_probe()
62 boot_cpu_data.dcache.sets = 128; in cpu_probe()
63 boot_cpu_data.type = CPU_SH7708; in cpu_probe()
69 boot_cpu_data.dcache.sets = 256; in cpu_probe()
70 boot_cpu_data.type = CPU_SH7729; in cpu_probe()
73 boot_cpu_data.type = CPU_SH7706; in cpu_probe()
76 boot_cpu_data.type = CPU_SH7710; in cpu_probe()
79 boot_cpu_data.type = CPU_SH7712; in cpu_probe()
82 boot_cpu_data.type = CPU_SH7720; in cpu_probe()
[all …]
/linux/arch/sh/mm/
A Dcache.c260 boot_cpu_data.icache.ways, in emit_cache_params()
261 boot_cpu_data.icache.sets, in emit_cache_params()
262 boot_cpu_data.icache.way_incr); in emit_cache_params()
264 boot_cpu_data.icache.entry_mask, in emit_cache_params()
265 boot_cpu_data.icache.alias_mask, in emit_cache_params()
266 boot_cpu_data.icache.n_aliases); in emit_cache_params()
268 boot_cpu_data.dcache.ways, in emit_cache_params()
269 boot_cpu_data.dcache.sets, in emit_cache_params()
270 boot_cpu_data.dcache.way_incr); in emit_cache_params()
281 boot_cpu_data.scache.ways, in emit_cache_params()
[all …]
A Dcache-shx3.c27 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) { in shx3_cache_init()
30 boot_cpu_data.icache.n_aliases = 0; in shx3_cache_init()
31 boot_cpu_data.dcache.n_aliases = 0; in shx3_cache_init()
/linux/arch/sh/kernel/cpu/sh2/
A Dprobe.c33 boot_cpu_data.type = CPU_SH7619; in cpu_probe()
34 boot_cpu_data.dcache.ways = 4; in cpu_probe()
36 boot_cpu_data.dcache.sets = 256; in cpu_probe()
37 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe()
39 boot_cpu_data.dcache.flags = 0; in cpu_probe()
51 boot_cpu_data.type = CPU_J2; in cpu_probe()
56 boot_cpu_data.dcache.ways = 1; in cpu_probe()
57 boot_cpu_data.dcache.sets = 256; in cpu_probe()
59 boot_cpu_data.dcache.linesz = 32; in cpu_probe()
60 boot_cpu_data.dcache.flags = 0; in cpu_probe()
[all …]
/linux/arch/x86/include/asm/
A Dgeode.h16 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) && in is_geode_gx()
17 (boot_cpu_data.x86 == 5) && in is_geode_gx()
18 (boot_cpu_data.x86_model == 5)); in is_geode_gx()
23 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in is_geode_lx()
24 (boot_cpu_data.x86 == 5) && in is_geode_lx()
25 (boot_cpu_data.x86_model == 10)); in is_geode_lx()
A Dcpufeature.h141 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
149 set_cpu_cap(&boot_cpu_data, bit); \
194 [cap_byte] "i" (&((const char *)boot_cpu_data.x86_capability)[bit >> 3]) in _static_cpu_has()
215 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit))
216 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
222 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \
223 boot_cpu_data.x86_model
A Damd_nb.h106 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_gart_present()
110 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || in amd_gart_present()
111 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) in amd_gart_present()
A Dacpi.h77 if (boot_cpu_data.x86 == 0x0F && in acpi_processor_cstate_check()
78 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check()
79 boot_cpu_data.x86_model <= 0x05 && in acpi_processor_cstate_check()
80 boot_cpu_data.x86_stepping < 0x0A) in acpi_processor_cstate_check()
A Dvirtext.h97 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in cpu_has_svm()
98 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) { in cpu_has_svm()
104 if (boot_cpu_data.extended_cpuid_level < SVM_CPUID_FUNC) { in cpu_has_svm()
/linux/arch/um/include/asm/
A Dcpufeature.h55 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
62 set_cpu_cap(&boot_cpu_data, bit); \
126 [cap_byte] "m" (((const char *)boot_cpu_data.x86_capability)[bit >> 3]) in _static_cpu_has()
146 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit))
147 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
153 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \
154 boot_cpu_data.x86_model
A Dprocessor-generic.h102 extern struct cpuinfo_um boot_cpu_data;
104 #define cpu_data (&boot_cpu_data)
105 #define current_cpu_data boot_cpu_data
106 #define cache_line_size() (boot_cpu_data.cache_alignment)
/linux/drivers/hwmon/
A Dk10temp.c321 if (boot_cpu_data.x86 != 0x10) in has_erratum_319()
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()
418 if (boot_cpu_data.x86 == 0x15 && in k10temp_probe()
419 ((boot_cpu_data.x86_model & 0xf0) == 0x60 || in k10temp_probe()
420 (boot_cpu_data.x86_model & 0xf0) == 0x70)) { in k10temp_probe()
423 } else if (boot_cpu_data.x86 == 0x17 || boot_cpu_data.x86 == 0x18) { in k10temp_probe()
428 switch (boot_cpu_data.x86_model) { in k10temp_probe()
444 } else if (boot_cpu_data.x86 == 0x19) { in k10temp_probe()
449 switch (boot_cpu_data.x86_model) { in k10temp_probe()
[all …]
/linux/arch/x86/kernel/cpu/
A Dperfctr-watchdog.c48 switch (boot_cpu_data.x86_vendor) { in nmi_perfctr_msr_to_bit()
55 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit()
58 switch (boot_cpu_data.x86) { in nmi_perfctr_msr_to_bit()
81 switch (boot_cpu_data.x86_vendor) { in nmi_evntsel_msr_to_bit()
88 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
91 switch (boot_cpu_data.x86) { in nmi_evntsel_msr_to_bit()
/linux/arch/x86/kernel/
A Damd_nb.c320 if (boot_cpu_data.x86 == 0x10 && in amd_cache_northbridges()
321 boot_cpu_data.x86_model >= 0x8 && in amd_cache_northbridges()
322 (boot_cpu_data.x86_model > 0x9 || in amd_cache_northbridges()
323 boot_cpu_data.x86_stepping >= 0x1)) in amd_cache_northbridges()
326 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges()
330 if (boot_cpu_data.x86 == 0x15) 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()
372 if (boot_cpu_data.x86 < 0x10) in amd_get_mmconfig_range()
[all …]
/linux/drivers/staging/media/atomisp/include/linux/
A Datomisp_platform.h241 #define __IS_SOC(x) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
242 boot_cpu_data.x86 == 6 && \
243 boot_cpu_data.x86_model == (x))
244 #define __IS_SOCS(x,y) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
245 boot_cpu_data.x86 == 6 && \
246 (boot_cpu_data.x86_model == (x) || \
247 boot_cpu_data.x86_model == (y)))
/linux/arch/x86/crypto/
A Dtwofish_glue_3way.c107 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu()
110 if (boot_cpu_data.x86 == 0x06 && in is_blacklisted_cpu()
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()
126 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
/linux/arch/um/kernel/
A Dum_arch.c54 struct cpuinfo_um boot_cpu_data = { variable
61 EXPORT_SYMBOL(boot_cpu_data);
79 seq_printf(m, "fpu\t\t: %s\n", cpu_has(&boot_cpu_data, X86_FEATURE_FPU) ? "yes" : "no"); in show_cpuinfo()
82 if (cpu_has(&boot_cpu_data, i) && (x86_cap_flags[i] != NULL)) in show_cpuinfo()
85 seq_printf(m, "cache_alignment\t: %d\n", boot_cpu_data.cache_alignment); in show_cpuinfo()
284 set_cpu_cap(&boot_cpu_data, i); in parse_host_cpu_flags()
297 boot_cpu_data.cache_alignment = res; in parse_cache_line()
299 boot_cpu_data.cache_alignment = L1_CACHE_BYTES; in parse_cache_line()
/linux/arch/x86/kernel/cpu/mtrr/
A Dmtrr.c330 (boot_cpu_data.x86_phys_bits - PAGE_SHIFT)) { in mtrr_add_page()
709 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in mtrr_bp_init()
710 boot_cpu_data.x86 == 0xF && in mtrr_bp_init()
711 boot_cpu_data.x86_model == 0x3 && in mtrr_bp_init()
712 (boot_cpu_data.x86_stepping == 0x3 || in mtrr_bp_init()
713 boot_cpu_data.x86_stepping == 0x4)) in mtrr_bp_init()
718 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR && in mtrr_bp_init()
719 boot_cpu_data.x86 == 6) { in mtrr_bp_init()
729 switch (boot_cpu_data.x86_vendor) { in mtrr_bp_init()
/linux/drivers/mtd/nand/raw/
A Dcs553x_nand.c334 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in is_geode()
335 boot_cpu_data.x86 == 5 && in is_geode()
336 boot_cpu_data.x86_model == 10) in is_geode()
339 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || in is_geode()
340 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && in is_geode()
341 boot_cpu_data.x86 == 5 && in is_geode()
342 boot_cpu_data.x86_model == 5) in is_geode()
/linux/arch/x86/kvm/mmu/
A Dspte.c232 if (likely(boot_cpu_data.extended_cpuid_level >= 0x80000008)) in kvm_get_shadow_phys_bits()
240 return boot_cpu_data.x86_phys_bits; in kvm_get_shadow_phys_bits()
347 low_phys_bits = boot_cpu_data.x86_phys_bits; in kvm_mmu_reset_all_pte_masks()
349 !WARN_ON_ONCE(boot_cpu_data.x86_cache_bits >= in kvm_mmu_reset_all_pte_masks()
351 low_phys_bits = boot_cpu_data.x86_cache_bits in kvm_mmu_reset_all_pte_masks()
354 rsvd_bits(low_phys_bits, boot_cpu_data.x86_cache_bits - 1); in kvm_mmu_reset_all_pte_masks()

Completed in 76 milliseconds

12345678