/arch/mips/pci/ |
D | pci.c | 28 unsigned int lsize; in pcibios_set_cache_line_size() local 34 lsize = cpu_dcache_line_size(); in pcibios_set_cache_line_size() 35 lsize = cpu_scache_line_size() ? : lsize; in pcibios_set_cache_line_size() 36 lsize = cpu_tcache_line_size() ? : lsize; in pcibios_set_cache_line_size() 38 BUG_ON(!lsize); in pcibios_set_cache_line_size() 40 pci_dfl_cache_line_size = lsize >> 2; in pcibios_set_cache_line_size() 42 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize); in pcibios_set_cache_line_size()
|
/arch/mips/include/asm/ |
D | r4kcache.h | 191 #define cache_unroll(times, insn, op, addr, lsize) do { \ argument 193 unroll(times, _cache_op, insn, op, (addr) + (i++ * (lsize))); \ 197 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument 198 static inline void extra##blast_##pfx##cache##lsize(void) \ 208 for (addr = start; addr < end; addr += lsize * 32) \ 210 addr | ws, lsize); \ 213 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \ 219 cache_unroll(32, kernel_cache, hitop, start, lsize); \ 220 start += lsize * 32; \ 224 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \ [all …]
|
D | sgiarcs.h | 280 unsigned char lsize; member 284 unsigned char lsize;
|
/arch/x86/kernel/cpu/mtrr/ |
D | mtrr.c | 302 unsigned long lbase, lsize; in mtrr_add_page() local 344 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_add_page() 345 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page() 352 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page() 354 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page() 363 lsize); in mtrr_add_page() 480 unsigned long lbase, lsize; in mtrr_del_page() local 493 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_del_page() 494 if (lbase == base && lsize == size) { in mtrr_del_page() 509 mtrr_if->get(reg, &lbase, &lsize, <ype); in mtrr_del_page() [all …]
|
D | cyrix.c | 93 unsigned long lbase, lsize; in cyrix_get_free_region() local 114 cyrix_get_arr(7, &lbase, &lsize, <ype); in cyrix_get_free_region() 115 if (lsize == 0) in cyrix_get_free_region() 120 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 121 if (lsize == 0) in cyrix_get_free_region() 128 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 129 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
|
D | centaur.c | 29 unsigned long lbase, lsize; in centaur_get_free_region() local 40 mtrr_if->get(i, &lbase, &lsize, <ype); in centaur_get_free_region() 41 if (lsize == 0) in centaur_get_free_region()
|
D | generic.c | 561 unsigned long lbase, lsize; in generic_get_free_region() local 570 mtrr_if->get(i, &lbase, &lsize, <ype); in generic_get_free_region() 571 if (lsize == 0) in generic_get_free_region()
|
/arch/mips/mm/ |
D | c-r3k.c | 65 unsigned long flags, status, lsize, i; in r3k_cache_lsize() local 78 for (lsize = 1; lsize < 128; lsize <<= 1) { in r3k_cache_lsize() 79 *(p + lsize); in r3k_cache_lsize() 84 for (i = 0; i < 128; i += lsize) in r3k_cache_lsize() 89 return lsize * sizeof(*p); in r3k_cache_lsize()
|
D | c-r4k.c | 1112 unsigned int lsize; in probe_pcache() local 1279 lsize = (config1 >> 19) & 7; in probe_pcache() 1280 if (lsize) in probe_pcache() 1281 c->icache.linesz = 2 << lsize; in probe_pcache() 1291 lsize = (config1 >> 10) & 7; in probe_pcache() 1292 if (lsize) in probe_pcache() 1293 c->dcache.linesz = 2 << lsize; in probe_pcache() 1333 lsize = (config1 >> 19) & 7; in probe_pcache() 1336 if (lsize == 7) in probe_pcache() 1339 c->icache.linesz = lsize ? 2 << lsize : 0; in probe_pcache() [all …]
|
D | sc-mips.c | 37 unsigned long lsize = cpu_scache_line_size(); in mips_sc_inv() local 38 unsigned long almask = ~(lsize - 1); in mips_sc_inv()
|
/arch/powerpc/kernel/ |
D | setup_64.c | 502 static void init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, in init_cache_info() argument 507 info->line_size = lsize; in init_cache_info() 518 info->assoc = size / (sets * lsize); in init_cache_info() 539 u32 size, lsize, bsize, sets; in parse_cache_info() local 544 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info() 558 lsize = be32_to_cpu(*lsizep); in parse_cache_info() 575 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
|