STRUCT PLATFORM_NAND_CHIP(9)
π struct platform_nand_chip(9) π
okay bestie, welcome to the Kernel API Manual β we're looking at struct platform_nand_chip, and it is literally the chip level device structure, no cap β¨
π NAME π
struct platform_nand_chip β chip level device structure π
β¨ SYNOPSIS β¨
struct platform_nand_chip {
int nr_chips;
int chip_offset;
int nr_partitions;
struct mtd_partition *partitions;
int chip_delay;
unsigned int options;
unsigned int bbt_options;
const char **part_probe_types;
};
πΈ Members πΈ
nr_chipsβ max. number of chips to scan for π₯ literally the upper limit on how many chips you're scanning for, bestie.chip_offsetβ chip number offset β¨ it's the offset for the chip number, periodt.nr_partitionsβ number of partitions pointed to bypartitions(or zero) π so how many partitionspartitionspoints at, or0if there are none.partitionsβ mtd partition list π¦ the actual list of mtd partitions.chip_delayβ R/B delay value inusβ³ yes, R/B delay value, measured inus.optionsβ Option flags, e.g.16bit buswidthπ option flags go here, like16bit buswidth.bbt_optionsβ BBT option flags, e.g.NAND_BBT_USE_FLASHπ BBT option flags live here too, likeNAND_BBT_USE_FLASH.part_probe_typesβNULL-terminated array of probe types π§ aNULL-terminated array of probe types, iykyk.
π SEE ALSO π
- Kernel file
./include/linux/mtd/platnand.h struct platform_nand_ctrl(9)struct platform_nand_data(9)
mwah π this page is from ./include/linux/mtd, dated October 2026, for struct platform_nand_chip(9) β bye bestie, slay 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