STRUCT SPINAND_FACT_OTP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual β€” this one's a lil struct page and it's genuinely so niche and so cute. it's the SPI NAND OTP grouping structure for factory area, which like... yes, that's a whole mouthful, but stick with me 🫢


✨ NAME ✨

struct spinand_fact_otp β€” the SPI NAND OTP grouping structure for the factory area. that's it, that's the whole vibe. factory-area OTP, grouped, structured, iconic πŸ‘‘


🌸 SYNOPSIS 🌸

here's the whole thing, no cap, copied exactly so you know it's real:

struct spinand_fact_otp {
    const struct spinand_otp_layout layout;
    const struct spinand_fact_otp_ops *ops;
 };

literally that's it. two members. tiny struct, main character energy πŸ’…


πŸŽ€ Members πŸŽ€

  • layout β€” the OTP region layout. it's the map of where stuff lives in the OTP region, the whole where-am-i of it all πŸ—ΊοΈ
  • ops β€” the OTP access ops. like, how you actually get in there and touch the thing. the pointer is const struct spinand_fact_otp_ops *, so it's ops with commitment πŸ’

πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the part where the manpage just absolutely goes off and lists the entire SPI NAND cinematic universe. all of these, bestie, every single one, i'm not skipping a crumb:

Kernel file ./include/linux/mtd/spinand.h, struct spinand_id(9), struct spinand_devid(9), struct spinand_manufacturer(9), struct spinand_op_variants(9), struct spinand_ondie_ecc_conf(9), struct spinand_otp_layout(9), struct spinand_fact_otp_ops(9), struct spinand_user_otp_ops(9), struct spinand_user_otp(9), enum spinand_bus_interface(9), struct spinand_info(9), struct spinand_mem_ops(9), struct spinand_device(9), mtd_to_spinand(9), spinand_to_mtd(9), nand_to_spinand(9), spinand_to_nand(9), spinand_set_of_node(9)

like, go read all of them, i'll wait πŸ’œ

side note bestie: if you're only here for struct spinand_fact_otp, you're valid. but the whole family is right there if you wanna spiral 🌈

and that's the page!! tysm for reading my little struct explainer, you're literally the best πŸ“

source/version: ./include/linux/mtd β€” dated October 2026 β€” and the manual name is struct spinand_fact_otp(9), which i folded in up at the top like a good hostess ✨ mwah, bye bestie!! πŸ’–

πŸ“¦ where this page comes from