Lines Matching refs:oobregion
168 struct mtd_oob_region *oobregion) in fsmc_ecc1_ooblayout_ecc() argument
175 oobregion->offset = (section * 16) + 2; in fsmc_ecc1_ooblayout_ecc()
176 oobregion->length = 3; in fsmc_ecc1_ooblayout_ecc()
182 struct mtd_oob_region *oobregion) in fsmc_ecc1_ooblayout_free() argument
189 oobregion->offset = (section * 16) + 8; in fsmc_ecc1_ooblayout_free()
192 oobregion->length = 8; in fsmc_ecc1_ooblayout_free()
194 oobregion->length = mtd->oobsize - oobregion->offset; in fsmc_ecc1_ooblayout_free()
211 struct mtd_oob_region *oobregion) in fsmc_ecc4_ooblayout_ecc() argument
218 oobregion->length = chip->ecc.bytes; in fsmc_ecc4_ooblayout_ecc()
221 oobregion->offset = 0; in fsmc_ecc4_ooblayout_ecc()
223 oobregion->offset = (section * 16) + 2; in fsmc_ecc4_ooblayout_ecc()
229 struct mtd_oob_region *oobregion) in fsmc_ecc4_ooblayout_free() argument
236 oobregion->offset = (section * 16) + 15; in fsmc_ecc4_ooblayout_free()
239 oobregion->length = 3; in fsmc_ecc4_ooblayout_free()
241 oobregion->length = mtd->oobsize - oobregion->offset; in fsmc_ecc4_ooblayout_free()
733 struct mtd_oob_region oobregion; in fsmc_read_page_hwecc() local
735 ret = mtd_ooblayout_ecc(mtd, group++, &oobregion); in fsmc_read_page_hwecc()
739 off = oobregion.offset; in fsmc_read_page_hwecc()
740 len = oobregion.length; in fsmc_read_page_hwecc()