Lines Matching refs:rtn
410 int rtn, retlen;
424 rtn = this->read_byte(mtd);
428 if (!(rtn & ERR_STAT_ECC_AVAILABLE))
438 rtn = this->read_byte(mtd);
441 if (!(rtn & ERR_STAT_ECC_AVAILABLE)) {
456 rtn = nand_do_read(mtd, page, len, &retlen, buf);
459 if (rtn || (mtd->ecc_stats.corrected - corrected) > 1)
464 rtn = status;
466 rtn = (status & ~NAND_STATUS_FAIL); /* clear the error bit */
469 return rtn;