STRUCT SPI_NOR_MANUFACTURER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct spi_nor_manufacturer(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this little cutie right here is struct spi_nor_manufacturer(9), and it's literally the glow-up makeover of a manufacturer object for SPI NOR flash. think of it as the main character ID card that tells the kernel "hi yes this chip company exists, here's their whole lineup, k thanks 🫢"


✨ NAME ✨

struct spi_nor_manufacturer β€” the SPI NOR manufacturer object, no cap πŸ’…


🌸 SYNOPSIS 🌸

struct spi_nor_manufacturer {
    const char *name;
    const struct flash_info *parts;
    unsigned int nparts;
    const struct spi_nor_fixups *fixups;
 };

πŸŽ€ Members πŸŽ€

  • name β€” the manufacturer's name. just the name, bestie. the whole brand identity ✨
  • parts β€” an array of the parts this manufacturer supports. like their entire roster of chips, all lined up πŸ’–
  • nparts β€” how many entries are chilling in that parts array. the headcount, fr fr πŸ”’
  • fixups β€” hooks that get called at various points in time during spi_nor_scan. yes, hooks. they show up mid-scan to do their little fixes, iykyk πŸ”§
ngl, that fixups field is the one with main character energy β€” it literally gets invoked at various points during spi_nor_scan, so don't sleep on it 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/mtd/spi-nor/core.h β€” that's where the lore lives πŸ‘‘

and the whole friend group:

  • struct spi_nor_erase_type(9)
  • struct spi_nor_erase_command(9)
  • struct spi_nor_erase_region(9)
  • struct spi_nor_erase_map(9)
  • struct spi_nor_locking_ops(9)
  • struct spi_nor_otp_organization(9)
  • struct spi_nor_otp_ops(9)
  • struct spi_nor_otp(9)
  • struct spi_nor_flash_parameter(9)
  • struct spi_nor_fixups(9)
  • struct spi_nor_id(9)
  • struct flash_info(9)
  • struct sfdp(9)
  • spi_nor_needs_sfdp(9)

that's the whole vibe check, bestie 🌈 this page came straight from ./drivers/mtd/spi-nor, dated October 2026, and it's part of the Kernel API Manual β€” slay, go read the other structs now, periodt πŸ’€πŸ’–

πŸ“¦ where this page comes from