nand_select_chip(9)
π nand_select_chip(9) β the Kernel API Manual, but make it cute π
okay bestie, so this one lives in the Kernel API Manual and honestly? it's a tiny little icon. like, it does one thing and it does it well. we love a focused main character. β¨
πΈ NAME πΈ
nand_select_chip β [DEFAULT] control CE line
like, that's the whole job. you're controlling the CE line. that's it. that's the gig. π
β¨ SYNOPSIS β¨
void nand_select_chip (struct nand_chip *chip , int chipnr );
no cap, that's the entire signature. void in, void out β well, void out at least. it takes stuff and gives you nothing back but vibes. π¦
π«Ά ARGUMENTS π«Ά
chipβ the NAND chip object, aka the whole entire point. it's thestruct nand_chip *you're working with, the little guy in question. π§chipnrβ the chipnumber to select. and listen β pass-1for deselect. that's the deselect signal, bestie.-1. write it down. π
π DESCRIPTION π
so the manpage is gonna be real with you: this is the default select function for 1 chip devices.
one chip. single. solo. living that independent life. if you've got a whole fleet of chips, this is not your girl β this is the plain default for the simple one-chip situation. and honestly? she ate. π₯
π SEE ALSO π
it's giving "linked list of friends" and i'm obsessed. all of these are in the Kernel file ./drivers/mtd/nand/raw/nand_legacy.c:
nand_read_byte(9)nand_read_byte16(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)
group chat's all here. iykyk. π
lowkey do NOT sleep on panic_nand_wait_ready(9) β the name has "panic" in it for a reason and that's the only hint you're getting from me. π
and that's the whole page, bestie β nothing more, nothing less, we keep it π―. this one came out of ./drivers/mtd/nand/raw and is dated October 2026, filed under nand_select_chip(9) in the Kernel API Manual. mwah, go select a chip responsibly. πππ
π¦ 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