Lines Matching refs:oobregion
168 struct mtd_oob_region *oobregion)
175 oobregion->offset = (section * 16) + 2;
176 oobregion->length = 3;
182 struct mtd_oob_region *oobregion)
189 oobregion->offset = (section * 16) + 8;
192 oobregion->length = 8;
194 oobregion->length = mtd->oobsize - oobregion->offset;
211 struct mtd_oob_region *oobregion)
218 oobregion->length = chip->ecc.bytes;
221 oobregion->offset = 0;
223 oobregion->offset = (section * 16) + 2;
229 struct mtd_oob_region *oobregion)
236 oobregion->offset = (section * 16) + 15;
239 oobregion->length = 3;
241 oobregion->length = mtd->oobsize - oobregion->offset;
722 struct mtd_oob_region oobregion;
724 ret = mtd_ooblayout_ecc(mtd, group++, &oobregion);
728 off = oobregion.offset;
729 len = oobregion.length;