nand_wait(9)
β¨ nand_wait(9) β¨
okay so bestie, welcome to the Kernel API Manual β today's episode is all about nand_wait(9), like the actual function, not the manual page name, you know how it is π
This one's filed under [DEFAULT], and its whole personality is: wait until the command is done. That's it. That's the girl. π
πΈ NAME πΈ
nand_wait β [DEFAULT] wait until the command is done
like literally just. wait. no cap. π«Ά
β¨ SYNOPSIS β¨
int nand_wait (struct nand_chip *chip );
returns an int, takes one pointer, manifesting patience π
π¦ ARGUMENTS π¦
chipβ the NAND chip structure. yes that's it, that's the whole argument, she's low maintenance π
π₯ DESCRIPTION π₯
Wait for command done. π§
And before you ask β this applies to erase and program only. Erase. And program. That's the vibe check, those are the two, don't show up with anything else π
fr fr, just those two operations, iykyk
π SEE ALSO π
kernel file ./drivers/mtd/nand/raw/nand_legacy.c and honestly a whole friend group of functions, all iconic, all linked below π
nand_read_byte(9)nand_read_byte16(9)nand_select_chip(9)nand_write_byte(9)nand_write_byte16(9)nand_write_buf(9)nand_read_buf(9)nand_write_buf16(9)nand_read_buf16(9)panic_nand_wait_ready(9)nand_wait_ready(9)nand_wait_status_ready(9)nand_command(9)nand_command_lp(9)nand_get_set_features_notsupp(9)
the whole squad, together, as it should be π
mwah π that's the page β brought to you by ./drivers/mtd/nand/raw, dated October 2026, and yeah she's literally called nand_wait(9) in case you forgot already π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms