Searched refs:pages_per_blk (Results 1 – 2 of 2) sorted by relevance
513 int i, pages_per_blk; in rk_nfc_write_page_raw() local515 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() local636 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() local709 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() local784 if ((page < (pages_per_blk * rknand->boot_blks)) && in rk_nfc_read_page_hwecc()
2468 uint32_t pages_per_blk = udev->data_pages_per_blk; in tcmu_set_max_blocks_param() local2485 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()