Home
last modified time | relevance | path

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

/linux-2.6.39/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;
/linux-2.6.39/arch/x86/kernel/cpu/mtrr/
Dmain.c373 unsigned long lbase, lsize; in mtrr_add_page() local
414 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_add_page()
415 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page()
422 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page()
424 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page()
434 lsize); in mtrr_add_page()
550 unsigned long lbase, lsize; in mtrr_del_page() local
563 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_del_page()
564 if (lbase == base && lsize == size) { in mtrr_del_page()
579 mtrr_if->get(reg, &lbase, &lsize, &ltype); in mtrr_del_page()
[all …]
Dcyrix.c92 unsigned long lbase, lsize; in cyrix_get_free_region() local
112 cyrix_get_arr(7, &lbase, &lsize, &ltype); in cyrix_get_free_region()
113 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) in cyrix_get_free_region()
126 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
127 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
Dcentaur.c28 unsigned long lbase, lsize; in centaur_get_free_region() local
39 mtrr_if->get(i, &lbase, &lsize, &ltype); in centaur_get_free_region()
40 if (lsize == 0) in centaur_get_free_region()
Dgeneric.c498 unsigned long lbase, lsize; in generic_get_free_region() local
507 mtrr_if->get(i, &lbase, &lsize, &ltype); in generic_get_free_region()
508 if (lsize == 0) in generic_get_free_region()
/linux-2.6.39/arch/powerpc/kernel/
Dsetup_64.c277 u32 size, lsize; in initialize_cache_info() local
280 lsize = cur_cpu_spec->dcache_bsize; in initialize_cache_info()
289 lsize = *lsizep; in initialize_cache_info()
295 ppc64_caches.dline_size = lsize; in initialize_cache_info()
296 ppc64_caches.log_dline_size = __ilog2(lsize); in initialize_cache_info()
297 ppc64_caches.dlines_per_page = PAGE_SIZE / lsize; in initialize_cache_info()
300 lsize = cur_cpu_spec->icache_bsize; in initialize_cache_info()
308 lsize = *lsizep; in initialize_cache_info()
314 ppc64_caches.iline_size = lsize; in initialize_cache_info()
315 ppc64_caches.log_iline_size = __ilog2(lsize); in initialize_cache_info()
[all …]
/linux-2.6.39/arch/mips/mm/
Dc-r3k.c67 unsigned long flags, status, lsize, i; in r3k_cache_lsize() local
80 for (lsize = 1; lsize < 128; lsize <<= 1) { in r3k_cache_lsize()
81 *(p + lsize); in r3k_cache_lsize()
86 for (i = 0; i < 128; i += lsize) in r3k_cache_lsize()
91 return lsize * sizeof(*p); in r3k_cache_lsize()
Dsc-mips.c35 unsigned long lsize = cpu_scache_line_size(); in mips_sc_inv() local
36 unsigned long almask = ~(lsize - 1); in mips_sc_inv()
Dc-r4k.c634 unsigned long lsize = cpu_scache_line_size(); in r4k_dma_cache_inv() local
635 unsigned long almask = ~(lsize - 1); in r4k_dma_cache_inv()
656 unsigned long lsize = cpu_dcache_line_size(); in r4k_dma_cache_inv() local
657 unsigned long almask = ~(lsize - 1); in r4k_dma_cache_inv()
763 unsigned int lsize; in probe_pcache() local
940 if ((lsize = ((config1 >> 19) & 7))) in probe_pcache()
941 c->icache.linesz = 2 << lsize; in probe_pcache()
943 c->icache.linesz = lsize; in probe_pcache()
960 if ((lsize = ((config1 >> 10) & 7))) in probe_pcache()
961 c->dcache.linesz = 2 << lsize; in probe_pcache()
[all …]
/linux-2.6.39/arch/sparc/mm/
Dsun4c.c138 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_context_sw() local
160 : "0" (nbytes), "r" (lsize), "i" (ASI_FLUSHCTX) in sun4c_flush_context_sw()
169 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_segment_sw() local
191 : "=&r" (addr), "=&r" (nbytes), "=&r" (lsize) in sun4c_flush_segment_sw()
192 : "0" (addr), "1" (nbytes), "2" (lsize), in sun4c_flush_segment_sw()
205 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_page_sw() local
227 : "=&r" (addr), "=&r" (left), "=&r" (lsize) in sun4c_flush_page_sw()
228 : "0" (addr), "1" (left), "2" (lsize), in sun4c_flush_page_sw()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_super.c1145 xfs_extlen_t lsize; in xfs_fs_statfs() local
1159 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
1160 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
/linux-2.6.39/drivers/media/video/
Dvino.c1419 unsigned int lsize; in vino_update_line_size() local
1425 lsize = (bpp * (w / d)) & ~7; in vino_update_line_size()
1426 w = (lsize / bpp) * d; in vino_update_line_size()
1429 vcs->line_size = lsize; in vino_update_line_size()