Lines Matching refs:oob
177 size_t *retlen, uint8_t *buf, uint8_t *oob) in inftl_write() argument
185 ops.oobbuf = oob; in inftl_write()
244 struct inftl_oob oob; in INFTL_foldchain() local
274 (char *)&oob) < 0) in INFTL_foldchain()
277 status = oob.b.Status | oob.b.Status1; in INFTL_foldchain()
347 memset(&oob, 0xff, sizeof(struct inftl_oob)); in INFTL_foldchain()
348 oob.b.Status = oob.b.Status1 = SECTOR_USED; in INFTL_foldchain()
352 movebuf, (char *)&oob); in INFTL_foldchain()
466 struct inftl_oob oob; in INFTL_findwriteunit() local
574 + 8, 8, &retlen, (char *)&oob.u); in INFTL_findwriteunit()
575 anac = oob.u.a.ANAC + 1; in INFTL_findwriteunit()
576 nacs = oob.u.a.NACs + 1; in INFTL_findwriteunit()
588 oob.u.a.virtualUnitNo = cpu_to_le16(thisVUC); in INFTL_findwriteunit()
589 oob.u.a.prevUnitNo = cpu_to_le16(prev_block); in INFTL_findwriteunit()
590 oob.u.a.ANAC = anac; in INFTL_findwriteunit()
591 oob.u.a.NACs = nacs; in INFTL_findwriteunit()
592 oob.u.a.parityPerField = parity; in INFTL_findwriteunit()
593 oob.u.a.discarded = 0xaa; in INFTL_findwriteunit()
596 &retlen, (char *)&oob.u); in INFTL_findwriteunit()
599 oob.u.b.virtualUnitNo = cpu_to_le16(thisVUC); in INFTL_findwriteunit()
600 oob.u.b.prevUnitNo = cpu_to_le16(prev_block); in INFTL_findwriteunit()
601 oob.u.b.ANAC = anac; in INFTL_findwriteunit()
602 oob.u.b.NACs = nacs; in INFTL_findwriteunit()
603 oob.u.b.parityPerField = parity; in INFTL_findwriteunit()
604 oob.u.b.discarded = 0xaa; in INFTL_findwriteunit()
607 SECTORSIZE * 4 + 8, 8, &retlen, (char *)&oob.u); in INFTL_findwriteunit()
811 struct inftl_oob oob; in inftl_writeblock() local
835 memset(&oob, 0xff, sizeof(struct inftl_oob)); in inftl_writeblock()
836 oob.b.Status = oob.b.Status1 = SECTOR_USED; in inftl_writeblock()
840 (char *)&oob); in inftl_writeblock()