Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/include/asm/
Dr4kcache.h558 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
559 static inline void extra##blast_##pfx##cache##lsize(void) \
571 for (addr = start; addr < end; addr += lsize * 32) \
572 cache##lsize##_unroll32(addr|ws, indexop); \
577 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
585 cache##lsize##_unroll32(start, hitop); \
586 start += lsize * 32; \
592 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
605 for (addr = start; addr < end; addr += lsize * 32) \
606 cache##lsize##_unroll32(addr|ws, indexop); \
[all …]
Dsgiarcs.h278 unsigned char lsize; member
282 unsigned char lsize;
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
Dmain.c291 unsigned long lbase, lsize; in mtrr_add_page() local
333 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_add_page()
334 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page()
341 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page()
343 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page()
353 lsize); in mtrr_add_page()
470 unsigned long lbase, lsize; in mtrr_del_page() local
483 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_del_page()
484 if (lbase == base && lsize == size) { in mtrr_del_page()
499 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.c558 unsigned long lbase, lsize; in generic_get_free_region() local
567 mtrr_if->get(i, &lbase, &lsize, &ltype); in generic_get_free_region()
568 if (lsize == 0) in generic_get_free_region()
/linux-4.4.14/arch/arm/mach-exynos/
Ds5p-dev-mfc.c25 unsigned long lsize; member
41 phys_addr_t lbase, unsigned int lsize) in s5p_mfc_reserve_mem() argument
51 s5p_mfc_mem[1].size = lsize; in s5p_mfc_reserve_mem()
81 mfc_mem.lsize = be32_to_cpu(prop[1]); in s5p_fdt_alloc_mfc_mem()
91 mfc_mem.loff, mfc_mem.lsize); in s5p_fdt_alloc_mfc_mem()
/linux-4.4.14/arch/mips/pci/
Dpci.c223 unsigned int lsize; in pcibios_set_cache_line_size() local
229 lsize = c->dcache.linesz; in pcibios_set_cache_line_size()
230 lsize = c->scache.linesz ? : lsize; in pcibios_set_cache_line_size()
231 lsize = c->tcache.linesz ? : lsize; in pcibios_set_cache_line_size()
233 BUG_ON(!lsize); in pcibios_set_cache_line_size()
235 pci_dfl_cache_line_size = lsize >> 2; in pcibios_set_cache_line_size()
237 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize); in pcibios_set_cache_line_size()
/linux-4.4.14/arch/mips/mm/
Dc-r3k.c65 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()
Dc-r4k.c960 unsigned int lsize; in probe_pcache() local
1127 lsize = (config1 >> 19) & 7; in probe_pcache()
1128 if (lsize) in probe_pcache()
1129 c->icache.linesz = 2 << lsize; in probe_pcache()
1139 lsize = (config1 >> 10) & 7; in probe_pcache()
1140 if (lsize) in probe_pcache()
1141 c->dcache.linesz = 2 << lsize; in probe_pcache()
1177 lsize = (config1 >> 19) & 7; in probe_pcache()
1180 if (lsize == 7) in probe_pcache()
1183 c->icache.linesz = lsize ? 2 << lsize : 0; in probe_pcache()
[all …]
Dsc-mips.c36 unsigned long lsize = cpu_scache_line_size(); in mips_sc_inv() local
37 unsigned long almask = ~(lsize - 1); in mips_sc_inv()
/linux-4.4.14/arch/powerpc/kernel/
Dsetup_64.c412 u32 size, lsize; in initialize_cache_info() local
415 lsize = cur_cpu_spec->dcache_bsize; in initialize_cache_info()
427 lsize = be32_to_cpu(*lsizep); in initialize_cache_info()
433 ppc64_caches.dline_size = lsize; in initialize_cache_info()
434 ppc64_caches.log_dline_size = __ilog2(lsize); in initialize_cache_info()
435 ppc64_caches.dlines_per_page = PAGE_SIZE / lsize; in initialize_cache_info()
438 lsize = cur_cpu_spec->icache_bsize; in initialize_cache_info()
449 lsize = be32_to_cpu(*lsizep); in initialize_cache_info()
455 ppc64_caches.iline_size = lsize; in initialize_cache_info()
456 ppc64_caches.log_iline_size = __ilog2(lsize); in initialize_cache_info()
[all …]
/linux-4.4.14/drivers/bluetooth/
Dhci_uart.h120 u8 lsize; /* Data length field size */ member
129 .lsize = 2, \
136 .lsize = 1, \
143 .lsize = 1, \
Dhci_qca.c770 .lsize = 0, \
777 .lsize = 0, \
784 .lsize = 0, \
Dhci_h4.c223 switch ((&pkts[i])->lsize) { in h4_recv_buf()
Dbpa10x.c89 .lsize = 2, \
Dhci_bcm.c430 .lsize = 0, \
Dhci_intel.c1060 .lsize = 1, \
/linux-4.4.14/drivers/scsi/cxlflash/
Dvlun.h73 size_t lsize; /* LUN size in number of LBAs */ member
Dvlun.c71 __func__, ba_lun->lun_id, ba_lun->lsize, ba_lun->au_size); in ba_init()
74 lun_size_au = ba_lun->lsize / ba_lun->au_size; in ba_init()
383 blka->ba_lun.lsize = gli->max_lba + 1; in init_vlun()
387 blka->nchunk = blka->ba_lun.lsize / MC_CHUNK_SIZE; in init_vlun()
/linux-4.4.14/drivers/net/can/
Dgrcan.c949 size_t lsize = ALIGN(maxs, GRCAN_BUFFER_ALIGNMENT); in grcan_allocate_dma_buffers() local
955 dma->base_size = lsize + ssize + GRCAN_BUFFER_ALIGNMENT; in grcan_allocate_dma_buffers()
968 small->handle = large->handle + lsize; in grcan_allocate_dma_buffers()
972 small->buf = large->buf + lsize; in grcan_allocate_dma_buffers()
/linux-4.4.14/fs/xfs/
Dxfs_super.c1056 xfs_extlen_t lsize; in xfs_fs_statfs() local
1072 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
1073 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()