Lines Matching refs:oobregion

1144 					  struct mtd_oob_region *oobregion)  in brcmnand_hamming_ooblayout_ecc()  argument
1155 oobregion->offset = (section * sas) + 6; in brcmnand_hamming_ooblayout_ecc()
1156 oobregion->length = 3; in brcmnand_hamming_ooblayout_ecc()
1162 struct mtd_oob_region *oobregion) in brcmnand_hamming_ooblayout_free() argument
1179 oobregion->offset = ((section - 1) * sas) + 9; in brcmnand_hamming_ooblayout_free()
1183 oobregion->offset = 2; in brcmnand_hamming_ooblayout_free()
1186 oobregion->offset = 0; in brcmnand_hamming_ooblayout_free()
1191 oobregion->length = next - oobregion->offset; in brcmnand_hamming_ooblayout_free()
1202 struct mtd_oob_region *oobregion) in brcmnand_bch_ooblayout_ecc() argument
1213 oobregion->offset = ((section + 1) * sas) - chip->ecc.bytes; in brcmnand_bch_ooblayout_ecc()
1214 oobregion->length = chip->ecc.bytes; in brcmnand_bch_ooblayout_ecc()
1220 struct mtd_oob_region *oobregion) in brcmnand_bch_ooblayout_free_lp() argument
1234 oobregion->offset = section * sas; in brcmnand_bch_ooblayout_free_lp()
1235 oobregion->length = sas - chip->ecc.bytes; in brcmnand_bch_ooblayout_free_lp()
1238 oobregion->offset++; in brcmnand_bch_ooblayout_free_lp()
1239 oobregion->length--; in brcmnand_bch_ooblayout_free_lp()
1246 struct mtd_oob_region *oobregion) in brcmnand_bch_ooblayout_free_sp() argument
1258 oobregion->offset = 0; in brcmnand_bch_ooblayout_free_sp()
1259 oobregion->length = 5; in brcmnand_bch_ooblayout_free_sp()
1261 oobregion->offset = 6; in brcmnand_bch_ooblayout_free_sp()
1262 oobregion->length = sas - chip->ecc.bytes - 6; in brcmnand_bch_ooblayout_free_sp()