/linux-4.1.27/arch/sh/kernel/cpu/ |
D | init.c | 131 waysize = current_cpu_data.dcache.sets; in cache_init() 142 waysize <<= current_cpu_data.dcache.entry_shift; in cache_init() 150 ways = current_cpu_data.dcache.ways; in cache_init() 158 addr += current_cpu_data.dcache.linesz) in cache_init() 161 addrstart += current_cpu_data.dcache.way_incr; in cache_init() 173 if (current_cpu_data.dcache.ways > 1) in cache_init() 207 l1d_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.dcache); in detect_cache_shape() 209 if (current_cpu_data.dcache.flags & SH_CACHE_COMBINED) in detect_cache_shape() 212 l1i_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.icache); in detect_cache_shape() 214 if (current_cpu_data.flags & CPU_HAS_L2_CACHE) in detect_cache_shape() [all …]
|
/linux-4.1.27/arch/mips/mm/ |
D | c-tx39.c | 296 unsigned long ic_lsize = current_cpu_data.icache.linesz; in tx39_flush_cache_sigtramp() 297 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in tx39_flush_cache_sigtramp() 324 current_cpu_data.icache.linesz = 16; in tx39_probe_cache() 327 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 328 current_cpu_data.dcache.ways = 1; in tx39_probe_cache() 329 current_cpu_data.dcache.linesz = 4; in tx39_probe_cache() 333 current_cpu_data.icache.ways = 2; in tx39_probe_cache() 334 current_cpu_data.dcache.ways = 2; in tx39_probe_cache() 335 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache() 340 current_cpu_data.icache.ways = 1; in tx39_probe_cache() [all …]
|
D | tlb-r4k.c | 68 if (current_cpu_data.tlbsizevtlb) { in local_flush_tlb_all() 73 ftlbhighset = current_cpu_data.tlbsizevtlb + in local_flush_tlb_all() 74 current_cpu_data.tlbsizeftlbsets; in local_flush_tlb_all() 75 for (entry = current_cpu_data.tlbsizevtlb; in local_flush_tlb_all() 83 while (entry < current_cpu_data.tlbsize) { in local_flush_tlb_all() 130 if (size <= (current_cpu_data.tlbsizeftlbsets ? in local_flush_tlb_range() 131 current_cpu_data.tlbsize / 8 : in local_flush_tlb_range() 132 current_cpu_data.tlbsize / 2)) { in local_flush_tlb_range() 173 if (size <= (current_cpu_data.tlbsizeftlbsets ? in local_flush_tlb_kernel_range() 174 current_cpu_data.tlbsize / 8 : in local_flush_tlb_kernel_range() [all …]
|
D | c-r4k.c | 231 unsigned long end = start + current_cpu_data.icache.waysize; in tx49_blast_icache32() 232 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32() 233 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32() 234 current_cpu_data.icache.waybit; in tx49_blast_icache32() 260 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed() 263 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed() 264 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed() 265 current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed() 953 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_pcache() 1337 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_scache() [all …]
|
D | tlb-r3k.c | 56 for (; entry < current_cpu_data.tlbsize; entry++) { in local_flush_tlb_all() 93 if (size <= current_cpu_data.tlbsize) { in local_flush_tlb_range() 130 if (size <= current_cpu_data.tlbsize) { in local_flush_tlb_kernel_range()
|
D | sc-mips.c | 99 struct cpuinfo_mips *c = ¤t_cpu_data; in mips_sc_probe()
|
D | sc-rm7k.c | 230 struct cpuinfo_mips *c = ¤t_cpu_data; in rm7k_sc_init()
|
D | tlb-r8k.c | 217 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_tlb()
|
D | c-octeon.c | 190 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_octeon()
|
D | tlbex.c | 154 return (current_cpu_data.processor_id & 0xffff00) == in m4kc_tlbp_war() 2302 current_cpu_data.options &= ~MIPS_CPU_HTW; in config_htw_params() 2360 check_for_high_segbits = current_cpu_data.vmbits > (PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); in build_tlb_refill_handler()
|
D | page.c | 182 (current_cpu_data.processor_id & 0xff) < 0x02) { in set_prefetch_parameters()
|
/linux-4.1.27/arch/sh/mm/ |
D | cache-sh7705.c | 36 ways = current_cpu_data.dcache.ways; in cache_wback_all() 37 waysize = current_cpu_data.dcache.sets; in cache_wback_all() 38 waysize <<= current_cpu_data.dcache.entry_shift; in cache_wback_all() 47 addr += current_cpu_data.dcache.linesz) { in cache_wback_all() 58 addrstart += current_cpu_data.dcache.way_incr; in cache_wback_all() 104 ways = current_cpu_data.dcache.ways; in __flush_dcache_page() 105 waysize = current_cpu_data.dcache.sets; in __flush_dcache_page() 106 waysize <<= current_cpu_data.dcache.entry_shift; in __flush_dcache_page() 115 addr += current_cpu_data.dcache.linesz) { in __flush_dcache_page() 125 addrstart += current_cpu_data.dcache.way_incr; in __flush_dcache_page()
|
D | cache-sh3.c | 47 for (j = 0; j < current_cpu_data.dcache.ways; j++) { in sh3__flush_wback_region() 51 addr = addrstart | (v & current_cpu_data.dcache.entry_mask); in sh3__flush_wback_region() 63 addrstart += current_cpu_data.dcache.way_incr; in sh3__flush_wback_region() 88 (v & current_cpu_data.dcache.entry_mask) | SH_CACHE_ASSOC; in sh3__flush_purge_region()
|
D | cache-sh4.c | 154 (current_cpu_data.dcache.sets << in flush_dcache_all() 155 current_cpu_data.dcache.entry_shift) * in flush_dcache_all() 156 current_cpu_data.dcache.ways; in flush_dcache_all() 158 entry_offset = 1 << current_cpu_data.dcache.entry_shift; in flush_dcache_all() 242 map_coherent = (current_cpu_data.dcache.n_aliases && in sh4_flush_cache_page()
|
D | cache-sh2a.c | 61 nr_ways = current_cpu_data.dcache.ways; in sh2a__flush_wback_region() 69 end = begin + (nr_ways * current_cpu_data.dcache.way_size); in sh2a__flush_wback_region() 108 int nr_ways = current_cpu_data.dcache.ways; in sh2a__flush_purge_region()
|
D | cache-debugfs.c | 49 cache = ¤t_cpu_data.dcache; in cache_seq_show() 52 cache = ¤t_cpu_data.icache; in cache_seq_show()
|
D | tlb-sh3.c | 71 if ((current_cpu_data.flags & CPU_HAS_MMU_PAGE_ASSOC)) { in local_flush_tlb_one()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | bugs.h | 26 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs() 28 switch (current_cpu_data.family) { in check_bugs() 68 printk("CPU: %s\n", get_cpu_subtype(¤t_cpu_data)); in check_bugs()
|
D | processor.h | 95 #define current_cpu_data cpu_data[smp_processor_id()] macro
|
/linux-4.1.27/arch/mips/kernel/ |
D | watch.c | 22 switch (current_cpu_data.watch_reg_use_cnt) { in mips_install_watch_registers() 51 switch (current_cpu_data.watch_reg_use_cnt) { in mips_read_watch_registers() 63 if (current_cpu_data.watch_reg_use_cnt == 1 && in mips_read_watch_registers() 81 switch (current_cpu_data.watch_reg_count) { in mips_clear_watch_registers()
|
D | smp-cps.c | 170 atomic_set(&mips_cps_core_bootcfg[current_cpu_data.core].vpe_mask, in cps_prepare_cpus() 171 1 << cpu_vpe_id(¤t_cpu_data)); in cps_prepare_cpus() 251 if (core != current_cpu_data.core) { in cps_boot_secondary() 312 core_cfg = &mips_cps_core_bootcfg[current_cpu_data.core]; in cps_cpu_disable() 313 atomic_sub(1 << cpu_vpe_id(¤t_cpu_data), &core_cfg->vpe_mask); in cps_cpu_disable()
|
D | mips-cpc.c | 68 curr_core = current_cpu_data.core; in mips_cpc_lock_other() 76 unsigned curr_core = current_cpu_data.core; in mips_cpc_unlock_other()
|
D | time.c | 108 if ((current_cpu_data.processor_id & 0xff) <= 0x30) in cpu_has_mfc0_count_bug()
|
D | smp-gic.c | 47 if (mips_cpc_present() && (core != current_cpu_data.core)) { in gic_send_ipi_single()
|
D | smp-cmp.c | 44 struct cpuinfo_mips *c __maybe_unused = ¤t_cpu_data; in cmp_init_secondary()
|
D | idle.c | 130 struct cpuinfo_mips *c = ¤t_cpu_data; in check_wait()
|
D | pm-cps.c | 122 unsigned core = current_cpu_data.core; in cps_pm_enter_state() 157 vpe_cfg = &core_cfg->vpe_config[cpu_vpe_id(¤t_cpu_data)]; in cps_pm_enter_state() 669 switch (current_cpu_data.cputype) { in cps_pm_init()
|
D | elf.c | 209 state->overall_fp_mode = ((current_cpu_data.fpu_id & MIPS_FPIR_F64) && in arch_check_elf()
|
D | traps.c | 631 regs->regs[rt] = min(current_cpu_data.dcache.linesz, in simulate_rdhwr() 632 current_cpu_data.icache.linesz); in simulate_rdhwr() 1742 ((current_cpu_data.processor_id & 0xff0000) == PRID_COMP_MIPS)) { in cache_parity_error() 1782 ((current_cpu_data.processor_id & 0xff0000) == PRID_COMP_MIPS)) { in do_ftlb() 1919 int srssets = current_cpu_data.srsets; in set_vi_srs_handler() 2062 if (current_cpu_data.isa_level & MIPS_CPU_ISA_IV) in configure_status()
|
D | cpu-probe.c | 247 struct cpuinfo_mips *c = ¤t_cpu_data; in check_errata() 1409 struct cpuinfo_mips *c = ¤t_cpu_data; in cpu_probe() 1505 struct cpuinfo_mips *c = ¤t_cpu_data; in cpu_report()
|
D | process.c | 597 !(current_cpu_data.fpu_id & MIPS_FPIR_F64)) in mips_set_process_fp_mode()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | traps.c | 46 if (current_cpu_data.features & AVR32_FEATURE_OCD) { in die() 54 current_cpu_data.arch_type, in die() 55 current_cpu_data.arch_revision, in die() 56 current_cpu_data.cpu_type, in die() 57 current_cpu_data.cpu_revision); in die()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | r4kcache.h | 562 unsigned long end = start + current_cpu_data.desc.waysize; \ 563 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \ 564 unsigned long ws_end = current_cpu_data.desc.ways << \ 565 current_cpu_data.desc.waybit; \ 594 unsigned long indexmask = current_cpu_data.desc.waysize - 1; \ 597 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \ 598 unsigned long ws_end = current_cpu_data.desc.ways << \ 599 current_cpu_data.desc.waybit; \
|
D | cpu-info.h | 97 #define current_cpu_data cpu_data[smp_processor_id()] macro
|
D | cpu-type.h | 212 const int cpu_type = current_cpu_data.cputype; in current_cpu_type()
|
D | cpu-features.h | 73 #define cpu_has_fpu (current_cpu_data.options & MIPS_CPU_FPU)
|
/linux-4.1.27/arch/m32r/lib/ |
D | delay.c | 80 : "r" (current_cpu_data.loops_per_jiffy) in __const_udelay() 107 : "r" (current_cpu_data.loops_per_jiffy) in __const_udelay()
|
/linux-4.1.27/arch/mips/vr41xx/common/ |
D | init.c | 46 if (current_cpu_data.processor_id == PRID_VR4131_REV2_0 || in plat_time_init() 47 current_cpu_data.processor_id == PRID_VR4131_REV2_1) in plat_time_init()
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | processor.h | 48 #define current_cpu_data cpu_data[smp_processor_id()] macro 51 #define current_cpu_data boot_cpu_data macro
|
D | bugs.h | 16 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | prom.c | 60 struct cpuinfo_mips *c = ¤t_cpu_data; in prom_init_mem() 133 temp_tlb_entry = current_cpu_data.tlbsize - 1; in early_tlb_init()
|
D | setup.c | 168 struct cpuinfo_mips *c = ¤t_cpu_data; in plat_mem_setup()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | processor.h | 62 #define current_cpu_data cpu_data[smp_processor_id()] macro 65 #define current_cpu_data boot_cpu_data macro
|
/linux-4.1.27/arch/mips/kvm/ |
D | tlb.c | 83 for (i = 0; i < current_cpu_data.tlbsize; i++) { in kvm_mips_dump_host_tlbs() 216 if (idx > current_cpu_data.tlbsize) { in kvm_mips_host_tlb_write() 479 if (idx >= current_cpu_data.tlbsize) in kvm_mips_host_tlb_inv() 515 if (index >= current_cpu_data.tlbsize) in kvm_mips_host_tlb_inv_index() 553 int maxentry = current_cpu_data.tlbsize; in kvm_mips_flush_host_tlb() 631 while (entry < current_cpu_data.tlbsize) { in kvm_local_flush_tlb_all()
|
D | emulate.c | 1134 if (!(current_cpu_data.fpu_id & MIPS_FPIR_F64)) in kvm_mips_emulate_CP0() 2358 arch->gprs[rt] = min(current_cpu_data.dcache.linesz, in kvm_mips_handle_ri() 2359 current_cpu_data.icache.linesz); in kvm_mips_handle_ri() 2365 switch (current_cpu_data.cputype) { in kvm_mips_handle_ri()
|
/linux-4.1.27/arch/mips/loongson1/common/ |
D | setup.c | 21 unsigned int processor_id = (¤t_cpu_data)->processor_id; in get_system_type()
|
/linux-4.1.27/arch/mips/loongson/common/ |
D | platform.c | 22 struct cpuinfo_mips *c = ¤t_cpu_data; in loongson2_cpufreq_init()
|
D | env.c | 182 processor_id = (¤t_cpu_data)->processor_id; in prom_init_env()
|
/linux-4.1.27/arch/mips/mti-sead3/ |
D | sead3-int.c | 36 (current_cpu_data.options & MIPS_CPU_VEIC) ? "on" : "off"); in arch_init_irq()
|
/linux-4.1.27/arch/mips/netlogic/common/ |
D | smp.c | 122 current_cpu_data.core = hwtid / NLM_THREADS_PER_CORE; in nlm_init_secondary() 123 current_cpu_data.package = nlm_nodeid(); in nlm_init_secondary()
|
D | time.c | 87 if (current_cpu_data.cputype == CPU_XLR) { in nlm_init_pic_timer()
|
/linux-4.1.27/arch/avr32/lib/ |
D | delay.c | 45 : "r"(current_cpu_data.loops_per_jiffy * HZ), "r"(xloops)); in __const_udelay()
|
/linux-4.1.27/arch/mips/ath25/ |
D | devices.h | 35 return (current_cpu_data.cputype == CPU_4KEC); in is_ar2315()
|
D | ar5312.c | 237 if ((current_cpu_data.processor_id & 0xff) == 0x0a) in ar5312_init_devices()
|
/linux-4.1.27/arch/mips/lib/ |
D | r3k_dump_tlb.c | 63 dump_tlb(0, current_cpu_data.tlbsize - 1); in dump_tlb_all()
|
D | dump_tlb.c | 112 dump_tlb(0, current_cpu_data.tlbsize - 1); in dump_tlb_all()
|
/linux-4.1.27/arch/mips/netlogic/xlp/ |
D | dt.c | 51 switch (current_cpu_data.processor_id & PRID_IMP_MASK) { in xlp_dt_init()
|
D | setup.c | 102 current_cpu_data.tlbsize = ((read_c0_config6() >> 16) & 0xffff) + 1; in plat_mem_setup()
|
/linux-4.1.27/arch/um/include/asm/ |
D | processor-generic.h | 102 #define current_cpu_data boot_cpu_data macro
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | processor.h | 87 #define current_cpu_data boot_cpu_data macro
|
/linux-4.1.27/drivers/cpufreq/ |
D | loongson2_cpufreq.c | 40 current_cpu_data.udelay_val = loops_per_jiffy; in loongson2_cpu_freq_notifier()
|
D | ls1x-cpufreq.c | 37 current_cpu_data.udelay_val = loops_per_jiffy; in ls1x_cpufreq_notifier()
|
/linux-4.1.27/arch/mips/include/asm/lasat/ |
D | lasat.h | 242 #define IS_LASAT_200() (current_cpu_data.cputype == CPU_R5000)
|
/linux-4.1.27/arch/avr32/oprofile/ |
D | op_model_avr32.c | 220 if (!(current_cpu_data.features & AVR32_FEATURE_PCTR)) in oprofile_arch_init()
|
/linux-4.1.27/arch/mips/pci/ |
D | pci.c | 222 struct cpuinfo_mips *c = ¤t_cpu_data; in pcibios_set_cache_line_size()
|
D | pci-vr41xx.c | 150 else if (current_cpu_data.processor_id >= PRID_VR4131_REV2_1 && in vr41xx_pciu_init()
|
/linux-4.1.27/arch/mips/oprofile/ |
D | op_model_mipsxx.c | 404 if ((current_cpu_data.processor_id & 0xff) == 0x20) in mipsxx_init()
|
/linux-4.1.27/arch/sh/kernel/ |
D | traps_32.c | 579 if (!(current_cpu_data.flags & CPU_HAS_DSP) || (regs->sr & SR_DSP)) in is_dsp_inst()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | setup.c | 693 if (current_cpu_data.cputype == CPU_CAVIUM_OCTEON3) { in prom_init()
|