Searched refs:pages_per_block (Results 1 – 8 of 8) sorted by relevance
434 unsigned long pages_per_block; in amdgpu_vram_mgr_new() local448 pages_per_block = ~0ul; in amdgpu_vram_mgr_new()451 pages_per_block = HPAGE_PMD_NR; in amdgpu_vram_mgr_new()454 pages_per_block = 2UL << (20UL - PAGE_SHIFT); in amdgpu_vram_mgr_new()456 pages_per_block = max_t(uint32_t, pages_per_block, in amdgpu_vram_mgr_new()495 if ((size >= (u64)pages_per_block << PAGE_SHIFT) && in amdgpu_vram_mgr_new()496 !(size & (((u64)pages_per_block << PAGE_SHIFT) - 1))) in amdgpu_vram_mgr_new()497 min_block_size = (u64)pages_per_block << PAGE_SHIFT; in amdgpu_vram_mgr_new()
48 __le32 pages_per_block; member
85 __le32 pages_per_block; member
105 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_jedec_detect()
253 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_onfi_detect()
1226 uint16_t pages_per_block = mtd->erasesize / mtd->writesize; in preset_v2() local1235 config1 |= NFC_V2_CONFIG1_PPB(ffs(pages_per_block) - 6); in preset_v2()
4571 int page, pages_per_block, ret, chipnr; in nand_erase_nand() local4593 pages_per_block = 1 << (chip->phys_erase_shift - chip->page_shift); in nand_erase_nand()4626 (page + pages_per_block)) in nand_erase_nand()4640 page += pages_per_block; in nand_erase_nand()
522 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store() local528 if (phys_addr & ((pages_per_block << PAGE_SHIFT) - 1)) in probe_store()