Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 17 of 17) sorted by relevance

/arch/powerpc/include/asm/
Dcache.h42 u32 block_size; /* L1 only */ member
65 return ppc64_caches.l1d.block_size; in l1_dcache_bytes()
75 return ppc64_caches.l1i.block_size; in l1_icache_bytes()
Dpage_64.h55 onex = ppc64_caches.l1d.block_size; in clear_page()
/arch/powerpc/platforms/pseries/
Dpapr_scm.c30 uint64_t block_size; member
132 if ((end_addr - start_addr) != ((p->blocks - 1) * p->block_size)) in drc_pmem_query_n_bind()
367 mapping.size = p->blocks * p->block_size; // XXX: potential overflow? in papr_scm_nvdimm_init()
407 u64 blocks, block_size; in papr_scm_probe() local
419 if (of_property_read_u64(dn, "ibm,block-size", &block_size)) { in papr_scm_probe()
444 p->block_size = block_size; in papr_scm_probe()
479 p->res.end = p->bound_addr + p->blocks * p->block_size - 1; in papr_scm_probe()
Dlpar.c1369 unsigned int block_size) in set_hblkrm_bloc_size() argument
1371 if (block_size > hblkrm_size[bpsize][psize]) in set_hblkrm_bloc_size()
1372 hblkrm_size[bpsize][psize] = block_size; in set_hblkrm_bloc_size()
1386 unsigned int block_size) in check_lp_set_hblkrm() argument
1392 set_hblkrm_bloc_size(MMU_PAGE_4K, MMU_PAGE_4K, block_size); in check_lp_set_hblkrm()
1402 set_hblkrm_bloc_size(bpsize, psize, block_size); in check_lp_set_hblkrm()
1457 u32 block_size; in pseries_lpar_read_hblkrm_characteristics() local
1463 block_size = 1 << block_shift; in pseries_lpar_read_hblkrm_characteristics()
1468 block_size); in pseries_lpar_read_hblkrm_characteristics()
/arch/powerpc/mm/book3s32/
Dmmu.c107 static unsigned int block_size(unsigned long base, unsigned long top) in block_size() function
153 unsigned int size = block_size(base, top); in __mmu_mapin_ram()
197 size = block_size(base, top); in mmu_mark_initmem_nx()
202 size = block_size(base, top); in mmu_mark_initmem_nx()
/arch/powerpc/kernel/
Dsetup_64.c82 .block_size = 0x40,
86 .block_size = 0x40,
497 info->block_size = bsize; in init_cache_info()
622 dcache_bsize = ppc64_caches.l1d.block_size; in initialize_cache_info()
623 icache_bsize = ppc64_caches.l1i.block_size; in initialize_cache_info()
Drtas_flash.c167 unsigned long block_size, image_size; in flash_list_valid() local
176 block_size = f->blocks[i].length; in flash_list_valid()
177 if (block_size <= 0 || block_size > RTAS_BLK_SIZE) { in flash_list_valid()
180 image_size += block_size; in flash_list_valid()
Dvdso.c721 vdso_data->dcache_block_size = ppc64_caches.l1d.block_size; in vdso_init()
722 vdso_data->icache_block_size = ppc64_caches.l1i.block_size; in vdso_init()
Dasm-offsets.c172 OFFSET(DCACHEL1BLOCKSIZE, ppc64_caches, l1d.block_size); in main()
175 OFFSET(ICACHEL1BLOCKSIZE, ppc64_caches, l1i.block_size); in main()
/arch/powerpc/mm/book3s64/
Dhash_utils.c501 long unsigned int block_size; in htab_dt_scan_hugepage_blocks() local
519 block_size = be64_to_cpu(addr_prop[1]); in htab_dt_scan_hugepage_blocks()
520 if (block_size != (16 * GB)) in htab_dt_scan_hugepage_blocks()
524 phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks()
525 if (phys_addr + block_size * expected_pages <= memblock_end_of_DRAM()) { in htab_dt_scan_hugepage_blocks()
526 memblock_reserve(phys_addr, block_size * expected_pages); in htab_dt_scan_hugepage_blocks()
527 pseries_add_gpage(phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks()
/arch/mips/include/asm/octeon/
Dcvmx-fpa.h284 uint64_t block_size, uint64_t num_blocks);
/arch/arm/boot/dts/
Dspear13xx.dtsi112 block_size = <0xfff>;
130 block_size = <0xfff>;
/arch/s390/include/uapi/asm/
Dvtoc.h194 __u32 block_size; /* Disk block size */ member
/arch/arm/mach-omap2/
Dcontrol.c83 u32 block_size; member
394 sdrc_block_contents.block_size = 0x0; in omap3_save_scratchpad_contents()
/arch/arm/mm/
Dcache-l2x0.c951 u32 block_size = 0; in l2x0_cache_size_of_parse() local
956 of_property_read_u32(np, "cache-block-size", &block_size); in l2x0_cache_size_of_parse()
964 if (block_size) { in l2x0_cache_size_of_parse()
966 line_size = block_size; in l2x0_cache_size_of_parse()
/arch/arc/boot/dts/
Dabilis_tb10x.dtsi116 block_size = <0x7ff>;
/arch/powerpc/lib/
Dsstep.c897 size = ppc64_caches.l1d.block_size; in emulate_dcbz()