Home
last modified time | relevance | path

Searched refs:lsize (Results 1 – 10 of 10) sorted by relevance

/arch/mips/include/asm/
Dr4kcache.h343 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize) \ argument
344 static inline void blast_##pfx##cache##lsize(void) \
356 for (addr = start; addr < end; addr += lsize * 32) \
357 cache##lsize##_unroll32(addr|ws, indexop); \
362 static inline void blast_##pfx##cache##lsize##_page(unsigned long page) \
370 cache##lsize##_unroll32(start, hitop); \
371 start += lsize * 32; \
377 static inline void blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
390 for (addr = start; addr < end; addr += lsize * 32) \
391 cache##lsize##_unroll32(addr|ws, indexop); \
[all …]
Dsgiarcs.h278 unsigned char lsize; member
282 unsigned char lsize;
/arch/powerpc/kernel/
Dsetup_64.c304 u32 size, lsize; in initialize_cache_info() local
307 lsize = cur_cpu_spec->dcache_bsize; in initialize_cache_info()
316 lsize = *lsizep; in initialize_cache_info()
322 ppc64_caches.dline_size = lsize; in initialize_cache_info()
323 ppc64_caches.log_dline_size = __ilog2(lsize); in initialize_cache_info()
324 ppc64_caches.dlines_per_page = PAGE_SIZE / lsize; in initialize_cache_info()
327 lsize = cur_cpu_spec->icache_bsize; in initialize_cache_info()
335 lsize = *lsizep; in initialize_cache_info()
341 ppc64_caches.iline_size = lsize; in initialize_cache_info()
342 ppc64_caches.log_iline_size = __ilog2(lsize); in initialize_cache_info()
[all …]
/arch/x86/kernel/cpu/mtrr/
Dcyrix.c89 unsigned long lbase, lsize; in cyrix_get_free_region() local
107 cyrix_get_arr(7, &lbase, &lsize, &ltype); in cyrix_get_free_region()
108 if (lsize == 0) in cyrix_get_free_region()
113 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
114 if (lsize == 0) in cyrix_get_free_region()
118 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
119 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
Dcentaur.c29 unsigned long lbase, lsize; in centaur_get_free_region() local
37 mtrr_if->get(i, &lbase, &lsize, &ltype); in centaur_get_free_region()
38 if (lsize == 0) in centaur_get_free_region()
Dmain.c309 unsigned long lbase, lsize; in mtrr_add_page() local
347 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_add_page()
348 if (!lsize || base > lbase + lsize - 1 || base + size - 1 < lbase) in mtrr_add_page()
351 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page()
352 if (base <= lbase && base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page()
364 lsize); in mtrr_add_page()
483 unsigned long lbase, lsize; in mtrr_del_page() local
496 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_del_page()
497 if (lbase == base && lsize == size) { in mtrr_del_page()
512 mtrr_if->get(reg, &lbase, &lsize, &ltype); in mtrr_del_page()
[all …]
Dgeneric.c361 unsigned long lbase, lsize; in generic_get_free_region() local
367 mtrr_if->get(i, &lbase, &lsize, &ltype); in generic_get_free_region()
368 if (lsize == 0) in generic_get_free_region()
/arch/mips/mm/
Dc-r3k.c66 unsigned long flags, status, lsize, i; in r3k_cache_lsize() local
79 for (lsize = 1; lsize < 128; lsize <<= 1) { in r3k_cache_lsize()
80 *(p + lsize); in r3k_cache_lsize()
85 for (i = 0; i < 128; i += lsize) in r3k_cache_lsize()
90 return lsize * sizeof(*p); in r3k_cache_lsize()
Dc-r4k.c622 unsigned long lsize = cpu_scache_line_size(); in r4k_dma_cache_inv() local
623 unsigned long almask = ~(lsize - 1); in r4k_dma_cache_inv()
644 unsigned long lsize = cpu_dcache_line_size(); in r4k_dma_cache_inv() local
645 unsigned long almask = ~(lsize - 1); in r4k_dma_cache_inv()
751 unsigned int lsize; in probe_pcache() local
928 if ((lsize = ((config1 >> 19) & 7))) in probe_pcache()
929 c->icache.linesz = 2 << lsize; in probe_pcache()
931 c->icache.linesz = lsize; in probe_pcache()
948 if ((lsize = ((config1 >> 10) & 7))) in probe_pcache()
949 c->dcache.linesz = 2 << lsize; in probe_pcache()
[all …]
/arch/sparc/mm/
Dsun4c.c136 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_context_sw() local
158 : "0" (nbytes), "r" (lsize), "i" (ASI_FLUSHCTX) in sun4c_flush_context_sw()
167 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_segment_sw() local
189 : "=&r" (addr), "=&r" (nbytes), "=&r" (lsize) in sun4c_flush_segment_sw()
190 : "0" (addr), "1" (nbytes), "2" (lsize), in sun4c_flush_segment_sw()
203 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_page_sw() local
225 : "=&r" (addr), "=&r" (left), "=&r" (lsize) in sun4c_flush_page_sw()
226 : "0" (addr), "1" (left), "2" (lsize), in sun4c_flush_page_sw()