nand_command(9)
π 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,-1if none.page_addrβ the page address for this command,-1if 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:
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_lp(9)nand_get_set_features_notsupp(9)nand_wait(9)
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
- 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