STRUCT MARVELL_NAND_CHIP(9)
π struct marvell_nand_chip(9) β like, the whole vibe check on a NAND chip π
okay bestie, sit down, hydrate, and let me tell you about struct marvell_nand_chip from the Kernel API Manual β it's the struct that stores NAND chip device related information, and honestly? it's giving main character energy. β¨
πΈ NAME πΈ
struct marvell_nand_chip β stores NAND chip device related information π
no cap, that's the whole pitch. it holds all the deets about a NAND chip device. periodt. π
β¨ SYNOPSIS β¨
here's the glow-up, laid out exactly as the kernel gods wrote it:
struct marvell_nand_chip {
struct nand_chip chip;
struct list_head node;
const struct marvell_hw_ecc_layout *layout;
u32 ndcr;
u32 ndtr0;
u32 ndtr1;
int addr_cyc;
int selected_die;
unsigned int nsels;
struct marvell_nand_chip_sel sels[];
};
look at her. all those fields. iconic. π₯
π¦ Members π¦
okay so this is the part where we meet the cast, one by one β every single one of them, no skipping, i promise π«Ά
chipβ the base NAND chip structure π like, the foundation, the blueprint, the main character's backstory.nodeβ used to store NAND chips into a list π everything's in a list, bestie. everything.layoutβ the NAND layout used when you're doing hardware ECC β‘ fancy hardware mode activated.ndcrβ the controller register value for this NAND chip ποΈ its personal little settings corner.ndtr0β timing registers 0 value for this NAND chip β±οΈ timing is everything, iykyk.ndtr1β timing registers 1 value for this NAND chip β±οΈβ±οΈ yes there's a second one, she's thorough.addr_cycβ the amount of cycles needed to pass the column address π count 'em.selected_dieβ the current active CS π whoever's holding the crown right now.nselsβ number of CS lines required by the NAND chip π’ how many lines this chip is claiming.selsβ array of CS lines descriptions π the receipts, per line.
π SEE ALSO π
go read these next, bestie, they're all connected (iykyk):
- Kernel file
./drivers/mtd/nand/raw/marvell_nand.c struct marvell_hw_ecc_layout(9)struct marvell_nand_chip_sel(9)struct marvell_nfc_caps(9)struct marvell_nfc(9)struct marvell_nfc_timings(9)TO_CYCLES(9)struct marvell_nfc_op(9)
π«Ά lowkey reminder: this page lives under./drivers/mtd/nand/rawand it's dated October 2026 β the manual name isstruct marvell_nand_chip(9)in case you forgot already. mwah. π
and that's the page, bestie β struct marvell_nand_chip(9), ./drivers/mtd/nand/raw, October 2026, all wrapped up with a bow. slay. π
β¨ππ¦π
π¦ 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