Home
last modified time | relevance | path

Searched refs:pages_per_blk (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c513 int i, pages_per_blk; in rk_nfc_write_page_raw() local
515 pages_per_blk = mtd->erasesize / mtd->writesize; in rk_nfc_write_page_raw()
517 (page < (pages_per_blk * rknand->boot_blks)) && in rk_nfc_write_page_raw()
597 int pages_per_blk = mtd->erasesize / mtd->writesize; in rk_nfc_write_page_hwecc() local
636 if ((page < (pages_per_blk * rknand->boot_blks)) && in rk_nfc_write_page_hwecc()
707 int i, pages_per_blk; in rk_nfc_read_page_raw() local
709 pages_per_blk = mtd->erasesize / mtd->writesize; in rk_nfc_read_page_raw()
711 (page < (pages_per_blk * rknand->boot_blks)) && in rk_nfc_read_page_raw()
763 int pages_per_blk = mtd->erasesize / mtd->writesize; in rk_nfc_read_page_hwecc() local
784 if ((page < (pages_per_blk * rknand->boot_blks)) && in rk_nfc_read_page_hwecc()
/linux/drivers/target/
H A Dtarget_core_user.c2468 uint32_t pages_per_blk = udev->data_pages_per_blk; in tcmu_set_max_blocks_param() local
2485 if (TCMU_MBS_TO_PAGES(val) < pages_per_blk) { in tcmu_set_max_blocks_param()
2487 val, TCMU_MBS_TO_PAGES(val), pages_per_blk); in tcmu_set_max_blocks_param()
2499 udev->max_blocks = TCMU_MBS_TO_PAGES(val) / pages_per_blk; in tcmu_set_max_blocks_param()