nand_read_byte16(9)
πΈ 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 π:
nand_read_byte(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)nand_wait(9)
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
- 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