Home
last modified time | relevance | path

Searched refs:dcache (Results 1 – 25 of 40) sorted by relevance

12

/arch/sh/kernel/cpu/sh2/
A Dprobe.c34 boot_cpu_data.dcache.ways = 4; in cpu_probe()
35 boot_cpu_data.dcache.way_incr = (1<<12); 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()
56 boot_cpu_data.dcache.ways = 1; in cpu_probe()
57 boot_cpu_data.dcache.sets = 256; in cpu_probe()
58 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe()
59 boot_cpu_data.dcache.linesz = 32; in cpu_probe()
60 boot_cpu_data.dcache.flags = 0; in cpu_probe()
[all …]
/arch/mips/mm/
A Dc-octeon.c194 c->dcache.ways = 64; in probe_octeon()
196 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
197 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
209 c->dcache.ways = 32; in probe_octeon()
210 c->dcache.sets = 8; in probe_octeon()
211 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
224 c->dcache.sets = 8; in probe_octeon()
225 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
236 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
239 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
[all …]
A Dc-r4k.c1015 c->dcache.ways = 2; in probe_pcache()
1029 c->dcache.ways = 2; in probe_pcache()
1043 c->dcache.ways = 4; in probe_pcache()
1098 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache()
1164 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache()
1216 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache()
1238 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()
1242 c->dcache.sets = c->dcache.linesz ? in probe_pcache()
1243 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; in probe_pcache()
1351 c->dcache.linesz); in probe_pcache()
[all …]
/arch/sh/kernel/cpu/sh3/
A Dprobe.c50 boot_cpu_data.dcache.ways = 4; in cpu_probe()
51 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe()
53 boot_cpu_data.dcache.flags = 0; in cpu_probe()
60 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe()
61 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe()
62 boot_cpu_data.dcache.sets = 128; in cpu_probe()
67 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe()
68 boot_cpu_data.dcache.entry_mask = 0xff0; in cpu_probe()
69 boot_cpu_data.dcache.sets = 256; in cpu_probe()
92 boot_cpu_data.dcache.entry_mask = 0x1ff0; in cpu_probe()
[all …]
/arch/sh/kernel/cpu/
A Dinit.c128 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()
313 current_cpu_data.dcache.entry_mask = current_cpu_data.dcache.way_incr - in cpu_init()
314 current_cpu_data.dcache.linesz; in cpu_init()
316 current_cpu_data.dcache.way_size = current_cpu_data.dcache.sets * in cpu_init()
317 current_cpu_data.dcache.linesz; in cpu_init()
[all …]
/arch/openrisc/kernel/
A Dcacheinfo.c45 cpuinfo->dcache.ways = 1 << (dccfgr & SPR_DCCFGR_NCW); in init_cache_level()
46 cpuinfo->dcache.sets = 1 << ((dccfgr & SPR_DCCFGR_NCS) >> 3); in init_cache_level()
47 cpuinfo->dcache.block_size = 16 << ((dccfgr & SPR_DCCFGR_CBS) >> 7); in init_cache_level()
48 cpuinfo->dcache.size = in init_cache_level()
49 cpuinfo->dcache.sets * cpuinfo->dcache.ways * cpuinfo->dcache.block_size; in init_cache_level()
53 cpuinfo->dcache.size, cpuinfo->dcache.block_size, in init_cache_level()
54 cpuinfo->dcache.sets, cpuinfo->dcache.ways); in init_cache_level()
92 ci_leaf_init(this_leaf, CACHE_TYPE_DATA, level, &cpuinfo->dcache, cpu); in populate_cache_leaves()
/arch/sh/kernel/cpu/sh2a/
A Dprobe.c43 boot_cpu_data.dcache.ways = 4; in cpu_probe()
44 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe()
45 boot_cpu_data.dcache.sets = 128; in cpu_probe()
46 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe()
47 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
48 boot_cpu_data.dcache.flags = 0; in cpu_probe()
56 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
/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.c73 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page()
94 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page()
146 if (!boot_cpu_data.dcache.n_aliases) in __update_cache()
186 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm()
276 boot_cpu_data.dcache.ways, in emit_cache_params()
277 boot_cpu_data.dcache.sets, in emit_cache_params()
278 boot_cpu_data.dcache.way_incr); in emit_cache_params()
280 boot_cpu_data.dcache.entry_mask, in emit_cache_params()
281 boot_cpu_data.dcache.alias_mask, in emit_cache_params()
282 boot_cpu_data.dcache.n_aliases); in emit_cache_params()
[all …]
A Dcache-sh4.c164 (current_cpu_data.dcache.sets << in flush_dcache_all()
165 current_cpu_data.dcache.entry_shift) * in flush_dcache_all()
166 current_cpu_data.dcache.ways; in flush_dcache_all()
168 entry_offset = 1 << current_cpu_data.dcache.entry_shift; in flush_dcache_all()
249 map_coherent = (current_cpu_data.dcache.n_aliases && in sh4_flush_cache_page()
300 if (boot_cpu_data.dcache.n_aliases == 0) in sh4_flush_cache_range()
328 struct cache_info *dcache; in __flush_cache_one() local
333 dcache = &boot_cpu_data.dcache; in __flush_cache_one()
335 way_count = dcache->ways; in __flush_cache_one()
336 way_incr = dcache->way_incr; in __flush_cache_one()
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-shx3.c28 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) { in shx3_cache_init()
32 boot_cpu_data.dcache.n_aliases = 0; in shx3_cache_init()
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()
/arch/sh/kernel/cpu/sh4/
A Dprobe.c44 boot_cpu_data.dcache.way_incr = (1 << 14); in cpu_probe()
45 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe()
46 boot_cpu_data.dcache.sets = 512; in cpu_probe()
47 boot_cpu_data.dcache.ways = 1; in cpu_probe()
48 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
68 boot_cpu_data.dcache.ways = 4; in cpu_probe()
172 boot_cpu_data.dcache.ways = 2; in cpu_probe()
177 boot_cpu_data.dcache.ways = 2; in cpu_probe()
193 boot_cpu_data.dcache.ways = 2; in cpu_probe()
210 if (boot_cpu_data.dcache.ways > 1) { in cpu_probe()
[all …]
/arch/mips/include/asm/
A Dr4kcache.h244 __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 16, )
247 __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 32, )
251 __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 64, )
254 __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 128, )
258 __BUILD_BLAST_CACHE(inv_d, dcache, Index_Writeback_Inv_D, Hit_Invalidate_D, 16, )
277 __BUILD_BLAST_USER_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D,
280 __BUILD_BLAST_USER_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D,
283 __BUILD_BLAST_USER_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D,
304 __BUILD_BLAST_CACHE_RANGE(d, dcache, Hit_Writeback_Inv_D, protected_, )
309 __BUILD_BLAST_CACHE_RANGE(d, dcache, Hit_Writeback_Inv_D, , )
[all …]
/arch/mips/kernel/
A Dcacheinfo.c30 if (c->dcache.waysize) in init_cache_level()
87 populate_cache(dcache, this_leaf, level, CACHE_TYPE_DATA); in populate_cache_leaves()
92 populate_cache(dcache, this_leaf, level, CACHE_TYPE_UNIFIED); in populate_cache_leaves()
/arch/powerpc/perf/
A Dpower8-pmu.c133 CACHE_EVENT_ATTR(L1-dcache-load-misses, PM_LD_MISS_L1);
134 CACHE_EVENT_ATTR(L1-dcache-loads, PM_LD_REF_L1);
136 CACHE_EVENT_ATTR(L1-dcache-prefetches, PM_L1_PREF);
137 CACHE_EVENT_ATTR(L1-dcache-store-misses, PM_ST_MISS_L1);
A Dpower9-pmu.c177 CACHE_EVENT_ATTR(L1-dcache-load-misses, PM_LD_MISS_L1_FIN);
178 CACHE_EVENT_ATTR(L1-dcache-loads, PM_LD_REF_L1);
179 CACHE_EVENT_ATTR(L1-dcache-prefetches, PM_L1_PREF);
180 CACHE_EVENT_ATTR(L1-dcache-store-misses, PM_ST_MISS_L1);
A Dpower10-pmu.c133 CACHE_EVENT_ATTR(L1-dcache-load-misses, PM_LD_MISS_L1);
134 CACHE_EVENT_ATTR(L1-dcache-loads, PM_LD_REF_L1);
135 CACHE_EVENT_ATTR(L1-dcache-prefetches, PM_LD_PREFETCH_CACHE_LINE_MISS);
136 CACHE_EVENT_ATTR(L1-dcache-store-misses, PM_ST_MISS_L1);
/arch/openrisc/include/asm/
A Dcpuinfo.h32 struct cache_desc dcache; member
/arch/microblaze/boot/dts/
A Dsystem.dts54 xlnx,allow-dcache-wr = <0x1>;
62 xlnx,dcache-addr-tag = <0xf>;
63 xlnx,dcache-always-used = <0x1>;
64 xlnx,dcache-byte-size = <0x2000>;
65 xlnx,dcache-line-len = <0x4>;
66 xlnx,dcache-use-fsl = <0x1>;
104 xlnx,use-dcache = <0x1>;
/arch/powerpc/kernel/
A Dcacheinfo.c372 struct cache *dcache, *icache; in cache_do_one_devnode_split() local
377 dcache = new_cache(CACHE_TYPE_DATA, level, node, group_id); in cache_do_one_devnode_split()
380 if (!dcache || !icache) in cache_do_one_devnode_split()
383 dcache->next_local = icache; in cache_do_one_devnode_split()
385 return dcache; in cache_do_one_devnode_split()
387 release_cache(dcache); in cache_do_one_devnode_split()
/arch/nios2/boot/dts/
A D3c120_devboard.dts27 dcache-line-size = <32>;
29 dcache-size = <32768>;
A D10m50_devboard.dts37 dcache-line-size = <32>;
38 dcache-size = <32768>;

Completed in 880 milliseconds

12