Searched refs:nspare (Results 1 – 2 of 2) sorted by relevance
212 struct yaffs_nand_spare nspare; in yaffs_rd_chunk_nand() local214 memset(&nspare, 0, sizeof(nspare)); in yaffs_rd_chunk_nand()218 &nspare); in yaffs_rd_chunk_nand()219 memcpy(spare, &nspare, sizeof(struct yaffs_spare)); in yaffs_rd_chunk_nand()221 if (nspare.eccres1 > 0) { in yaffs_rd_chunk_nand()225 } else if (nspare.eccres1 < 0) { in yaffs_rd_chunk_nand()231 if (nspare.eccres2 > 0) { in yaffs_rd_chunk_nand()235 } else if (nspare.eccres2 < 0) { in yaffs_rd_chunk_nand()241 if (nspare.eccres1 || nspare.eccres2) { in yaffs_rd_chunk_nand()246 if (nspare.eccres1 < 0 || nspare.eccres2 < 0) in yaffs_rd_chunk_nand()[all …]
44 struct yaffs_nand_spare *nspare = (struct yaffs_nand_spare *)spare; in translate_oob2spare() local58 nspare->eccres1 = nspare->eccres2 = 0; /* FIXME */ in translate_oob2spare()