/arch/mips/pci/ |
D | pci.c | 31 unsigned int lsize; in pcibios_set_cache_line_size() local 37 lsize = cpu_dcache_line_size(); in pcibios_set_cache_line_size() 38 lsize = cpu_scache_line_size() ? : lsize; in pcibios_set_cache_line_size() 39 lsize = cpu_tcache_line_size() ? : lsize; in pcibios_set_cache_line_size() 41 BUG_ON(!lsize); in pcibios_set_cache_line_size() 43 pci_dfl_cache_line_size = lsize >> 2; in pcibios_set_cache_line_size() 45 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 | 580 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument 581 static inline void extra##blast_##pfx##cache##lsize(void) \ 593 for (addr = start; addr < end; addr += lsize * 32) \ 594 cache##lsize##_unroll32(addr|ws, indexop); \ 599 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \ 607 cache##lsize##_unroll32(start, hitop); \ 608 start += lsize * 32; \ 614 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \ 627 for (addr = start; addr < end; addr += lsize * 32) \ 628 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 | 303 unsigned long lbase, lsize; in mtrr_add_page() local 345 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_add_page() 346 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page() 353 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page() 355 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page() 365 lsize); in mtrr_add_page() 482 unsigned long lbase, lsize; in mtrr_del_page() local 495 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_del_page() 496 if (lbase == base && lsize == size) { in mtrr_del_page() 511 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 113 cyrix_get_arr(7, &lbase, &lsize, <ype); in cyrix_get_free_region() 114 if (lsize == 0) in cyrix_get_free_region() 119 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 120 if (lsize == 0) in cyrix_get_free_region() 127 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 128 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 | 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 | c-r4k.c | 1194 unsigned int lsize; in probe_pcache() local 1361 lsize = (config1 >> 19) & 7; in probe_pcache() 1362 if (lsize) in probe_pcache() 1363 c->icache.linesz = 2 << lsize; in probe_pcache() 1373 lsize = (config1 >> 10) & 7; in probe_pcache() 1374 if (lsize) in probe_pcache() 1375 c->dcache.linesz = 2 << lsize; in probe_pcache() 1413 lsize = (config1 >> 19) & 7; in probe_pcache() 1416 if (lsize == 7) in probe_pcache() 1419 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 | 416 static void init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, in init_cache_info() argument 421 info->line_size = lsize; in init_cache_info() 432 info->assoc = size / (sets * lsize); in init_cache_info() 453 u32 size, lsize, bsize, sets; in parse_cache_info() local 458 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info() 470 lsize = be32_to_cpu(*lsizep); in parse_cache_info() 487 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
|