Lines Matching refs:retval
82 int retval = 0; in nandmtd_WriteChunkToNAND() local
89 retval = mtd->write(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND()
104 retval = mtd->write_oob(mtd, addr, &ops); in nandmtd_WriteChunkToNAND()
111 retval = in nandmtd_WriteChunkToNAND()
116 retval = in nandmtd_WriteChunkToNAND()
122 retval = in nandmtd_WriteChunkToNAND()
126 retval = in nandmtd_WriteChunkToNAND()
132 if (retval == 0) in nandmtd_WriteChunkToNAND()
146 int retval = 0; in nandmtd_ReadChunkFromNAND() local
153 retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_ReadChunkFromNAND()
167 retval = mtd->read_oob(mtd, addr, &ops); in nandmtd_ReadChunkFromNAND()
180 retval = in nandmtd_ReadChunkFromNAND()
185 retval = in nandmtd_ReadChunkFromNAND()
192 retval = in nandmtd_ReadChunkFromNAND()
196 retval = in nandmtd_ReadChunkFromNAND()
202 if (retval == 0) in nandmtd_ReadChunkFromNAND()
215 int retval = 0; in nandmtd_EraseBlockInNAND() local
229 retval = mtd->erase(mtd, &ei); in nandmtd_EraseBlockInNAND()
231 if (retval == 0) in nandmtd_EraseBlockInNAND()