/arch/mips/include/asm/ |
D | r4kcache.h | 343 #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 …]
|
D | sgiarcs.h | 278 unsigned char lsize; member 282 unsigned char lsize;
|
/arch/x86/kernel/cpu/mtrr/ |
D | main.c | 281 unsigned long lbase, lsize; in mtrr_add_page() local 322 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_add_page() 323 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page() 330 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page() 332 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page() 342 lsize); in mtrr_add_page() 458 unsigned long lbase, lsize; in mtrr_del_page() local 471 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_del_page() 472 if (lbase == base && lsize == size) { in mtrr_del_page() 487 mtrr_if->get(reg, &lbase, &lsize, <ype); in mtrr_del_page() [all …]
|
D | cyrix.c | 92 unsigned long lbase, lsize; in cyrix_get_free_region() local 112 cyrix_get_arr(7, &lbase, &lsize, <ype); in cyrix_get_free_region() 113 if (lsize == 0) in cyrix_get_free_region() 118 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 119 if (lsize == 0) in cyrix_get_free_region() 126 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 127 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
|
D | centaur.c | 28 unsigned long lbase, lsize; in centaur_get_free_region() local 39 mtrr_if->get(i, &lbase, &lsize, <ype); in centaur_get_free_region() 40 if (lsize == 0) in centaur_get_free_region()
|
D | generic.c | 497 unsigned long lbase, lsize; in generic_get_free_region() local 506 mtrr_if->get(i, &lbase, &lsize, <ype); in generic_get_free_region() 507 if (lsize == 0) in generic_get_free_region()
|
/arch/mips/pci/ |
D | pci.c | 162 unsigned int lsize; in pcibios_set_cache_line_size() local 168 lsize = c->dcache.linesz; in pcibios_set_cache_line_size() 169 lsize = c->scache.linesz ? : lsize; in pcibios_set_cache_line_size() 170 lsize = c->tcache.linesz ? : lsize; in pcibios_set_cache_line_size() 172 BUG_ON(!lsize); in pcibios_set_cache_line_size() 174 pci_dfl_cache_line_size = lsize >> 2; in pcibios_set_cache_line_size() 176 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize); in pcibios_set_cache_line_size()
|
/arch/powerpc/kernel/ |
D | setup_64.c | 299 u32 size, lsize; in initialize_cache_info() local 302 lsize = cur_cpu_spec->dcache_bsize; in initialize_cache_info() 314 lsize = *lsizep; in initialize_cache_info() 320 ppc64_caches.dline_size = lsize; in initialize_cache_info() 321 ppc64_caches.log_dline_size = __ilog2(lsize); in initialize_cache_info() 322 ppc64_caches.dlines_per_page = PAGE_SIZE / lsize; in initialize_cache_info() 325 lsize = cur_cpu_spec->icache_bsize; in initialize_cache_info() 336 lsize = *lsizep; in initialize_cache_info() 342 ppc64_caches.iline_size = lsize; in initialize_cache_info() 343 ppc64_caches.log_iline_size = __ilog2(lsize); in initialize_cache_info() [all …]
|
/arch/mips/mm/ |
D | c-r3k.c | 66 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()
|
D | sc-mips.c | 34 unsigned long lsize = cpu_scache_line_size(); in mips_sc_inv() local 35 unsigned long almask = ~(lsize - 1); in mips_sc_inv()
|
D | c-r4k.c | 635 unsigned long lsize = cpu_scache_line_size(); in r4k_dma_cache_inv() local 636 unsigned long almask = ~(lsize - 1); in r4k_dma_cache_inv() 658 unsigned long lsize = cpu_dcache_line_size(); in r4k_dma_cache_inv() local 659 unsigned long almask = ~(lsize - 1); in r4k_dma_cache_inv() 799 unsigned int lsize; in probe_pcache() local 976 if ((lsize = ((config1 >> 19) & 7))) in probe_pcache() 977 c->icache.linesz = 2 << lsize; in probe_pcache() 979 c->icache.linesz = lsize; in probe_pcache() 996 if ((lsize = ((config1 >> 10) & 7))) in probe_pcache() 997 c->dcache.linesz = 2 << lsize; in probe_pcache() [all …]
|
/arch/arm/plat-s5p/ |
D | dev-mfc.c | 34 phys_addr_t lbase, unsigned int lsize) in s5p_mfc_reserve_mem() argument 44 s5p_mfc_mem[1].size = lsize; in s5p_mfc_reserve_mem()
|
/arch/arm/plat-samsung/include/plat/ |
D | mfc.h | 25 phys_addr_t lbase, unsigned int lsize);
|
/arch/sparc/mm/ |
D | sun4c.c | 138 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()
|