/Linux-v5.4/arch/sh/kernel/cpu/ |
D | init.c | 128 waysize = current_cpu_data.dcache.sets; in cache_init() 139 waysize <<= current_cpu_data.dcache.entry_shift; in cache_init() 147 ways = current_cpu_data.dcache.ways; in cache_init() 155 addr += current_cpu_data.dcache.linesz) in cache_init() 158 addrstart += current_cpu_data.dcache.way_incr; in cache_init() 170 if (current_cpu_data.dcache.ways > 1) in cache_init() 204 l1d_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.dcache); in detect_cache_shape() 206 if (current_cpu_data.dcache.flags & SH_CACHE_COMBINED) in detect_cache_shape() 209 l1i_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.icache); in detect_cache_shape() 211 if (current_cpu_data.flags & CPU_HAS_L2_CACHE) in detect_cache_shape() [all …]
|
/Linux-v5.4/arch/mips/mm/ |
D | c-tx39.c | 304 current_cpu_data.icache.linesz = 16; in tx39_probe_cache() 307 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 308 current_cpu_data.dcache.ways = 1; in tx39_probe_cache() 309 current_cpu_data.dcache.linesz = 4; in tx39_probe_cache() 313 current_cpu_data.icache.ways = 2; in tx39_probe_cache() 314 current_cpu_data.dcache.ways = 2; in tx39_probe_cache() 315 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache() 320 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 321 current_cpu_data.dcache.ways = 1; in tx39_probe_cache() 322 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache() [all …]
|
D | tlb-r4k.c | 75 if (current_cpu_data.tlbsizevtlb) { in local_flush_tlb_all() 80 ftlbhighset = current_cpu_data.tlbsizevtlb + in local_flush_tlb_all() 81 current_cpu_data.tlbsizeftlbsets; in local_flush_tlb_all() 82 for (entry = current_cpu_data.tlbsizevtlb; in local_flush_tlb_all() 90 while (entry < current_cpu_data.tlbsize) { in local_flush_tlb_all() 120 if (size <= (current_cpu_data.tlbsizeftlbsets ? in local_flush_tlb_range() 121 current_cpu_data.tlbsize / 8 : in local_flush_tlb_range() 122 current_cpu_data.tlbsize / 2)) { in local_flush_tlb_range() 174 if (size <= (current_cpu_data.tlbsizeftlbsets ? in local_flush_tlb_kernel_range() 175 current_cpu_data.tlbsize / 8 : in local_flush_tlb_kernel_range() [all …]
|
D | tlb-r3k.c | 47 old_ctx = read_c0_entryhi() & cpu_asid_mask(¤t_cpu_data); in local_flush_tlb_from() 49 while (entry < current_cpu_data.tlbsize) { in local_flush_tlb_from() 73 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in local_flush_tlb_range() 86 if (size <= current_cpu_data.tlbsize) { in local_flush_tlb_range() 123 if (size <= current_cpu_data.tlbsize) { in local_flush_tlb_kernel_range() 152 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in local_flush_tlb_page() 184 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in __update_tlb() 223 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in add_wired_entry()
|
D | c-r4k.c | 264 unsigned long end = start + current_cpu_data.icache.waysize; in tx49_blast_icache32() 265 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32() 266 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32() 267 current_cpu_data.icache.waybit; in tx49_blast_icache32() 293 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed() 296 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed() 297 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed() 298 current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed() 1076 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_pcache() 1478 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_vcache() [all …]
|
D | sc-mips.c | 152 struct cpuinfo_mips *c = ¤t_cpu_data; in mips_sc_probe_cm3() 186 struct cpuinfo_mips *c = ¤t_cpu_data; in mips_sc_probe()
|
/Linux-v5.4/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 | 46 for (j = 0; j < current_cpu_data.dcache.ways; j++) { in sh3__flush_wback_region() 50 addr = addrstart | (v & current_cpu_data.dcache.entry_mask); in sh3__flush_wback_region() 62 addrstart += current_cpu_data.dcache.way_incr; in sh3__flush_wback_region() 87 (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 | 60 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()
|
D | cache-debugfs.c | 49 cache = ¤t_cpu_data.dcache; in cache_seq_show() 52 cache = ¤t_cpu_data.icache; in cache_seq_show()
|
/Linux-v5.4/arch/mips/include/asm/ |
D | r4kcache.h | 534 unsigned long end = start + current_cpu_data.desc.waysize; \ 535 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \ 536 unsigned long ws_end = current_cpu_data.desc.ways << \ 537 current_cpu_data.desc.waybit; \ 558 unsigned long indexmask = current_cpu_data.desc.waysize - 1; \ 561 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \ 562 unsigned long ws_end = current_cpu_data.desc.ways << \ 563 current_cpu_data.desc.waybit; \ 683 unsigned long end = start + current_cpu_data.desc.waysize; \ 684 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \ [all …]
|
/Linux-v5.4/arch/sh/include/asm/ |
D | bugs.h | 27 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs() 29 switch (current_cpu_data.family) { in check_bugs() 69 printk("CPU: %s\n", get_cpu_subtype(¤t_cpu_data)); in check_bugs()
|
/Linux-v5.4/arch/mips/kernel/ |
D | watch.c | 24 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()
|
D | smp-cps.c | 193 atomic_set(&mips_cps_core_bootcfg[cpu_core(¤t_cpu_data)].vpe_mask, in cps_prepare_cpus() 194 1 << cpu_vpe_id(¤t_cpu_data)); in cps_prepare_cpus() 288 unsigned core = cpu_core(¤t_cpu_data); in remote_vpe_boot() 291 mips_cps_boot_vpes(core_cfg, cpu_vpe_id(¤t_cpu_data)); in remote_vpe_boot() 459 core_cfg = &mips_cps_core_bootcfg[cpu_core(¤t_cpu_data)]; in cps_cpu_disable() 460 atomic_sub(1 << cpu_vpe_id(¤t_cpu_data), &core_cfg->vpe_mask); in cps_cpu_disable()
|
D | mips-cpc.c | 97 curr_core = cpu_core(¤t_cpu_data); in mips_cpc_lock_other() 117 curr_core = cpu_core(¤t_cpu_data); in mips_cpc_unlock_other()
|
D | cacheinfo.c | 22 struct cpuinfo_mips *c = ¤t_cpu_data; in __init_cache_level() 55 struct cpuinfo_mips *c = ¤t_cpu_data; in __populate_cache_leaves()
|
D | time.c | 76 if ((current_cpu_data.processor_id & 0xff) <= 0x30) in cpu_has_mfc0_count_bug()
|
/Linux-v5.4/arch/mips/vr41xx/common/ |
D | init.c | 33 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-v5.4/arch/mips/lib/ |
D | r3k_dump_tlb.c | 35 asid_mask = cpu_asid_mask(¤t_cpu_data); in dump_tlb() 75 dump_tlb(0, current_cpu_data.tlbsize - 1); in dump_tlb_all()
|
D | dump_tlb.c | 81 unsigned long asidmask = cpu_asid_mask(¤t_cpu_data); in dump_tlb() 199 dump_tlb(0, current_cpu_data.tlbsize - 1); in dump_tlb_all()
|
/Linux-v5.4/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()
|
/Linux-v5.4/arch/mips/oprofile/ |
D | op_model_mipsxx.c | 40 M_PERFCTL_VPEID(cpu_vpe_id(¤t_cpu_data))) 42 0 : cpu_vpe_id(¤t_cpu_data)) 403 if ((current_cpu_data.processor_id & 0xff) == 0x20) in mipsxx_init()
|
/Linux-v5.4/arch/mips/loongson32/common/ |
D | setup.c | 17 unsigned int processor_id = (¤t_cpu_data)->processor_id; in get_system_type()
|
/Linux-v5.4/arch/mips/loongson64/common/ |
D | platform.c | 18 struct cpuinfo_mips *c = ¤t_cpu_data; in loongson2_cpufreq_init()
|