nand_read_subpage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ nand_read_subpage(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this one's about nand_read_subpage, and it's literally the [REPLACEABLE] ECC-based sub-page read function. yes, replaceable in brackets, that's not a typo, that's the vibe. πŸŽ€


🌸 NAME 🌸

nand_read_subpage β€” the [REPLACEABLE] ECC based sub-page read function, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int nand_read_subpage (struct nand_chip *chip , uint32_t data_offs ,
       uint32_t readlen , uint8_t *bufpoi , int page );

that's the whole signature, she's serving function prototype energy πŸ‘‘


πŸ’… ARGUMENTS πŸ’…

  • chip β€” the nand chip info structure. like, the whole personality profile of the chip you're messing with 🧚
  • data_offs β€” offset of the requested data within the page. yes, within the page, don't go outside πŸ“
  • readlen β€” data length. how much you're reading, obvs πŸ’œ
  • bufpoi β€” buffer to store read data. this is where the good stuff lands ✨
  • page β€” page number to read. which page, bestie, which page 🌈
seriously though, all five of these matter β€” skip one and it's giving undefined nonsense 😭

⭐ SEE ALSO ⭐

okay this list is iconic and also genuinely enormous, so buckle up 🎒 β€” everything below lives in the kernel file ./drivers/mtd/nand/raw/nand_base.c, and here's the full squad:

like I said. the whole squad. πŸ’€πŸ”₯


and that's the page, bestie!! 🫢 huge shoutout to the source β€” ./drivers/mtd/nand/raw β€” stamped October 2026 πŸ“…. go read some sub-pages, ily, bye πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from