Lines Matching refs:oobregion
138 struct mtd_oob_region *oobregion) in lpc32xx_ooblayout_ecc() argument
143 oobregion->length = 6; in lpc32xx_ooblayout_ecc()
144 oobregion->offset = 10; in lpc32xx_ooblayout_ecc()
150 struct mtd_oob_region *oobregion) in lpc32xx_ooblayout_free() argument
156 oobregion->offset = 0; in lpc32xx_ooblayout_free()
157 oobregion->length = 4; in lpc32xx_ooblayout_free()
159 oobregion->offset = 6; in lpc32xx_ooblayout_free()
160 oobregion->length = 4; in lpc32xx_ooblayout_free()
605 struct mtd_oob_region oobregion = { }; in lpc32xx_nand_read_page_syndrome() local
622 error = mtd_ooblayout_ecc(mtd, 0, &oobregion); in lpc32xx_nand_read_page_syndrome()
626 oobecc = chip->oob_poi + oobregion.offset; in lpc32xx_nand_read_page_syndrome()
673 struct mtd_oob_region oobregion = { }; in lpc32xx_nand_write_page_syndrome() local
688 error = mtd_ooblayout_ecc(mtd, 0, &oobregion); in lpc32xx_nand_write_page_syndrome()
692 pb = chip->oob_poi + oobregion.offset; in lpc32xx_nand_write_page_syndrome()