nand_command(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nand_command(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” today’s main character is nand_command, and she is literally here to send a command to a NAND device. no cap, this is the small-page-device moment. ✨


🌸 NAME 🌸

nand_command - [DEFAULT] Send command to NAND device

πŸ¦‹ SYNOPSIS πŸ¦‹

the signature, exactly as she comes, bestie:

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

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” the NAND chip object, aka the lil device we’re talking to πŸ’–
  • command β€” the command to be sent, periodt.
  • column β€” the column address for this command, -1 if none.
  • page_addr β€” the page address for this command, -1 if none.

✨ DESCRIPTION ✨

Send command to NAND device. This function is used for small page devices (512 Bytes per page). that’s the vibe: small page devices, 512 Bytes per page, and she’s serving exactly that. 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/mtd/nand/raw/nand_legacy.c β€” and the whole group chat is here:


mwah πŸ’‹ this cutie’s source/version is ./drivers/mtd/nand/raw, the date is October 2026, and the page is nand_command(9) β€” bye bestie, slay your kernel journey πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from