Lines Matching refs:oobregion
85 struct mtd_oob_region *oobregion) in fsl_ifc_ooblayout_ecc() argument
92 oobregion->offset = 8; in fsl_ifc_ooblayout_ecc()
93 oobregion->length = chip->ecc.total; in fsl_ifc_ooblayout_ecc()
99 struct mtd_oob_region *oobregion) in fsl_ifc_ooblayout_free() argument
109 oobregion->offset = 0; in fsl_ifc_ooblayout_free()
110 oobregion->length = 5; in fsl_ifc_ooblayout_free()
112 oobregion->offset = 6; in fsl_ifc_ooblayout_free()
113 oobregion->length = 2; in fsl_ifc_ooblayout_free()
120 oobregion->offset = 2; in fsl_ifc_ooblayout_free()
121 oobregion->length = 6; in fsl_ifc_ooblayout_free()
123 oobregion->offset = chip->ecc.total + 8; in fsl_ifc_ooblayout_free()
124 oobregion->length = mtd->oobsize - oobregion->offset; in fsl_ifc_ooblayout_free()
645 struct mtd_oob_region oobregion = { }; in check_erased_page() local
647 mtd_ooblayout_ecc(mtd, 0, &oobregion); in check_erased_page()
648 ecc += oobregion.offset; in check_erased_page()