nand_write_byte(9)
π nand_write_byte(9) β the Kernel API Manual, gen-z edition
okay so bestie, you're looking at nand_write_byte(9) from the Kernel API Manual (manual section 9, kernel docs, iykyk). welcome to the function that just... writes one byte. one. singular. a little guy. π
β¨ NAME β¨
nand_write_byte β [DEFAULT] write single byte to chip
like, that's it. that's the whole job. write one byte to the chip. not a buffer, not a burst, one byte. she's minimal, she's focused, she's iconic. πΈ
π¦ SYNOPSIS π¦
void nand_write_byte (struct nand_chip *chip , uint8_t byte );
returns nothing (void, main character energy: does her thing and leaves π
), takes two things, that's the whole vibe check.
π«Ά ARGUMENTS π«Ά
chipβ the NAND chip object, literally the chip you're talking to. your bestie the struct. π§byteβ the value to write, i.e. the actual byte going out the door.uint8_tso pls keep it in range, no cap. β
π DESCRIPTION π
okay so this is the default function to write a byte to I/O[7:0]. that's the eight data lines, that's where the byte goes, that's the whole plot. default implementation behavior, bestie β nothing extra, nothing fancy, just the standard thing that happens when nobody overrode it. π₯
π SEE ALSO π
the kernel file you wanna peek at is ./drivers/mtd/nand/raw/nand_legacy.c and the whole friend group shows up here, no one gets left out π«Ά:
nand_read_byte(9)nand_read_byte16(9)nand_select_chip(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)nand_wait(9)
π reminder bestie: everything above is straight from the source, so don't go inventing extra behavior for this function, fr fr. what the page says is what she does.
and that's the page!! mwah π this one lives in ./drivers/mtd/nand/raw, dated October 2026 β go off, byte queen, slay that single byte πβ¨π
π¦ 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