Lines Matching refs:Page
325 * Page number
332 u16 Page, u16 PageCount)
342 if (Page + PageCount > DeviceInfo.wPagesPerBlock)
346 "lba %u Page %u PageCount %u\n",
348 (unsigned int)Page, (unsigned int)PageCount);
351 if (NULL == flash_memory[Block * GLOB_LLD_PAGES + Page]) {
355 memcpy((u8 *) (flash_memory[Block * GLOB_LLD_PAGES + Page]),
358 Page++;
368 * Page number
375 u16 Page, u16 PageCount)
385 if (Page + PageCount > DeviceInfo.wPagesPerBlock)
389 "lba %u Page %u PageCount %u\n",
391 (unsigned int)Page, (unsigned int)PageCount);
394 if (NULL == flash_memory[Block * GLOB_LLD_PAGES + Page]) {
399 + Page]),
403 Page++;
420 u16 Page, u16 PageCount)
428 printk(KERN_ERR "Read Page Main+Spare "
433 if (Page + PageCount > DeviceInfo.wPagesPerBlock) {
434 printk(KERN_ERR "Read Page Main+Spare "
435 "Error: Page number too big\n");
439 nand_dbg_print(NAND_DBG_DEBUG, "Read Page Main + Spare - "
442 (unsigned int)Block, (unsigned int)Page);
445 if (NULL == flash_memory[Block * GLOB_LLD_PAGES + Page]) {
450 + Page]),
455 Page++;
471 u16 Page, u16 page_count)
479 printk(KERN_ERR "Write Page Main + Spare "
484 if (Page + page_count > DeviceInfo.wPagesPerBlock) {
485 printk(KERN_ERR "Write Page Main + Spare "
486 "Error: Page number too big\n");
490 nand_dbg_print(NAND_DBG_DEBUG, "Write Page Main+Spare - "
493 (unsigned int)Block, (unsigned int)Page);
496 if (NULL == flash_memory[Block * GLOB_LLD_PAGES + Page]) {
500 memcpy((u8 *) (flash_memory[Block * GLOB_LLD_PAGES + Page]),
503 Page++;
519 u16 Page, u16 PageCount)
525 printk(KERN_ERR "Read Page Spare Error: "
530 if (Page + PageCount > DeviceInfo.wPagesPerBlock) {
531 printk(KERN_ERR "Read Page Spare Error: "
532 "Page number too big\n");
536 nand_dbg_print(NAND_DBG_DEBUG, "Write Page Spare- "
538 (unsigned int)Block, (unsigned int)Page);
540 if (NULL == flash_memory[Block * GLOB_LLD_PAGES + Page]) {
545 memcpy((u8 *) (flash_memory[Block * GLOB_LLD_PAGES + Page] +
562 u16 Page, u16 PageCount)
568 printk(KERN_ERR "Read Page Spare "
573 if (Page + PageCount > DeviceInfo.wPagesPerBlock) {
574 printk(KERN_ERR "Read Page Spare "
575 "Error: Page number too big\n");
579 nand_dbg_print(NAND_DBG_DEBUG, "Read Page Spare- "
581 (unsigned int)Block, (unsigned int)Page);
583 if (NULL == flash_memory[Block * GLOB_LLD_PAGES + Page]) {
588 (u8 *) (flash_memory[Block * GLOB_LLD_PAGES + Page]
635 PendingCMD[i].Page = 0;
702 page = PendingCMD[i].Page;
744 PendingCMD[i].Page = 0;