Lines Matching refs:page
4 unsigned int page, page_offset;
6 /* offs has to be aligned to a page address! */
9 page = (offs % CONFIG_SYS_NAND_BLOCK_SIZE) / CONFIG_SYS_NAND_PAGE_SIZE;
15 while (size && page < SYS_NAND_BLOCK_PAGES) {
16 nand_read_page(block, page, dst);
21 * When offs is not aligned to page address the
33 page++;
36 page = 0;
77 * Temporary storage for non NAND page aligned and non NAND page sized
107 int page, read;
109 /* Calculate the page number */
110 page = offset / CONFIG_SYS_NAND_PAGE_SIZE;
112 /* Offset to the start of a flash page */
117 * Non page aligned reads go to the scratch buffer.
121 nand_read_page(block, page, scratch_buf);
126 nand_read_page(block, page, dst);
129 page++;