Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsl_ifc_spl.c114 int pages_per_blk; in nand_spl_load_image() local
156 pages_per_blk = in nand_spl_load_image()
159 blk_size = pages_per_blk * page_size; in nand_spl_load_image()
/openbmc/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()
/openbmc/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()