nand_command_lp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nand_command_lp β€” like, the whole kernel-API-manual moment πŸ’…

okay bestie, so this page lives in the Kernel API Manual and it's literally called nand_command_lp(9) β€” say it with me, nand_command_lp. iconic name, no notes. πŸŽ€


🌸 NAME 🌸

nand_command_lp β€” [DEFAULT] Send command to NAND large page device ✨

So yes, the [DEFAULT] bit is literally part of the name section, we don't make the rules, we just slay them. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void nand_command_lp (struct nand_chip *chip , unsigned int command ,
int column , int page_addr );

that's the whole signature, character for character, don't touch it. 🫢


✨ ARGUMENTS ✨

okay so here's the cast of characters, and bestie, every single one matters:

  • chip β€” the NAND chip object itself. the main character of this whole situation, lowkey. πŸ‘‘
  • command β€” the command you're sending out into the world. go little command go. πŸ”₯
  • column β€” the column address for this command, or -1 if there isn't one. so like, -1 is the "nope, not today" value. πŸ’€
  • page_addr β€” the page address for this command, or -1 if there isn't one either. same energy, same -1. πŸ™ˆ

🧚 DESCRIPTION 🧚

okay so picture this: you're sending a command to a NAND device. that's the whole vibe. πŸ’–

This particular version is the one for the new large page devices β€” the glow-up edition. The way that small page devices have separate regions and large page devices just don't? yeah. We don't have the separate regions as we have in the small page devices. fr fr. 😭

so there's this thing we gotta do: we must emulate NAND_CMD_READOOB to keep the code compatible. it's giving "we're doing this for the legacy besties" and honestly? respecting it. πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

everything below is a real reference, keep them close, they're family. 🌈

Kernel file ./drivers/mtd/nand/raw/nand_legacy.c


and that's the page!! mwah πŸ’‹ this one shipped from ./drivers/mtd/nand/raw, dated October 2026 β€” yes, October 2026, she's from the future and she ate. πŸŒΈπŸ’… see u in the next manpage bestie 🫢

πŸ“¦ where this page comes from