Lines Matching refs:total_ecc_bytes
161 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_sp() local
177 oobregion->length = total_ecc_bytes - 4; in nand_ooblayout_ecc_sp()
221 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_lp() local
223 if (section || !total_ecc_bytes) in nand_ooblayout_ecc_lp()
226 oobregion->length = total_ecc_bytes; in nand_ooblayout_ecc_lp()
236 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_free_lp() local
241 oobregion->length = mtd->oobsize - total_ecc_bytes - 2; in nand_ooblayout_free_lp()
266 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_lp_hamming() local
282 oobregion->length = total_ecc_bytes; in nand_ooblayout_ecc_lp_hamming()
293 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_free_lp_hamming() local
314 oobregion->offset = ecc_offset + total_ecc_bytes; in nand_ooblayout_free_lp_hamming()