Searched refs:pagecount (Results 1 – 1 of 1) sorted by relevance
566 ulong pagecount = 1; in do_nand() local597 if (argc > 4 && !str2long(argv[4], &pagecount)) { in do_nand()603 if (pagecount % (mtd->writesize + mtd->oobsize)) { in do_nand()604 printf("Count=%ld should be aligned with (writesize + oobsize)\n", pagecount); in do_nand()607 pagecount = pagecount / (mtd->writesize + mtd->oobsize); in do_nand()610 if (pagecount * mtd->writesize > size) { in do_nand()615 rwsize = pagecount * (mtd->writesize + mtd->oobsize); in do_nand()668 ret = raw_access(mtd, addr, off, pagecount, read, in do_nand()