Lines Matching refs:oobregion
1022 struct mtd_oob_region *oobregion) in mxc_v1_ooblayout_ecc() argument
1029 oobregion->offset = (section * 16) + 6; in mxc_v1_ooblayout_ecc()
1030 oobregion->length = MXC_V1_ECCBYTES; in mxc_v1_ooblayout_ecc()
1036 struct mtd_oob_region *oobregion) in mxc_v1_ooblayout_free() argument
1045 oobregion->offset = 0; in mxc_v1_ooblayout_free()
1046 oobregion->length = 5; in mxc_v1_ooblayout_free()
1048 oobregion->offset = 2; in mxc_v1_ooblayout_free()
1049 oobregion->length = 4; in mxc_v1_ooblayout_free()
1052 oobregion->offset = ((section - 1) * 16) + MXC_V1_ECCBYTES + 6; in mxc_v1_ooblayout_free()
1054 oobregion->length = (section * 16) + 6 - in mxc_v1_ooblayout_free()
1055 oobregion->offset; in mxc_v1_ooblayout_free()
1057 oobregion->length = mtd->oobsize - oobregion->offset; in mxc_v1_ooblayout_free()
1069 struct mtd_oob_region *oobregion) in mxc_v2_ooblayout_ecc() argument
1077 oobregion->offset = (section * stepsize) + 7; in mxc_v2_ooblayout_ecc()
1078 oobregion->length = nand_chip->ecc.bytes; in mxc_v2_ooblayout_ecc()
1084 struct mtd_oob_region *oobregion) in mxc_v2_ooblayout_free() argument
1094 oobregion->offset = 0; in mxc_v2_ooblayout_free()
1095 oobregion->length = 5; in mxc_v2_ooblayout_free()
1097 oobregion->offset = 2; in mxc_v2_ooblayout_free()
1098 oobregion->length = 4; in mxc_v2_ooblayout_free()
1101 oobregion->offset = section * stepsize; in mxc_v2_ooblayout_free()
1102 oobregion->length = 7; in mxc_v2_ooblayout_free()