STRUCT SPI_NOR_OTP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to struct spi_nor_otp(9) from the Kernel API Manual β€” this is literally the SPI NOR OTP grouping structure, and it's giving tiny-but-iconic C struct energy πŸ’…βœ¨

πŸ’– NAME πŸ’–

struct spi_nor_otp β€” SPI NOR OTP grouping structure 🫢

that's the official vibe: it's the grouping structure for SPI NOR OTP, no cap.

✨ SYNOPSIS ✨

here's the actual shape of it, copied exactly so you can trust the vibes:

struct spi_nor_otp {
    const struct spi_nor_otp_organization *org;
    const struct spi_nor_otp_ops *ops;
 };

πŸŽ€ Members πŸŽ€

these are the two members, and they are exactly what the synopsis says β€” very demure, very mindful:

  • org β€” OTP region organization πŸ—‚οΈ
  • ops β€” OTP access ops πŸ”§

no extra members hiding in the group chat, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file to peek at is ./drivers/mtd/spi-nor/core.h, and these are the linked besties β€” every single one, fr fr:

  • 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_flash_parameter(9)
  • struct spi_nor_fixups(9)
  • struct spi_nor_id(9)
  • struct flash_info(9)
  • struct spi_nor_manufacturer(9)
  • struct sfdp(9)
  • spi_nor_needs_sfdp(9)

mwah πŸ’‹ this page came from ./drivers/mtd/spi-nor and it's dated October 2026 β€” that's the source/version and date sign-off, bestie. go read some kernel headers and slay πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from