nand_read_byte16(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 nand_read_byte16(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” yes we're literally in the kernel docs rn, stay with me πŸ’–


✨ NAME ✨

nand_read_byte16 β€” [DEFAULT] read one byte, endianness aware, straight off the chip. that's it. that's the whole gig 🫢


✨ SYNOPSIS ✨

uint8_t nand_read_byte16 (struct nand_chip *chip );

like… it takes the chip, it gives you a byte. uint8_t. one single byte. icon behavior ngl πŸ‘‘


✨ ARGUMENTS ✨

  • chip β€” the NAND chip object itself. your main character struct πŸ’…

✨ DESCRIPTION ✨

so this is the default read function for a 16bit buswidth, and it does endianness conversion while it's at it. one byte, read out, converted so the endianness makes sense. no cap, that's the entire vibe check πŸ¦‹

fr fr it's the default one β€” hence the [DEFAULT] tag up in NAME β€” so if nobody swapped in a custom read fn, this is what's running ✨

✨ SEE ALSO ✨

the whole friend group, in the kernel file ./drivers/mtd/nand/raw/nand_legacy.c πŸŽ€:

like, go read them too?? they all ate πŸ”₯


that's the page bestie, ily, go read your bytes πŸ’œ

🌸 shoutout to ./drivers/mtd/nand/raw, dated October 2026, living in the Kernel API Manual β€” mwah, periodt πŸ’‹βœ¨

πŸ“¦ where this page comes from