Lines Matching refs:oobregion
1006 struct mtd_oob_region *oobregion) in mxc_v1_ooblayout_ecc() argument
1013 oobregion->offset = (section * 16) + 6; in mxc_v1_ooblayout_ecc()
1014 oobregion->length = MXC_V1_ECCBYTES; in mxc_v1_ooblayout_ecc()
1020 struct mtd_oob_region *oobregion) in mxc_v1_ooblayout_free() argument
1029 oobregion->offset = 0; in mxc_v1_ooblayout_free()
1030 oobregion->length = 5; in mxc_v1_ooblayout_free()
1032 oobregion->offset = 2; in mxc_v1_ooblayout_free()
1033 oobregion->length = 4; in mxc_v1_ooblayout_free()
1036 oobregion->offset = ((section - 1) * 16) + MXC_V1_ECCBYTES + 6; in mxc_v1_ooblayout_free()
1038 oobregion->length = (section * 16) + 6 - in mxc_v1_ooblayout_free()
1039 oobregion->offset; in mxc_v1_ooblayout_free()
1041 oobregion->length = mtd->oobsize - oobregion->offset; in mxc_v1_ooblayout_free()
1053 struct mtd_oob_region *oobregion) in mxc_v2_ooblayout_ecc() argument
1061 oobregion->offset = (section * stepsize) + 7; in mxc_v2_ooblayout_ecc()
1062 oobregion->length = nand_chip->ecc.bytes; in mxc_v2_ooblayout_ecc()
1068 struct mtd_oob_region *oobregion) in mxc_v2_ooblayout_free() argument
1078 oobregion->offset = 0; in mxc_v2_ooblayout_free()
1079 oobregion->length = 5; in mxc_v2_ooblayout_free()
1081 oobregion->offset = 2; in mxc_v2_ooblayout_free()
1082 oobregion->length = 4; in mxc_v2_ooblayout_free()
1085 oobregion->offset = section * stepsize; in mxc_v2_ooblayout_free()
1086 oobregion->length = 7; in mxc_v2_ooblayout_free()