Home
last modified time | relevance | path

Searched refs:pages_per_block (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c434 unsigned long pages_per_block; in amdgpu_vram_mgr_new() local
448 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()
/Linux-v6.6/include/linux/mtd/
Djedec.h48 __le32 pages_per_block; member
Donfi.h85 __le32 pages_per_block; member
/Linux-v6.6/drivers/mtd/nand/raw/
Dnand_jedec.c105 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_jedec_detect()
Dnand_onfi.c253 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_onfi_detect()
Dmxc_nand.c1226 uint16_t pages_per_block = mtd->erasesize / mtd->writesize; in preset_v2() local
1235 config1 |= NFC_V2_CONFIG1_PPB(ffs(pages_per_block) - 6); in preset_v2()
Dnand_base.c4571 int page, pages_per_block, ret, chipnr; in nand_erase_nand() local
4593 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()
/Linux-v6.6/drivers/base/
Dmemory.c522 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store() local
528 if (phys_addr & ((pages_per_block << PAGE_SHIFT) - 1)) in probe_store()