STRUCT SPEAR_SMI_FLASH_INFO(9)
π struct spear_smi_flash_info(9) π
okay so bestie, welcome to the Kernel API Manual β this one's from the ./include/linux/mtd corner of the kernel and it's literally the glow-up page for struct spear_smi_flash_info. No cap, it's just a platform structure for passing flash information around. Your fave little info-carrier. π
β¨ NAME β¨
struct spear_smi_flash_info β the platform structure for passing flash information. that's it, that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
struct spear_smi_flash_info {
char *name;
unsigned long mem_base;
unsigned long size;
struct mtd_partition *partitions;
int nr_partitions;
u8 fast_mode;
};
look at her. six fields. main character energy, honestly. π
π«Ά Members π«Ά
so here's the cast of characters, one by one:
nameβ the name of the serial nor flash, used for identification. it's giving β¨nametag energyβ¨ so the kernel knows who's who. πmem_baseβ the memory base on which the flash is mapped. that's where she lives, fr fr. πsizeβ size of the flash, in bytes. how much room she's serving. πpartitionsβ the parition details. yep, the breakdown of the partitions themselves. π§©nr_partitionsβ number of partitions. literally just the count. one, two, ten, whatever. π’fast_modeβ whether the flash supports fast mode. au8little yes/no blessing. π¨
ngl bestie,fast_modeis au8and not a bool, so don't come for me β that's just how she is in the original. π
π¦ SEE ALSO π¦
- Kernel file
./include/linux/mtd/spear_smi.h - struct
spear_smi_plat_data(9)β her bestie, go read that one next. π«Ά
π sign-off π
that's the whole page, bestie! this one lives under ./include/linux/mtd, dated October 2026, and it's all about struct spear_smi_flash_info(9). mwah, go forth and pass that flash info π
β¨π
π¦ 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