Lines Matching refs:oobregion
139 struct mtd_oob_region *oobregion) in lpc32xx_ooblayout_ecc() argument
144 oobregion->length = 6; in lpc32xx_ooblayout_ecc()
145 oobregion->offset = 10; in lpc32xx_ooblayout_ecc()
151 struct mtd_oob_region *oobregion) in lpc32xx_ooblayout_free() argument
157 oobregion->offset = 0; in lpc32xx_ooblayout_free()
158 oobregion->length = 4; in lpc32xx_ooblayout_free()
160 oobregion->offset = 6; in lpc32xx_ooblayout_free()
161 oobregion->length = 4; in lpc32xx_ooblayout_free()
606 struct mtd_oob_region oobregion = { }; in lpc32xx_nand_read_page_syndrome() local
623 error = mtd_ooblayout_ecc(mtd, 0, &oobregion); in lpc32xx_nand_read_page_syndrome()
627 oobecc = chip->oob_poi + oobregion.offset; in lpc32xx_nand_read_page_syndrome()
674 struct mtd_oob_region oobregion = { }; in lpc32xx_nand_write_page_syndrome() local
689 error = mtd_ooblayout_ecc(mtd, 0, &oobregion); in lpc32xx_nand_write_page_syndrome()
693 pb = chip->oob_poi + oobregion.offset; in lpc32xx_nand_write_page_syndrome()