/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 38 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe() 39 boot_cpu_data.icache.entry_shift = 5; in cpu_probe() 40 boot_cpu_data.icache.sets = 256; in cpu_probe() 41 boot_cpu_data.icache.ways = 1; in cpu_probe() 42 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe() 47 boot_cpu_data.dcache.way_incr = (1 << 14); in cpu_probe() 48 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe() 49 boot_cpu_data.dcache.sets = 512; in cpu_probe() 50 boot_cpu_data.dcache.ways = 1; in cpu_probe() 51 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe() [all …]
|
D | perf_event.c | 261 if (!(boot_cpu_data.flags & CPU_HAS_PERF_COUNTER)) { in sh7750_pmu_init()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/ |
D | probe.c | 18 boot_cpu_data.family = CPU_FAMILY_SH2A; in cpu_probe() 21 boot_cpu_data.flags |= CPU_HAS_OP32; in cpu_probe() 24 boot_cpu_data.type = CPU_SH7201; in cpu_probe() 25 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() 27 boot_cpu_data.type = CPU_SH7203; in cpu_probe() 28 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() 30 boot_cpu_data.type = CPU_SH7263; in cpu_probe() 31 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() 33 boot_cpu_data.type = CPU_SH7264; in cpu_probe() 34 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() [all …]
|
/linux-4.1.27/arch/sh/kernel/cpu/sh3/ |
D | probe.c | 53 boot_cpu_data.dcache.ways = 4; in cpu_probe() 54 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 55 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe() 56 boot_cpu_data.dcache.flags = 0; in cpu_probe() 63 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe() 64 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe() 65 boot_cpu_data.dcache.sets = 128; in cpu_probe() 66 boot_cpu_data.type = CPU_SH7708; in cpu_probe() 68 boot_cpu_data.flags |= CPU_HAS_MMU_PAGE_ASSOC; in cpu_probe() 70 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe() [all …]
|
/linux-4.1.27/arch/parisc/kernel/ |
D | processor.c | 45 struct system_cpuinfo_parisc boot_cpu_data __read_mostly; 46 EXPORT_SYMBOL(boot_cpu_data); 107 if (boot_cpu_data.cpu_count > 0) { in processor_probe() 116 cpuid = boot_cpu_data.cpu_count; in processor_probe() 163 boot_cpu_data.cpu_count--; in processor_probe() 173 boot_cpu_data.cpu_count++; in processor_probe() 244 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data() 246 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ in collect_boot_cpu_data() 249 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data() 250 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) in collect_boot_cpu_data() [all …]
|
D | perf.c | 508 if (boot_cpu_data.cpu_type == pcxu || in perf_init() 509 boot_cpu_data.cpu_type == pcxu_) { in perf_init() 511 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init() 512 boot_cpu_data.cpu_type == pcxw_ || in perf_init() 513 boot_cpu_data.cpu_type == pcxw2 || in perf_init() 514 boot_cpu_data.cpu_type == mako || in perf_init() 515 boot_cpu_data.cpu_type == mako2) { in perf_init() 517 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init() 518 boot_cpu_data.cpu_type == mako || in perf_init() 519 boot_cpu_data.cpu_type == mako2) in perf_init()
|
D | setup.c | 91 switch (boot_cpu_data.cpu_type) { in dma_ops_init() 208 switch (boot_cpu_data.cpu_type) { in parisc_proc_mkdir() 327 boot_cpu_data.cpu_name, in parisc_init() 328 boot_cpu_data.cpu_hz / 1000000, in parisc_init() 329 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
|
D | cache.c | 228 if ((boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) == in parisc_cache_init() 242 switch (boot_cpu_data.cpu_type) { in disable_sr_hashing()
|
D | traps.c | 353 if (boot_cpu_data.cpu_type >= pcxu) { in transfer_pim_to_trap_frame() 858 if (boot_cpu_data.cpu_type >= pcxu) in trap_init()
|
D | firmware.c | 796 #define IS_SPROCKETS() (strlen(boot_cpu_data.pdc.sys_model_name) == 14 && \ in pdc_get_initiator() 797 strncmp(boot_cpu_data.pdc.sys_model_name, "9000/785", 8) == 0) in pdc_get_initiator()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
D | probe.c | 32 boot_cpu_data.type = CPU_SH5_103; in cpu_probe() 35 boot_cpu_data.type = CPU_SH5_101; in cpu_probe() 37 boot_cpu_data.family = CPU_FAMILY_SH5; in cpu_probe() 42 boot_cpu_data.icache.ways = 4; in cpu_probe() 43 boot_cpu_data.icache.sets = 256; in cpu_probe() 44 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe() 45 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe() 46 boot_cpu_data.icache.entry_shift = 5; in cpu_probe() 47 boot_cpu_data.icache.way_size = boot_cpu_data.icache.sets * in cpu_probe() 48 boot_cpu_data.icache.linesz; in cpu_probe() [all …]
|
/linux-4.1.27/arch/sh/mm/ |
D | cache.c | 62 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in copy_to_user_page() 69 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page() 81 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in copy_from_user_page() 88 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page() 100 if (boot_cpu_data.dcache.n_aliases && page_mapped(from) && in copy_user_highpage() 140 if (!boot_cpu_data.dcache.n_aliases) in __update_cache() 156 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in __flush_anon_page() 177 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm() 185 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm() 254 boot_cpu_data.icache.ways, in emit_cache_params() [all …]
|
D | cache-shx3.c | 27 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()
|
D | cache-sh4.c | 77 n = boot_cpu_data.icache.n_aliases; in sh4_flush_icache_range() 97 if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) || in flush_cache_one() 293 if (boot_cpu_data.dcache.n_aliases == 0) in sh4_flush_cache_range() 326 dcache = &boot_cpu_data.dcache; in __flush_cache_one()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2/ |
D | probe.c | 19 boot_cpu_data.type = CPU_SH7619; in cpu_probe() 20 boot_cpu_data.dcache.ways = 4; in cpu_probe() 21 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe() 22 boot_cpu_data.dcache.sets = 256; in cpu_probe() 23 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 24 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe() 25 boot_cpu_data.dcache.flags = 0; in cpu_probe() 30 boot_cpu_data.dcache.flags |= SH_CACHE_COMBINED; in cpu_probe() 31 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe() 32 boot_cpu_data.family = CPU_FAMILY_SH2; in cpu_probe()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | cpu.c | 274 boot_cpu_data.arch_type = arch_id; in setup_processor() 275 boot_cpu_data.cpu_type = cpu_id; in setup_processor() 276 boot_cpu_data.arch_revision = arch_rev; in setup_processor() 277 boot_cpu_data.cpu_revision = cpu_rev; in setup_processor() 278 boot_cpu_data.tlb_config = mmu_type; in setup_processor() 279 boot_cpu_data.device_id = device_id; in setup_processor() 283 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1); in setup_processor() 284 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1); in setup_processor() 285 boot_cpu_data.icache.linesz = 1 << (tmp + 1); in setup_processor() 289 boot_cpu_data.dcache.ways = 1 << SYSREG_BFEXT(DASS, config1); in setup_processor() [all …]
|
D | setup.c | 38 struct avr32_cpuinfo boot_cpu_data = { variable 41 EXPORT_SYMBOL(boot_cpu_data); 590 boot_cpu_data.clk = cpu_clk; in setup_arch() 591 boot_cpu_data.loops_per_jiffy = cpu_hz * 4; in setup_arch()
|
D | time.c | 136 counter_hz = clk_get_rate(boot_cpu_data.clk); in time_init()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | geode.h | 19 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) && in is_geode_gx() 20 (boot_cpu_data.x86 == 5) && in is_geode_gx() 21 (boot_cpu_data.x86_model == 5)); in is_geode_gx() 26 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in is_geode_lx() 27 (boot_cpu_data.x86 == 5) && in is_geode_lx() 28 (boot_cpu_data.x86_model == 10)); in is_geode_lx()
|
D | acpi.h | 88 if (boot_cpu_data.x86 == 0x0F && in acpi_processor_cstate_check() 89 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check() 90 boot_cpu_data.x86_model <= 0x05 && in acpi_processor_cstate_check() 91 boot_cpu_data.x86_mask < 0x0A) in acpi_processor_cstate_check()
|
D | cpufeature.h | 336 cpu_has(&boot_cpu_data, bit)) 338 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 343 clear_cpu_cap(&boot_cpu_data, bit); \ 347 set_cpu_cap(&boot_cpu_data, bit); \ 593 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) 599 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \ 600 boot_cpu_data.x86_model
|
D | processor.h | 149 extern struct cpuinfo_x86 boot_cpu_data; 160 #define cpu_info boot_cpu_data 161 #define cpu_data(cpu) boot_cpu_data 166 #define cache_line_size() (boot_cpu_data.x86_cache_alignment) 714 : "rm" (boot_cpu_data.cpuid_level), "ri" (0), "0" (1) in sync_core() 757 if (boot_cpu_data.x86 < 6) in get_debugctlmsr() 768 if (boot_cpu_data.x86 < 6) in update_debugctlmsr()
|
D | fb.h | 14 if (boot_cpu_data.x86 > 3) in fb_pgprotect()
|
D | virtext.h | 88 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) { in cpu_has_svm()
|
D | ptrace.h | 229 #define arch_has_block_step() (boot_cpu_data.x86 >= 6)
|
D | elf.h | 259 #define ELF_HWCAP (boot_cpu_data.x86_capability[0])
|
D | pgtable.h | 13 ((boot_cpu_data.x86 > 3) \
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | bugs.c | 61 set_cpu_bug(&boot_cpu_data, X86_BUG_FDIV); in check_fpu() 71 print_cpu_info(&boot_cpu_data); in check_bugs() 81 if (boot_cpu_data.x86 < 4) in check_bugs() 85 '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86); in check_bugs()
|
D | perfctr-watchdog.c | 47 switch (boot_cpu_data.x86_vendor) { in nmi_perfctr_msr_to_bit() 53 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit() 56 switch (boot_cpu_data.x86) { in nmi_perfctr_msr_to_bit() 75 switch (boot_cpu_data.x86_vendor) { in nmi_evntsel_msr_to_bit() 81 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit() 84 switch (boot_cpu_data.x86) { in nmi_evntsel_msr_to_bit()
|
D | perf_event_p6.c | 236 if (boot_cpu_data.x86_mask < 9) { in p6_pmu_rdpmc_quirk() 250 switch (boot_cpu_data.x86_model) { in p6_pmu_init() 271 pr_cont("unsupported p6 CPU model %d ", boot_cpu_data.x86_model); in p6_pmu_init()
|
D | perf_event_amd.c | 372 if (boot_cpu_data.x86_max_cores < 2) in amd_pmu_cpu_prepare() 391 if (boot_cpu_data.x86_max_cores < 2) in amd_pmu_cpu_starting() 417 if (boot_cpu_data.x86_max_cores < 2) in amd_pmu_cpu_dead() 658 switch (boot_cpu_data.x86) { in amd_core_pmu_init() 687 if (boot_cpu_data.x86 < 6) in amd_pmu_init()
|
D | common.c | 805 early_identify_cpu(&boot_cpu_data); in early_cpu_init() 867 if (c != &boot_cpu_data) { in x86_init_cache_qos() 868 boot_cpu_data.x86_cache_max_rmid = in x86_init_cache_qos() 869 min(boot_cpu_data.x86_cache_max_rmid, in x86_init_cache_qos() 980 if (c != &boot_cpu_data) { in identify_cpu() 983 boot_cpu_data.x86_capability[i] &= c->x86_capability[i]; in identify_cpu() 987 c->x86_capability[i] |= boot_cpu_data.x86_capability[i]; in identify_cpu() 1037 identify_cpu(&boot_cpu_data); in identify_boot_cpu() 1043 cpu_detect_tlb(&boot_cpu_data); in identify_boot_cpu() 1048 BUG_ON(c == &boot_cpu_data); in identify_secondary_cpu()
|
D | bugs_64.c | 19 print_cpu_info(&boot_cpu_data); in check_bugs()
|
D | match.c | 34 struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu()
|
D | intel.c | 174 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in ppro_with_ram_bug() 175 boot_cpu_data.x86 == 6 && in ppro_with_ram_bug() 176 boot_cpu_data.x86_model == 1 && in ppro_with_ram_bug() 177 boot_cpu_data.x86_mask < 8) { in ppro_with_ram_bug()
|
D | hypervisor.c | 76 init_hypervisor(&boot_cpu_data); in init_hypervisor_platform()
|
D | amd.c | 27 WARN_ONCE((boot_cpu_data.x86 != 0xf), in rdmsrl_amd_safe() 44 WARN_ONCE((boot_cpu_data.x86 != 0xf), in wrmsrl_amd_safe() 590 if (c == &boot_cpu_data) in init_amd_gh()
|
D | perf_event_intel_uncore_snb.c | 150 if (snb_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in snb_uncore_cpu_init() 151 snb_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in snb_uncore_cpu_init()
|
D | perf_event_p4.c | 735 if (boot_cpu_data.x86_model != 3 && in p4_event_match_cpu_model() 736 boot_cpu_data.x86_model != 4 && in p4_event_match_cpu_model() 737 boot_cpu_data.x86_model != 6) in p4_event_match_cpu_model() 1350 boot_cpu_data.x86_model); in p4_pmu_init()
|
D | perf_event_intel_uncore_snbep.c | 886 if (snbep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in snbep_uncore_cpu_init() 887 snbep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in snbep_uncore_cpu_init() 1472 if (ivbep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in ivbep_uncore_cpu_init() 1473 ivbep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in ivbep_uncore_cpu_init() 2027 if (hswep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in hswep_uncore_cpu_init() 2028 hswep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in hswep_uncore_cpu_init()
|
D | perf_event_intel_lbr.c | 953 if (boot_cpu_data.x86_model == 28 in intel_pmu_lbr_init_atom() 954 && boot_cpu_data.x86_mask < 10) { in intel_pmu_lbr_init_atom()
|
D | perf_event_intel_uncore.c | 905 switch (boot_cpu_data.x86_model) { in uncore_pci_init() 1201 switch (boot_cpu_data.x86_model) { in uncore_cpu_init() 1292 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in intel_uncore_init()
|
D | perf_event_intel_uncore_nhmex.c | 1213 if (boot_cpu_data.x86_model == 46) in nhmex_uncore_cpu_init() 1217 if (nhmex_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in nhmex_uncore_cpu_init() 1218 nhmex_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in nhmex_uncore_cpu_init()
|
D | perf_event_intel_cqm.c | 1320 cqm_l3_scale = boot_cpu_data.x86_cache_occ_scale; in intel_cqm_init() 1354 boot_cpu_data.x86_cache_size * 1024 / (cqm_max_rmid + 1); in intel_cqm_init()
|
D | intel_cacheinfo.c | 311 if (boot_cpu_data.x86 == 0x15) { in amd_calc_l3_indices() 593 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in cpuid4_cache_lookup_regs()
|
D | perf_event_intel.c | 2995 if (!cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) { in intel_pmu_init() 2996 switch (boot_cpu_data.x86) { in intel_pmu_init() 3052 switch (boot_cpu_data.x86_model) { in intel_pmu_init() 3175 if (boot_cpu_data.x86_model == 45) in intel_pmu_init() 3213 if (boot_cpu_data.x86_model == 62) in intel_pmu_init()
|
D | perf_event_intel_ds.c | 143 int model = boot_cpu_data.x86_model; in load_latency_data() 144 int fam = boot_cpu_data.x86; in load_latency_data()
|
D | perf_event_amd_uncore.c | 523 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_uncore_init()
|
D | perf_event_intel_rapl.c | 712 switch (boot_cpu_data.x86_model) { in rapl_pmu_init()
|
D | perf_event_amd_ibs.c | 842 if (boot_cpu_data.x86 == 0x10) in ibs_eilvt_setup()
|
D | perf_event_intel_pt.c | 127 if (!test_cpu_cap(&boot_cpu_data, X86_FEATURE_INTEL_PT)) in pt_pmu_hw_init()
|
D | perf_event.c | 1662 switch (boot_cpu_data.x86_vendor) { in init_hw_perf_events()
|
/linux-4.1.27/arch/x86/kernel/ |
D | amd_nb.c | 93 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || in amd_cache_northbridges() 94 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) in amd_cache_northbridges() 107 if (boot_cpu_data.x86 == 0x10 && in amd_cache_northbridges() 108 boot_cpu_data.x86_model >= 0x8 && in amd_cache_northbridges() 109 (boot_cpu_data.x86_model > 0x9 || in amd_cache_northbridges() 110 boot_cpu_data.x86_mask >= 0x1)) in amd_cache_northbridges() 113 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges() 117 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges() 146 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_get_mmconfig_range() 150 if (boot_cpu_data.x86 < 0x10) in amd_get_mmconfig_range()
|
D | alternative.c | 206 switch (boot_cpu_data.x86_vendor) { in arch_init_ideal_nops() 213 if (boot_cpu_data.x86 == 6 && in arch_init_ideal_nops() 214 boot_cpu_data.x86_model >= 0x0f && in arch_init_ideal_nops() 215 boot_cpu_data.x86_model != 0x1c && in arch_init_ideal_nops() 216 boot_cpu_data.x86_model != 0x26 && in arch_init_ideal_nops() 217 boot_cpu_data.x86_model != 0x27 && in arch_init_ideal_nops() 218 boot_cpu_data.x86_model < 0x30) { in arch_init_ideal_nops() 534 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_UP); in alternatives_enable_smp()
|
D | tsc_msr.c | 89 cpu_index = match_cpu(boot_cpu_data.x86, boot_cpu_data.x86_model); in try_msr_calibrate_tsc()
|
D | setup.c | 178 struct cpuinfo_x86 boot_cpu_data __read_mostly = { 181 EXPORT_SYMBOL(boot_cpu_data); 202 struct cpuinfo_x86 boot_cpu_data __read_mostly = { 205 EXPORT_SYMBOL(boot_cpu_data); 875 memcpy(&boot_cpu_data, &new_cpu_data, sizeof(new_cpu_data)); in setup_arch() 954 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1; in setup_arch() 1185 if (boot_cpu_data.cpuid_level >= 0) { in setup_arch()
|
D | mpparse.c | 414 processor.cpufeature = (boot_cpu_data.x86 << 8) | in construct_default_ISA_mptable() 415 (boot_cpu_data.x86_model << 4) | boot_cpu_data.x86_mask; in construct_default_ISA_mptable() 416 processor.featureflag = boot_cpu_data.x86_capability[0]; in construct_default_ISA_mptable()
|
D | smpboot.c | 277 *c = boot_cpu_data; in smp_store_boot_cpu_info() 289 *c = boot_cpu_data; in smp_store_cpu_info() 393 bool has_mp = has_smt || boot_cpu_data.x86_max_cores > 1; in set_cpu_sibling_map()
|
D | tsc.c | 905 lpj = &boot_cpu_data.loops_per_jiffy; in time_cpufreq_notifier() 1047 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) { in unsynchronized_tsc()
|
D | xsave.c | 612 if (boot_cpu_data.cpuid_level < XSTATE_CPUID) { in xstate_enable_boot_cpu()
|
D | kvm.c | 521 if (boot_cpu_data.cpuid_level < 0) in __kvm_cpuid_base()
|
/linux-4.1.27/arch/avr32/mm/ |
D | cache.c | 28 linesz = boot_cpu_data.dcache.linesz; in invalidate_dcache_region() 56 linesz = boot_cpu_data.dcache.linesz; in clean_dcache_region() 69 linesz = boot_cpu_data.dcache.linesz; in flush_dcache_region() 82 linesz = boot_cpu_data.icache.linesz; in invalidate_icache_region() 94 linesz = boot_cpu_data.dcache.linesz; in __flush_icache_range() 110 linesz = boot_cpu_data.dcache.linesz; in flush_icache_range()
|
/linux-4.1.27/drivers/hwmon/ |
D | k10temp.c | 82 if (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model == 0x60) { in show_temp() 156 if (boot_cpu_data.x86 != 0x10) in has_erratum_319() 182 return boot_cpu_data.x86_model < 4 || in has_erratum_319() 183 (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2); in has_erratum_319()
|
D | fam15h_power.c | 102 (boot_cpu_data.x86 != 0x15 || boot_cpu_data.x86_model > 0xf)) in fam15h_power_is_visible()
|
D | k8temp.c | 189 model = boot_cpu_data.x86_model; in k8temp_probe() 190 stepping = boot_cpu_data.x86_mask; in k8temp_probe()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | cs553x_nand.c | 262 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in is_geode() 263 boot_cpu_data.x86 == 5 && in is_geode() 264 boot_cpu_data.x86_model == 10) in is_geode() 267 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || in is_geode() 268 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && in is_geode() 269 boot_cpu_data.x86 == 5 && in is_geode() 270 boot_cpu_data.x86_model == 5) in is_geode()
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
D | intel-mid.c | 108 if (boot_cpu_data.x86 != 6) { in intel_mid_arch_setup() 110 boot_cpu_data.x86, boot_cpu_data.x86_model); in intel_mid_arch_setup() 115 switch (boot_cpu_data.x86_model) { in intel_mid_arch_setup()
|
D | mfld.c | 53 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); in mfld_calibrate_tsc()
|
D | mrfl.c | 82 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); in tangier_calibrate_tsc()
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
D | main.c | 313 (boot_cpu_data.x86_phys_bits - PAGE_SHIFT)) { in mtrr_add_page() 688 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in mtrr_bp_init() 689 boot_cpu_data.x86 == 0xF && in mtrr_bp_init() 690 boot_cpu_data.x86_model == 0x3 && in mtrr_bp_init() 691 (boot_cpu_data.x86_mask == 0x3 || in mtrr_bp_init() 692 boot_cpu_data.x86_mask == 0x4)) in mtrr_bp_init() 697 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR && in mtrr_bp_init() 698 boot_cpu_data.x86 == 6) { in mtrr_bp_init() 708 switch (boot_cpu_data.x86_vendor) { in mtrr_bp_init()
|
D | generic.c | 52 if (!((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in k8_check_syscfg_dram_mod_en() 53 (boot_cpu_data.x86 >= 0x0f))) in k8_check_syscfg_dram_mod_en() 792 if (is_cpu(INTEL) && boot_cpu_data.x86 == 6 && in generic_validate_add_page() 793 boot_cpu_data.x86_model == 1 && in generic_validate_add_page() 794 boot_cpu_data.x86_mask <= 7) { in generic_validate_add_page()
|
D | cleanup.c | 828 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_special_default_mtrr() 830 if (boot_cpu_data.x86 < 0xf) in amd_special_default_mtrr()
|
D | if.c | 437 struct cpuinfo_x86 *c = &boot_cpu_data; in mtrr_if_init()
|
/linux-4.1.27/arch/um/include/asm/ |
D | processor-generic.h | 99 extern struct cpuinfo_um boot_cpu_data; 101 #define cpu_data (&boot_cpu_data) 102 #define current_cpu_data boot_cpu_data
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | processor.h | 44 extern struct cpuinfo_m32r boot_cpu_data; 50 #define cpu_data (&boot_cpu_data) 51 #define current_cpu_data boot_cpu_data
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | processor.h | 55 extern struct mn10300_cpuinfo boot_cpu_data; 64 #define cpu_data &boot_cpu_data 65 #define current_cpu_data boot_cpu_data
|
/linux-4.1.27/drivers/cpufreq/ |
D | at32ap-cpufreq.c | 38 loops_per_jiffy_ref = boot_cpu_data.loops_per_jiffy; in at32_set_target() 42 boot_cpu_data.loops_per_jiffy = cpufreq_scale( in at32_set_target() 46 boot_cpu_data.loops_per_jiffy = cpufreq_scale( in at32_set_target()
|
D | acpi-cpufreq.c | 90 switch (boot_cpu_data.x86_vendor) { in boost_state() 109 switch (boot_cpu_data.x86_vendor) { in boost_set_msrs() 219 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in extract_msr() 728 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_cpufreq_cpu_init() 729 boot_cpu_data.x86 == 0xf) { in acpi_cpufreq_cpu_init()
|
D | cpufreq_ondemand.c | 63 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in should_io_be_busy() 64 boot_cpu_data.x86 == 6 && in should_io_be_busy() 65 boot_cpu_data.x86_model >= 15) in should_io_be_busy()
|
D | amd_freq_sensitivity.c | 115 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_freq_sensitivity_init()
|
D | speedstep-lib.c | 174 struct cpuinfo_x86 *c = &boot_cpu_data; in pentium4_get_frequency()
|
D | e_powersaver.c | 411 if (!x86_match_cpu(eps_cpu_id) || boot_cpu_data.x86_model < 10) in eps_init()
|
D | powernow-k8.c | 1230 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus); in powernowk8_init()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | processor.h | 115 extern struct system_cpuinfo_parisc boot_cpu_data; 118 #define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF) 347 return (boot_cpu_data.cpu_type == mako) || in parisc_requires_coherency() 348 (boot_cpu_data.cpu_type == mako2); in parisc_requires_coherency()
|
/linux-4.1.27/arch/mips/kernel/ |
D | ptrace.c | 92 mask = boot_cpu_data.fpu_msk31; in ptrace_setfcr31() 167 __put_user(boot_cpu_data.fpu_id, data + 65); in ptrace_getfpregs() 204 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0) in ptrace_get_watch_regs() 218 __put_user(boot_cpu_data.watch_reg_use_cnt, in ptrace_get_watch_regs() 220 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { in ptrace_get_watch_regs() 225 __put_user(boot_cpu_data.watch_reg_masks[i], in ptrace_get_watch_regs() 245 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0) in ptrace_set_watch_regs() 250 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { in ptrace_set_watch_regs() 269 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { in ptrace_set_watch_regs() 654 tmp = boot_cpu_data.fpu_id; in arch_ptrace()
|
D | ptrace32.c | 132 tmp = boot_cpu_data.fpu_id; in compat_arch_ptrace()
|
D | cpu-probe.c | 154 cpu_set_nofpu_opts(&boot_cpu_data); in fpu_disable()
|
/linux-4.1.27/arch/x86/kernel/apic/ |
D | apic.c | 218 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in modern_apic() 219 boot_cpu_data.x86 >= 0xf) in modern_apic() 1103 if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in sync_Arb_IDs() 1144 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && in init_bsp_APIC() 1145 (boot_cpu_data.x86 == 15)) in init_bsp_APIC() 1644 set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); in apic_verify() 1648 if (boot_cpu_data.x86 >= 6) { in apic_verify() 1670 if (boot_cpu_data.x86 >= 6) { in apic_force_enable() 1692 switch (boot_cpu_data.x86_vendor) { in detect_init_APIC() 1694 if ((boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model > 1) || in detect_init_APIC() [all …]
|
D | probe_32.c | 159 switch (boot_cpu_data.x86_vendor) { in default_setup_apic_routing()
|
D | io_apic.c | 1721 if (!(boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) in setup_ioapic_ids_from_mpc() 2571 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && in io_apic_unique_id()
|
/linux-4.1.27/arch/x86/crypto/ |
D | twofish_glue_3way.c | 439 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu() 442 if (boot_cpu_data.x86 == 0x06 && in is_blacklisted_cpu() 443 (boot_cpu_data.x86_model == 0x1c || in is_blacklisted_cpu() 444 boot_cpu_data.x86_model == 0x26 || in is_blacklisted_cpu() 445 boot_cpu_data.x86_model == 0x36)) { in is_blacklisted_cpu() 458 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
|
D | blowfish_glue.c | 439 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu() 442 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
|
D | des3_ede_glue.c | 466 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu() 469 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
|
D | camellia_glue.c | 1685 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu() 1688 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
D | fpu.c | 10 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) in init_fpu() 25 if (boot_cpu_data.flags & CPU_HAS_FPU) { in init_fpu()
|
/linux-4.1.27/drivers/edac/ |
D | mce_amd.c | 413 bool k8 = (boot_cpu_data.x86 == 0xf && (m->status & BIT_64(58))); in decode_mc1_mce() 564 if (boot_cpu_data.x86 >= 0x14) { in decode_mc3_mce() 590 struct cpuinfo_x86 *c = &boot_cpu_data; in decode_mc4_mce() 625 if (boot_cpu_data.x86 == 0x15 || boot_cpu_data.x86 == 0x16) in decode_mc4_mce() 648 struct cpuinfo_x86 *c = &boot_cpu_data; in decode_mc5_mce() 835 struct cpuinfo_x86 *c = &boot_cpu_data; in mce_amd_init()
|
D | amd64_edac.h | 249 #define dct_ganging_enabled(pvt) ((boot_cpu_data.x86 == 0x10) && ((pvt)->dct_sel_lo & BIT(4))) 413 if (boot_cpu_data.x86 == 0xf) in get_dram_base() 423 if (boot_cpu_data.x86 == 0xf) in get_dram_limit()
|
D | mce_amd_inj.c | 178 if (boot_cpu_data.x86 != 0x15 || val > 6) { in inj_bank_set()
|
D | amd64_edac.c | 2702 pvt->ext_model = boot_cpu_data.x86_model >> 4; in per_family_init() 2703 pvt->stepping = boot_cpu_data.x86_mask; in per_family_init() 2704 pvt->model = boot_cpu_data.x86_model; in per_family_init() 2705 pvt->fam = boot_cpu_data.x86; in per_family_init()
|
/linux-4.1.27/arch/m32r/kernel/ |
D | setup.c | 46 struct cpuinfo_m32r boot_cpu_data; variable 230 boot_cpu_data.cpu_clock = M32R_CPUCLK; in setup_arch() 231 boot_cpu_data.bus_clock = M32R_BUSCLK; in setup_arch() 232 boot_cpu_data.timer_divide = M32R_TIMER_DIVIDE; in setup_arch()
|
D | time.c | 179 bus_clock = boot_cpu_data.bus_clock; in time_init() 180 divide = boot_cpu_data.timer_divide; in time_init()
|
D | m32r_ksyms.c | 20 EXPORT_SYMBOL(boot_cpu_data);
|
D | smpboot.c | 550 *ci = boot_cpu_data; in smp_store_cpu_info()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_cache.c | 47 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_page() 135 for (; addr < end; addr += boot_cpu_data.x86_clflush_size) in drm_clflush_virt_range()
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | processor.h | 84 extern struct avr32_cpuinfo boot_cpu_data; 87 #define current_cpu_data boot_cpu_data
|
D | bugs.h | 12 boot_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
|
/linux-4.1.27/drivers/idle/ |
D | intel_idle.c | 866 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in intel_idle_probe() 867 boot_cpu_data.x86 == 6) in intel_idle_probe() 869 boot_cpu_data.x86, boot_cpu_data.x86_model); in intel_idle_probe() 873 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) in intel_idle_probe() 894 " model 0x%X\n", boot_cpu_data.x86_model); in intel_idle_probe() 930 if (boot_cpu_data.x86_model == 0x3e) { /* IVT */ in intel_idle_state_table_update()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | cpuinfo.c | 37 static struct cpuinfo_arm64 boot_cpu_data; variable 115 struct cpuinfo_arm64 *boot = &boot_cpu_data; in cpuinfo_sanity_check() 255 boot_cpu_data = *info; in cpuinfo_store_boot_cpu()
|
/linux-4.1.27/arch/x86/mm/ |
D | physaddr.h | 6 return !(addr >> boot_cpu_data.x86_phys_bits); in phys_addr_valid()
|
D | amdtopology.c | 180 bits = boot_cpu_data.x86_coreid_bits; in amd_numa_init()
|
D | init_32.c | 728 boot_cpu_data.wp_works_ok = do_test_wp_bit(); in test_wp_bit() 731 if (!boot_cpu_data.wp_works_ok) { in test_wp_bit() 821 if (boot_cpu_data.wp_works_ok < 0) in mem_init()
|
D | fault.c | 526 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD in is_errata93() 527 || boot_cpu_data.x86 != 0xf) in is_errata93()
|
D | pageattr.c | 136 for (; vaddr < vend; vaddr += boot_cpu_data.x86_clflush_size) in clflush_cache_range() 157 if (cache && boot_cpu_data.x86 >= 4) in __cpa_flush_all()
|
/linux-4.1.27/drivers/acpi/ |
D | processor_perflib.c | 299 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_fixup_frequency() 302 if ((boot_cpu_data.x86 == 0x10 && boot_cpu_data.x86_model < 10) in amd_fixup_frequency() 303 || boot_cpu_data.x86 == 0x11) { in amd_fixup_frequency() 314 if (boot_cpu_data.x86 == 0x10) in amd_fixup_frequency()
|
D | acpi_pad.c | 54 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) in power_saving_mwait_init() 74 switch (boot_cpu_data.x86_vendor) { in power_saving_mwait_init()
|
D | processor_idle.c | 240 switch (boot_cpu_data.x86_vendor) { in tsc_check_state()
|
/linux-4.1.27/arch/parisc/lib/ |
D | delay.c | 71 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); in __udelay()
|
/linux-4.1.27/arch/x86/pci/ |
D | amd_bus.c | 138 if (boot_cpu_data.x86 > 0x11) in early_root_info_init() 391 if (boot_cpu_data.x86 < 0x10) in pci_io_ecs_init() 412 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_postcore_init()
|
D | i386.c | 437 else if (pat_enabled || boot_cpu_data.x86 > 3) in pci_mmap_page_range()
|
D | common.c | 500 struct cpuinfo_x86 *c = &boot_cpu_data; in pcibios_set_cache_line_size()
|
/linux-4.1.27/arch/x86/oprofile/ |
D | nmi_int.c | 581 __u8 cpu_model = boot_cpu_data.x86_model; in p4_init() 635 __u8 cpu_model = boot_cpu_data.x86_model; in ppro_init() 697 __u8 vendor = boot_cpu_data.x86_vendor; in op_nmi_init() 698 __u8 family = boot_cpu_data.x86; in op_nmi_init()
|
D | op_model_amd.c | 516 if (boot_cpu_data.x86 == 0x15) { in op_amd_init()
|
D | op_model_p4.c | 434 if (boot_cpu_data.x86_model >= 0x3) { in p4_fill_in_addresses()
|
/linux-4.1.27/arch/sh/kernel/ |
D | process.c | 70 if (boot_cpu_data.flags & CPU_HAS_FPU) in init_thread_xstate()
|
D | signal_32.c | 80 if (!(boot_cpu_data.flags & CPU_HAS_FPU)) in restore_sigcontext_fpu() 93 if (!(boot_cpu_data.flags & CPU_HAS_FPU)) in save_sigcontext_fpu() 133 if (boot_cpu_data.flags & CPU_HAS_FPU) { in restore_sigcontext()
|
D | ptrace_32.c | 197 if ((boot_cpu_data.flags & CPU_HAS_FPU)) in fpregs_get() 218 if ((boot_cpu_data.flags & CPU_HAS_FPU)) in fpregs_set()
|
D | smp.c | 52 memcpy(c, &boot_cpu_data, sizeof(struct sh_cpuinfo)); in smp_store_cpu_info()
|
/linux-4.1.27/arch/x86/kernel/cpu/microcode/ |
D | core_early.c | 111 struct cpuinfo_x86 *c = &boot_cpu_data; in save_microcode_in_initrd()
|
D | amd.c | 392 if (cpu_data(cpu).cpu_index == boot_cpu_data.cpu_index) { in load_microcode_amd() 429 if (!refresh_fw || c->cpu_index != boot_cpu_data.cpu_index) in request_microcode_amd()
|
D | amd_early.c | 294 unsigned int bsp = boot_cpu_data.cpu_index; in get_bsp_sig()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | cpu-info.h | 99 #define boot_cpu_data cpu_data[0] macro
|
D | elf.h | 307 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \ 369 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_wc_x86_64.c | 149 return boot_cpu_data.x86_vendor != X86_VENDOR_AMD; in qib_unordered_wc()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | cacheflush.h | 63 if (boot_cpu_data.dcache.n_aliases && PageAnon(page)) in flush_anon_page()
|
D | processor.h | 94 #define boot_cpu_data cpu_data[0] macro
|
D | elf.h | 124 #define ELF_HWCAP (boot_cpu_data.flags)
|
/linux-4.1.27/drivers/thermal/ |
D | intel_powerclamp.c | 188 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) in find_target_mwait() 708 boot_cpu_data.x86, boot_cpu_data.x86_model); in powerclamp_probe()
|
/linux-4.1.27/arch/x86/kernel/acpi/ |
D | cstate.c | 168 struct cpuinfo_x86 *c = &boot_cpu_data; in ffh_cstate_init()
|
/linux-4.1.27/drivers/lguest/x86/ |
D | core.c | 611 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); in lguest_arch_host_init() 622 set_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); in lguest_arch_host_fini()
|
/linux-4.1.27/drivers/platform/x86/ |
D | intel_ips.c | 1374 if (!(boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 37)) { in ips_detect_cpu() 1390 if (strstr(boot_cpu_data.x86_model_id, "CPU M")) in ips_detect_cpu() 1392 else if (strstr(boot_cpu_data.x86_model_id, "CPU L")) in ips_detect_cpu() 1394 else if (strstr(boot_cpu_data.x86_model_id, "CPU U")) in ips_detect_cpu()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/ |
D | perf_event.c | 295 if (!(boot_cpu_data.flags & CPU_HAS_PERF_COUNTER)) { in sh4a_pmu_init()
|
/linux-4.1.27/drivers/iommu/ |
D | amd_iommu_init.c | 1050 if ((boot_cpu_data.x86 != 0x15) || in amd_iommu_erratum_746_workaround() 1051 (boot_cpu_data.x86_model < 0x10) || in amd_iommu_erratum_746_workaround() 1052 (boot_cpu_data.x86_model > 0x1f)) in amd_iommu_erratum_746_workaround() 1082 if ((boot_cpu_data.x86 != 0x15) || in amd_iommu_ats_write_check_workaround() 1083 (boot_cpu_data.x86_model < 0x30) || in amd_iommu_ats_write_check_workaround() 1084 (boot_cpu_data.x86_model > 0x3f)) in amd_iommu_ats_write_check_workaround()
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | setup.c | 36 struct mn10300_cpuinfo boot_cpu_data; variable
|
D | smp.c | 729 *ci = boot_cpu_data; in smp_store_cpu_info()
|
/linux-4.1.27/arch/m32r/boot/ |
D | setup.S | 22 #define CPU_PARAMS boot_cpu_data
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-dev.c | 590 struct cpuinfo_x86 *cpuinfo = &boot_cpu_data; in ccp_mod_init() 639 struct cpuinfo_x86 *cpuinfo = &boot_cpu_data; in ccp_mod_exit()
|
/linux-4.1.27/arch/parisc/math-emu/ |
D | fpudispatch.c | 176 if (boot_cpu_data.cpu_type == pcxs) in parisc_linux_get_fpu_type() 178 else if (boot_cpu_data.cpu_type == pcxt || in parisc_linux_get_fpu_type() 179 boot_cpu_data.cpu_type == pcxt_) in parisc_linux_get_fpu_type() 181 else if (boot_cpu_data.cpu_type >= pcxu) in parisc_linux_get_fpu_type()
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
D | mce_intel.c | 85 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in cmci_supported()
|
D | mce-severity.c | 279 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in mcheck_vendor_init_severity()
|
D | mce.c | 128 m->cpuvendor = boot_cpu_data.x86_vendor; in mce_setup() 577 struct cpuinfo_x86 *c = &boot_cpu_data; in memory_error() 2278 if (!mce_available(&boot_cpu_data)) in mce_device_create() 2439 if (!mce_available(&boot_cpu_data)) { in mcheck_init_device()
|
D | therm_throt.c | 465 if (intel_thermal_supported(&boot_cpu_data)) in mcheck_intel_therm_init()
|
/linux-4.1.27/arch/um/kernel/ |
D | um_arch.c | 48 struct cpuinfo_um boot_cpu_data = { variable
|
/linux-4.1.27/drivers/char/ |
D | ds1302.c | 303 baur=(boot_cpu_data.bus_clock/(2*1000*1000)); in ds1302_probe()
|
/linux-4.1.27/arch/x86/kvm/ |
D | cpuid.c | 246 *word &= boot_cpu_data.x86_capability[wordnum]; in cpuid_mask() 562 entry->edx &= boot_cpu_data.x86_power; in __do_cpuid_ent() 633 return boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR; in is_centaur_cpu()
|
D | svm.c | 611 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) in svm_init_osvw() 688 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { in svm_hardware_enable()
|
D | vmx.c | 3150 if (cpu_has_load_perf_global_ctrl && boot_cpu_data.x86 == 0x6) { in setup_vmcs_config() 3151 switch (boot_cpu_data.x86_model) { in setup_vmcs_config() 5798 for (i = 51; i > boot_cpu_data.x86_phys_bits; i--) in ept_rsvd_mask()
|
D | x86.c | 5718 int maxphyaddr = boot_cpu_data.x86_phys_bits; in kvm_set_mmio_spte_mask()
|
/linux-4.1.27/drivers/tty/serial/ |
D | m32r_sio.c | 141 sbaud = (boot_cpu_data.bus_clock / (baud * 4))-1; in sio_set_baud_rate() 185 i = boot_cpu_data.bus_clock / (baud * 16); in sio_set_baud_rate() 186 j = (boot_cpu_data.bus_clock - (i * baud * 16)) / baud; in sio_set_baud_rate()
|
/linux-4.1.27/drivers/parisc/ |
D | sba_iommu.c | 1131 if ( ((boot_cpu_data.pdc.cpuid >> 5) & 0x7f) != 0x13 in sba_alloc_pdir() 1132 || (boot_cpu_data.pdc.versions > 0x202) in sba_alloc_pdir() 1133 || (boot_cpu_data.pdc.capabilities & 0x08L) ) in sba_alloc_pdir() 1751 ioc_needs_fdc = boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC; in sba_common_init()
|
D | led.c | 472 if (boot_cpu_data.cpu_type >= pcxl2) { in led_work_func()
|
D | lba_pci.c | 634 if (boot_cpu_data.cpu_type < mako) { in extend_lmmio_len()
|
/linux-4.1.27/drivers/media/platform/ |
D | arv.c | 62 extern struct cpuinfo_m32r boot_cpu_data; 853 freq = (boot_cpu_data.bus_clock / 1000000); in ar_init_module()
|
/linux-4.1.27/drivers/parport/ |
D | parport_gsc.c | 365 if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) { in parport_init_chip()
|
/linux-4.1.27/arch/mips/kvm/ |
D | mips.c | 578 v = boot_cpu_data.fpu_id; in kvm_mips_get_reg() 607 v = boot_cpu_data.msa_id; in kvm_mips_get_reg() 1093 r = cpu_has_msa && !(boot_cpu_data.msa_id & MSA_IR_WRPF); in kvm_vm_ioctl_check_extension()
|
/linux-4.1.27/drivers/powercap/ |
D | intel_rapl.c | 1479 boot_cpu_data.x86, boot_cpu_data.x86_model); in rapl_init()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_bo_util.c | 490 else if (boot_cpu_data.x86 > 3) in ttm_io_prot()
|
/linux-4.1.27/arch/mips/math-emu/ |
D | cp1emu.c | 894 value = boot_cpu_data.fpu_id; in cop1_cfc() 926 mask = boot_cpu_data.fpu_msk31; in cop1_ctc()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 898 if (boot_cpu_data.x86 <= 4) { in init_registers()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | fealnx.c | 872 if (boot_cpu_data.x86 <= 4) in netdev_open()
|
/linux-4.1.27/drivers/scsi/ |
D | dpt_i2o.c | 1932 switch (boot_cpu_data.x86) { in adpt_i386_info()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem.c | 986 & (boot_cpu_data.x86_clflush_size - 1)); in i915_gem_shmem_pwrite()
|