Searched defs:cache_size (Results 1 - 8 of 8) sorted by relevance

/arch/sh/kernel/cpu/
H A Dproc.c67 unsigned int cache_size; local
69 cache_size = info.ways * info.sets * info.linesz;
72 type, cache_size >> 10, info.ways);
/arch/cris/arch-v32/kernel/
H A Dsetup.c30 unsigned short cache_size; member in struct:cpu_info
99 info->cache_size,
/arch/metag/kernel/
H A Dcachepart.c60 unsigned int cache_size; local
70 cache_size = (cache == DCACHE ? get_global_dcache_size() :
74 cache_size = (cache == DCACHE ? get_dcache_size() :
82 return cache_size;
84 return cache_size / 2;
86 return cache_size / 4;
88 return cache_size / 8;
90 return cache_size / 16;
/arch/powerpc/sysdev/
H A Dppc4xx_ocm.c66 int cache_size; member in struct:ocm_info
112 const unsigned int *cache_size; local
130 cache_size = of_get_property(node, "cached-region-size", &len);
131 if (cache_size)
132 ocm->cache_size = *cache_size;
161 ocm->nc.memtotal = ocm->memtotal - ocm->cache_size;
165 ocm->c.memtotal = ocm->cache_size;
/arch/mips/kernel/
H A Dpm-cps.c206 unsigned cache_size = cache->ways << cache->waybit; local
218 if (cache_size < 0x8000)
219 uasm_i_addiu(pp, t1, t0, cache_size);
221 UASM_i_LA(pp, t1, (long)(CKSEG0 + cache_size));
/arch/powerpc/kernel/
H A Dcacheinfo.c195 static int cache_size(const struct cache *cache, unsigned int *ret) function
198 const __be32 *cache_size; local
202 cache_size = of_get_property(cache->ofnode, propname, NULL);
203 if (!cache_size)
206 *ret = of_read_number(cache_size, 1);
214 if (cache_size(cache, &size))
279 if (cache_size(cache, &size))
/arch/arm/mm/
H A Dcache-l2x0.c965 u32 cache_size = 0, sets = 0; local
971 of_property_read_u32(np, "cache-size", &cache_size);
976 if (!cache_size || !sets)
1008 *associativity = cache_size / way_size;
1016 cache_size, cache_size >> 10);
/arch/ia64/include/asm/
H A Dpal.h171 u32 cache_size; /*cache size in bytes*/ member in struct:pal_cache_config_info_2_s::__anon1528
205 #define pcci_cache_size pcci_info_2.pcci2_bits.cache_size

Completed in 163 milliseconds