Lines Matching refs:total_ecc_bytes
160 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_sp() local
176 oobregion->length = total_ecc_bytes - 4; in nand_ooblayout_ecc_sp()
220 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_lp() local
222 if (section || !total_ecc_bytes) in nand_ooblayout_ecc_lp()
225 oobregion->length = total_ecc_bytes; in nand_ooblayout_ecc_lp()
235 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_free_lp() local
240 oobregion->length = mtd->oobsize - total_ecc_bytes - 2; in nand_ooblayout_free_lp()
265 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_lp_hamming() local
281 oobregion->length = total_ecc_bytes; in nand_ooblayout_ecc_lp_hamming()
292 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_free_lp_hamming() local
313 oobregion->offset = ecc_offset + total_ecc_bytes; in nand_ooblayout_free_lp_hamming()