Searched refs:icache (Results 1 - 25 of 39) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh5/
H A Dprobe.c42 boot_cpu_data.icache.ways = 4;
43 boot_cpu_data.icache.sets = 256;
44 boot_cpu_data.icache.linesz = L1_CACHE_BYTES;
45 boot_cpu_data.icache.way_incr = (1 << 13);
46 boot_cpu_data.icache.entry_shift = 5;
47 boot_cpu_data.icache.way_size = boot_cpu_data.icache.sets *
48 boot_cpu_data.icache.linesz;
49 boot_cpu_data.icache.entry_mask = 0x1fe0;
50 boot_cpu_data.icache
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/lib/
H A Dinet_proto.c28 static int icache = -1; local
31 if (proto == icache)
36 icache = proto;
48 static int icache = -1; local
51 if (icache>=0 && strcmp(ncache, buf) == 0)
52 return icache;
63 icache = pe->p_proto;
H A Dll_map.c142 static int icache; local
148 if (icache && strcmp(name, ncache) == 0)
149 return icache;
153 icache = im->index;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dfreefs.c21 static void ext2fs_free_inode_cache(struct ext2_inode_cache *icache);
46 if (fs->icache)
47 ext2fs_free_inode_cache(fs->icache);
86 static void ext2fs_free_inode_cache(struct ext2_inode_cache *icache) argument
88 if (--icache->refcount)
90 ext2fs_free_mem(&icache->buffer);
91 ext2fs_free_mem(&icache->cache);
92 icache->buffer_blk = 0;
93 ext2fs_free_mem(&icache);
H A Dinode.c57 * This routine flushes the icache, if it exists.
63 if (!fs->icache)
66 for (i=0; i < fs->icache->cache_size; i++)
67 fs->icache->cache[i].ino = 0;
69 fs->icache->buffer_blk = 0;
77 if (fs->icache)
79 retval = ext2fs_get_mem(sizeof(struct ext2_inode_cache), &fs->icache);
83 memset(fs->icache, 0, sizeof(struct ext2_inode_cache));
84 retval = ext2fs_get_mem(fs->blocksize, &fs->icache->buffer);
86 ext2fs_free_mem(&fs->icache);
[all...]
H A Ddupfs.c45 if (fs->icache)
46 fs->icache->refcount++;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/lib/
H A Dcacheflush.c17 #include <arch/icache.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/mm/
H A Dcache-shx3.c27 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) {
30 boot_cpu_data.icache.n_aliases = 0;
H A Dcache.c251 boot_cpu_data.icache.ways,
252 boot_cpu_data.icache.sets,
253 boot_cpu_data.icache.way_incr);
255 boot_cpu_data.icache.entry_mask,
256 boot_cpu_data.icache.alias_mask,
257 boot_cpu_data.icache.n_aliases);
290 compute_alias(&boot_cpu_data.icache);
H A Dcache-sh4.c73 cpu_data->icache.entry_mask);
76 n = boot_cpu_data.icache.n_aliases;
77 for (i = 0; i < cpu_data->icache.ways; i++) {
80 icacheaddr += cpu_data->icache.way_incr;
126 /* TODO: Selective icache invalidation through IC address array.. */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/mm/
H A Dc-octeon.c95 * Called to flush the icache on all cores
119 * Flush a range of kernel addresses out of the icache
129 * Flush the icache for a trampoline. These are used for interrupt
188 c->icache.linesz = 2 << ((config1 >> 19) & 7);
189 c->icache.sets = 64 << ((config1 >> 22) & 7);
190 c->icache.ways = 1 + ((config1 >> 16) & 7);
191 c->icache.flags |= MIPS_CACHE_VTAG;
193 c->icache.sets * c->icache.ways * c->icache
[all...]
H A Dc-r4k.c178 unsigned long end = start + current_cpu_data.icache.waysize;
179 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit;
180 unsigned long ws_end = current_cpu_data.icache.ways <<
181 current_cpu_data.icache.waybit;
207 unsigned long indexmask = current_cpu_data.icache.waysize - 1;
210 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit;
211 unsigned long ws_end = current_cpu_data.icache.ways <<
212 current_cpu_data.icache.waybit;
729 /* RM7000 erratum #31. The icache is screwed at startup. */
774 c->icache
[all...]
H A Dc-tx39.c34 /* This sequence is required to ensure icache is disabled immediately */
50 /* disable icache (set ICE#) */
90 /* disable icache (set ICE#) */
103 /* disable icache (set ICE#) */
116 /* disable icache (set ICE#) */
245 /* disable icache (set ICE#) */
292 unsigned long ic_lsize = current_cpu_data.icache.linesz;
299 /* disable icache (set ICE#) */
320 current_cpu_data.icache.linesz = 16;
323 current_cpu_data.icache
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh4/
H A Dprobe.c36 * Setup some sane SH-4 defaults for the icache
38 boot_cpu_data.icache.way_incr = (1 << 13);
39 boot_cpu_data.icache.entry_shift = 5;
40 boot_cpu_data.icache.sets = 256;
41 boot_cpu_data.icache.ways = 1;
42 boot_cpu_data.icache.linesz = L1_CACHE_BYTES;
70 boot_cpu_data.icache.ways = 4;
165 boot_cpu_data.icache.ways = 2;
170 boot_cpu_data.icache.ways = 2;
186 boot_cpu_data.icache
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh2/
H A Dprobe.c31 boot_cpu_data.icache = boot_cpu_data.dcache;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/
H A Dinit.c212 l1i_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.icache);
309 current_cpu_data.icache.entry_mask = current_cpu_data.icache.way_incr -
310 current_cpu_data.icache.linesz;
312 current_cpu_data.icache.way_size = current_cpu_data.icache.sets *
313 current_cpu_data.icache.linesz;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/lib/
H A Dcache.S40 # Invalidate a range of dcache and icache
61 # Invalidate a range of icache
81 # Write back and invalidate a range of dcache and icache
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh2a/
H A Dprobe.c48 * The icache is the same as the dcache as far as this setup is
49 * concerned. The only real difference in hardware is that the icache
53 boot_cpu_data.icache = boot_cpu_data.dcache;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/
H A Dcpu-info.h55 struct cache_desc icache; /* Primary I-cache */ member in struct:cpuinfo_mips
H A Dcpu-features.h105 #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG)
114 #define cpu_has_ic_fills_f_dc (cpu_data[0].icache.flags & MIPS_CACHE_IC_F_DC)
183 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & MIPS_IC_SNOOPS_REMOTE)
307 #define cpu_icache_line_size() cpu_data[0].icache.linesz
H A Dr4kcache.h397 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16)
400 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32)
403 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64)
437 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/libiproute/
H A Dll_map.c142 static int icache; local
149 if (icache && strcmp(name, ncache) == 0) {
150 ret = icache;
156 icache = im->index;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/kernel/
H A Dcpu.c275 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1);
276 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1);
277 boot_cpu_data.icache.linesz = 1 << (tmp + 1);
333 icache_size = boot_cpu_data.icache.ways *
334 boot_cpu_data.icache.sets *
335 boot_cpu_data.icache.linesz;
359 boot_cpu_data.icache.ways,
360 boot_cpu_data.icache.sets,
361 boot_cpu_data.icache.linesz);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh3/
H A Dprobe.c108 boot_cpu_data.icache = boot_cpu_data.dcache;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/kernel/
H A Dsleep.S84 # preload and lock into icache that code which may have to run
126 # - we want it to be be cacheline aligned so we can lock it into the icache easily
200 # locked in icache.
271 # unlock the icache which was locked before going to sleep
296 # Preload into icache.
341 # Unlock from icache

Completed in 210 milliseconds

12