nand_maximize_ecc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nand_maximize_ecc(9) πŸ’–

hey bestie, welcome to the Kernel API Manual page for nand_maximize_ecc(9) β€” manual name folded in right here so we can skip the boring header line and get straight to the explanation. 🫢


🌸 NAME 🌸

  • nand_maximize_ecc β€” choose the max ECC strength available ✨

✨ SYNOPSIS ✨

int nand_maximize_ecc (struct nand_chip *chip , const struct
       nand_ecc_caps *caps , int oobavail );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” nand chip info structure πŸ’–
  • caps β€” ECC engine caps info structure ✨
  • oobavail β€” OOB size that the ECC engine can use πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the whole point is literally this: choose the max ECC strength that is supported on the controller, and can fit within the chip's OOB. On success, the chosen ECC settings are set. that's the vibe β€” max ECC strength, no cap, but it still has to fit the OOB budget. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/mtd/nand/raw/nand_base.c β€” and then the reference list is a whole group chat. every single name below is here, bestie, no skips:


byeee bestie 🫢 β€” source/version: ./drivers/mtd/nand/raw, date: October 2026. πŸ’–

πŸ“¦ where this page comes from