Home
last modified time | relevance | path

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

/arch/mips/pci/
Dpci.c31 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/
Dr4kcache.h580 #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 …]
Dsgiarcs.h278 unsigned char lsize; member
282 unsigned char lsize;
/arch/x86/kernel/cpu/mtrr/
Dmain.c303 unsigned long lbase, lsize; in mtrr_add_page() local
345 mtrr_if->get(i, &lbase, &lsize, &ltype); 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, &ltype); in mtrr_del_page()
496 if (lbase == base && lsize == size) { in mtrr_del_page()
511 mtrr_if->get(reg, &lbase, &lsize, &ltype); in mtrr_del_page()
[all …]
Dcyrix.c93 unsigned long lbase, lsize; in cyrix_get_free_region() local
113 cyrix_get_arr(7, &lbase, &lsize, &ltype); in cyrix_get_free_region()
114 if (lsize == 0) in cyrix_get_free_region()
119 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
120 if (lsize == 0) in cyrix_get_free_region()
127 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
128 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
Dcentaur.c29 unsigned long lbase, lsize; in centaur_get_free_region() local
40 mtrr_if->get(i, &lbase, &lsize, &ltype); in centaur_get_free_region()
41 if (lsize == 0) in centaur_get_free_region()
Dgeneric.c561 unsigned long lbase, lsize; in generic_get_free_region() local
570 mtrr_if->get(i, &lbase, &lsize, &ltype); in generic_get_free_region()
571 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.c1194 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 …]
Dsc-mips.c37 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/
Dsetup_64.c416 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()