Home
last modified time | relevance | path

Searched refs:current_cpu_data (Results 1 – 25 of 55) sorted by relevance

123

/linux/arch/sh/kernel/cpu/
A Dinit.c128 waysize = current_cpu_data.dcache.sets; in cache_init()
147 ways = current_cpu_data.dcache.ways; in cache_init()
170 if (current_cpu_data.dcache.ways > 1) in cache_init()
222 current_cpu_data.flags &= ~CPU_HAS_FPU; in fpu_init()
264 current_cpu_data.flags |= CPU_HAS_DSP; in dsp_init()
306 current_cpu_data.icache.entry_mask = current_cpu_data.icache.way_incr - in cpu_init()
309 current_cpu_data.icache.way_size = current_cpu_data.icache.sets * in cpu_init()
310 current_cpu_data.icache.linesz; in cpu_init()
313 current_cpu_data.dcache.entry_mask = current_cpu_data.dcache.way_incr - in cpu_init()
316 current_cpu_data.dcache.way_size = current_cpu_data.dcache.sets * in cpu_init()
[all …]
/linux/arch/mips/mm/
A Dc-tx39.c302 current_cpu_data.icache.ways = 1; in tx39_probe_cache()
303 current_cpu_data.dcache.ways = 1; in tx39_probe_cache()
308 current_cpu_data.icache.ways = 2; in tx39_probe_cache()
309 current_cpu_data.dcache.ways = 2; in tx39_probe_cache()
315 current_cpu_data.icache.ways = 1; in tx39_probe_cache()
392 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()
393 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()
395 current_cpu_data.icache.sets = in tx39_cache_init()
396 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init()
397 current_cpu_data.dcache.sets = in tx39_cache_init()
[all …]
A Dtlb-r4k.c74 if (current_cpu_data.tlbsizevtlb) { in local_flush_tlb_all()
79 ftlbhighset = current_cpu_data.tlbsizevtlb + in local_flush_tlb_all()
80 current_cpu_data.tlbsizeftlbsets; in local_flush_tlb_all()
81 for (entry = current_cpu_data.tlbsizevtlb; in local_flush_tlb_all()
89 while (entry < current_cpu_data.tlbsize) { in local_flush_tlb_all()
119 if (size <= (current_cpu_data.tlbsizeftlbsets ? in local_flush_tlb_range()
120 current_cpu_data.tlbsize / 8 : in local_flush_tlb_range()
121 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 …]
A Dtlb-r3k.c46 old_ctx = read_c0_entryhi() & cpu_asid_mask(&current_cpu_data); in local_flush_tlb_from()
48 while (entry < current_cpu_data.tlbsize) { in local_flush_tlb_from()
72 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in local_flush_tlb_range()
85 if (size <= current_cpu_data.tlbsize) { in local_flush_tlb_range()
122 if (size <= current_cpu_data.tlbsize) { in local_flush_tlb_kernel_range()
151 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in local_flush_tlb_page()
183 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in __update_tlb()
222 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in add_wired_entry()
A Dc-r4k.c266 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32()
267 current_cpu_data.icache.waybit; in tx49_blast_icache32()
299 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed()
300 current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed()
1107 struct cpuinfo_mips *c = &current_cpu_data; in probe_pcache()
1511 struct cpuinfo_mips *c = &current_cpu_data; in probe_vcache()
1545 struct cpuinfo_mips *c = &current_cpu_data; in probe_scache()
1598 struct cpuinfo_mips *c = &current_cpu_data; in loongson2_sc_init()
1614 struct cpuinfo_mips *c = &current_cpu_data; in loongson3_sc_init()
1649 struct cpuinfo_mips *c = &current_cpu_data; in setup_scache()
[all …]
A Dsc-mips.c151 struct cpuinfo_mips *c = &current_cpu_data; in mips_sc_probe_cm3()
185 struct cpuinfo_mips *c = &current_cpu_data; in mips_sc_probe()
/linux/arch/sh/mm/
A Dcache-sh7705.c35 ways = current_cpu_data.dcache.ways; in cache_wback_all()
36 waysize = current_cpu_data.dcache.sets; in cache_wback_all()
37 waysize <<= current_cpu_data.dcache.entry_shift; in cache_wback_all()
46 addr += current_cpu_data.dcache.linesz) { in cache_wback_all()
57 addrstart += current_cpu_data.dcache.way_incr; in cache_wback_all()
103 ways = current_cpu_data.dcache.ways; in __flush_dcache_page()
104 waysize = current_cpu_data.dcache.sets; in __flush_dcache_page()
105 waysize <<= current_cpu_data.dcache.entry_shift; in __flush_dcache_page()
114 addr += current_cpu_data.dcache.linesz) { in __flush_dcache_page()
124 addrstart += current_cpu_data.dcache.way_incr; in __flush_dcache_page()
A Dcache-sh3.c44 for (j = 0; j < current_cpu_data.dcache.ways; j++) { in sh3__flush_wback_region()
48 addr = addrstart | (v & current_cpu_data.dcache.entry_mask); in sh3__flush_wback_region()
60 addrstart += current_cpu_data.dcache.way_incr; in sh3__flush_wback_region()
85 (v & current_cpu_data.dcache.entry_mask) | SH_CACHE_ASSOC; in sh3__flush_purge_region()
A Dcache-sh4.c154 (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()
238 map_coherent = (current_cpu_data.dcache.n_aliases && in sh4_flush_cache_page()
A Dcache-sh2a.c60 nr_ways = current_cpu_data.dcache.ways; in sh2a__flush_wback_region()
68 end = begin + (nr_ways * current_cpu_data.dcache.way_size); in sh2a__flush_wback_region()
107 int nr_ways = current_cpu_data.dcache.ways; in sh2a__flush_purge_region()
A Dcache-debugfs.c49 cache = &current_cpu_data.dcache; in cache_debugfs_show()
52 cache = &current_cpu_data.icache; in cache_debugfs_show()
/linux/arch/mips/include/asm/
A Dr4kcache.h201 unsigned long end = start + current_cpu_data.desc.waysize; \
202 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
203 unsigned long ws_end = current_cpu_data.desc.ways << \
204 current_cpu_data.desc.waybit; \
226 unsigned long indexmask = current_cpu_data.desc.waysize - 1; \
229 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
230 unsigned long ws_end = current_cpu_data.desc.ways << \
231 current_cpu_data.desc.waybit; \
317 unsigned long end = start + current_cpu_data.desc.waysize; \
319 unsigned long ws_end = current_cpu_data.desc.ways << \
[all …]
/linux/arch/sh/include/asm/
A Dbugs.h27 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
29 switch (current_cpu_data.family) { in check_bugs()
65 printk("CPU: %s\n", get_cpu_subtype(&current_cpu_data)); in check_bugs()
/linux/arch/mips/kvm/
A Dtlb.c61 BUG_ON(idx >= current_cpu_data.tlbsize); in _kvm_mips_host_tlb_inv()
274 for (entry = 0; entry < current_cpu_data.tlbsize; entry++) { in kvm_vz_local_flush_roottlb_all_guests()
340 for (entry = 0; entry < current_cpu_data.guest.tlbsize; entry++) { in kvm_vz_local_flush_guesttlb_all()
512 for (i = current_cpu_data.tlbsizevtlb; in kvm_loongson_clear_guest_ftlb()
513 i < (current_cpu_data.tlbsizevtlb + in kvm_loongson_clear_guest_ftlb()
514 current_cpu_data.tlbsizeftlbsets); in kvm_loongson_clear_guest_ftlb()
/linux/arch/mips/kernel/
A Dwatch.c24 switch (current_cpu_data.watch_reg_use_cnt) { in mips_install_watch_registers()
56 switch (current_cpu_data.watch_reg_use_cnt) { in mips_read_watch_registers()
71 if (current_cpu_data.watch_reg_use_cnt == 1 && in mips_read_watch_registers()
89 switch (current_cpu_data.watch_reg_count) { in mips_clear_watch_registers()
A Dsmp-cps.c194 atomic_set(&mips_cps_core_bootcfg[cpu_core(&current_cpu_data)].vpe_mask, in cps_prepare_cpus()
195 1 << cpu_vpe_id(&current_cpu_data)); in cps_prepare_cpus()
289 unsigned core = cpu_core(&current_cpu_data); in remote_vpe_boot()
292 mips_cps_boot_vpes(core_cfg, cpu_vpe_id(&current_cpu_data)); in remote_vpe_boot()
457 core_cfg = &mips_cps_core_bootcfg[cpu_core(&current_cpu_data)]; in cps_cpu_disable()
458 atomic_sub(1 << cpu_vpe_id(&current_cpu_data), &core_cfg->vpe_mask); in cps_cpu_disable()
A Dmips-cpc.c97 curr_core = cpu_core(&current_cpu_data); in mips_cpc_lock_other()
117 curr_core = cpu_core(&current_cpu_data); in mips_cpc_unlock_other()
A Dcacheinfo.c22 struct cpuinfo_mips *c = &current_cpu_data; in init_cache_level()
79 struct cpuinfo_mips *c = &current_cpu_data; in populate_cache_leaves()
A Dcpu-r3k-probe.c71 struct cpuinfo_mips *c = &current_cpu_data; in cpu_probe()
168 struct cpuinfo_mips *c = &current_cpu_data; in cpu_report()
/linux/arch/mips/vr41xx/common/
A Dinit.c33 if (current_cpu_data.processor_id == PRID_VR4131_REV2_0 || in plat_time_init()
34 current_cpu_data.processor_id == PRID_VR4131_REV2_1) in plat_time_init()
/linux/arch/mips/lib/
A Dr3k_dump_tlb.c34 asid_mask = cpu_asid_mask(&current_cpu_data); in dump_tlb()
74 dump_tlb(0, current_cpu_data.tlbsize - 1); in dump_tlb_all()
A Ddump_tlb.c80 unsigned long asidmask = cpu_asid_mask(&current_cpu_data); in dump_tlb()
198 dump_tlb(0, current_cpu_data.tlbsize - 1); in dump_tlb_all()
/linux/arch/mips/bcm47xx/
A Dprom.c61 struct cpuinfo_mips *c = &current_cpu_data; in prom_init_mem()
130 temp_tlb_entry = current_cpu_data.tlbsize - 1; in early_tlb_init()
/linux/arch/mips/loongson32/common/
A Dsetup.c14 unsigned int processor_id = (&current_cpu_data)->processor_id; in get_system_type()
/linux/arch/mips/loongson2ef/common/
A Dplatform.c18 struct cpuinfo_mips *c = &current_cpu_data; in loongson2_cpufreq_init()

Completed in 40 milliseconds

123