Home
last modified time | relevance | path

Searched refs:total_ecc_bytes (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/mtd/nand/
H A Decc.c167 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_sp() local
183 oobregion->length = total_ecc_bytes - 4; in nand_ooblayout_ecc_sp()
227 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_lp() local
229 if (section || !total_ecc_bytes) in nand_ooblayout_ecc_lp()
232 oobregion->length = total_ecc_bytes; in nand_ooblayout_ecc_lp()
242 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_free_lp() local
247 oobregion->length = mtd->oobsize - total_ecc_bytes - 2; in nand_ooblayout_free_lp()
272 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_ecc_lp_hamming() local
288 oobregion->length = total_ecc_bytes; in nand_ooblayout_ecc_lp_hamming()
299 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in nand_ooblayout_free_lp_hamming() local
[all …]
/linux-6.15/drivers/mtd/nand/raw/
H A Ddavinci_nand.c495 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in hwecc4_ooblayout_large_ecc() local
496 int nregions = total_ecc_bytes / 10; /* 10 bytes per chunk */ in hwecc4_ooblayout_large_ecc()
511 unsigned int total_ecc_bytes = nand->ecc.ctx.total; in hwecc4_ooblayout_large_free() local
512 int nregions = total_ecc_bytes / 10; /* 10 bytes per chunk */ in hwecc4_ooblayout_large_free()