nand_write_page_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to nand_write_page_raw(9) β€” yes, that’s the Kernel API Manual calling πŸ’…. This function is nand_write_page_raw β€” [INTERN] raw page write function. Internal business, but we’re gonna understand it anyway.


✨ SYNOPSIS ✨

int nand_write_page_raw (struct nand_chip *chip , const uint8_t *buf ,
       int oob_required , int page );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” nand chip info structure, the whole chip’s info situation 🫢
  • buf β€” data buffer, bestie. The data goes here.
  • oob_required β€” must write chip->oob_poi to OOB. Like, that’s the requirement.
  • page β€” page number to write. Which page? This one.

πŸ¦‹ DESCRIPTION πŸ¦‹

Not for syndrome calculating ECC controllers, which use a special oob layout. So if your controller is out here doing syndrome calculating ECC with its special oob layout, respectfully, this raw write function is not for it πŸ’€.


🌈 SEE ALSO 🌈

Kernel file: ./drivers/mtd/nand/raw/nand_base.c β€” and the whole friend group:


source/vibe check, bestie: this page lives under ./drivers/mtd/nand/raw, the date stamp energy is October 2026, and the whole thing is nand_write_page_raw(9) β€” bye, go write that raw page responsibly πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from