doc_write_seek(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is doc_write_seek(9) from the Kernel API Manual, and its whole personality is: set both flash planes to the specified block, page for writing. That’s the assignment. That’s the vibe. πŸ’…βœ¨

πŸ“ SYNOPSIS πŸ“

int doc_write_seek (struct docg3 *docg3 , int block0 , int block1 , int page , int ofs );

🧚 ARGUMENTS 🧚

  • docg3 β€” the device, aka the struct docg3 * main character. πŸ’–
  • block0 β€” the first plane block index. πŸŒ€
  • block1 β€” the second plane block index. πŸŒ€
  • page β€” the page index within the block. πŸ“„
  • ofs β€” offset in page to write. πŸ“

πŸ’– DESCRIPTION πŸ’–

So here’s the tea: it programs the flash even and odd planes to the specific block and page. Slay. πŸŽ€

Alternatively, it programs the flash to the wear area of the specified page. Two little paths, same function, no cap. ✨

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/mtd/devices/docg3.c is where the whole squad lives β€” go say hi to:


πŸ’Œ okay that’s the whole page, bestie! The source/version stamp says ./drivers/mtd/devices and the date is October 2026, all for doc_write_seek(9). Bye bestie, go write some flash! 🫢🌸

πŸ“¦ where this page comes from