Lines Matching refs:page
4 unsigned int page, page_offset; in nand_spl_load_image() local
9 page = (offs % CONFIG_SYS_NAND_BLOCK_SIZE) / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()
15 while (page < CONFIG_SYS_NAND_PAGE_COUNT) { in nand_spl_load_image()
16 nand_read_page(block, page, dst); in nand_spl_load_image()
30 page++; in nand_spl_load_image()
33 page = 0; in nand_spl_load_image()
76 int page, read; in nand_spl_read_block() local
79 page = offset / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()
90 nand_read_page(block, page, scratch_buf); in nand_spl_read_block()
95 nand_read_page(block, page, dst); in nand_spl_read_block()
98 page++; in nand_spl_read_block()