spi_nor_spimem_check_pp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… spi_nor_spimem_check_pp(9) β€” or, "does ur controller even do page program bestie"

okay so real talk, this one lives in the Kernel API Manual and it's basically a vibe check for your SPI NOR page program op πŸŽ€


✨ NAME ✨

spi_nor_spimem_check_pp β€” checks whether the page program op is actually supported by the controller, no cap πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

int spi_nor_spimem_check_pp (struct spi_nor *nor , const struct spi_nor_pp_command *pp );

like, that's the whole signature, she's giving minimal and iconic πŸ’…


🌸 ARGUMENTS 🌸

  • nor β€” pointer to a struct spi_nor, the main character of this whole function fr fr πŸ‘‘
  • pp β€” pointer to the op template that's getting checked, she's the one on trial bestie 🫢

πŸ’– DESCRIPTION πŸ’–

Returns 0 if the operation is supported, and -EOPNOTSUPP otherwise. that's it, that's the tea β˜• literally the entire description, short and slay ✨

ngl this manpage is tiny but she's doing her job and we respect her for it 😭

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./drivers/mtd/spi-nor/core.c β€” go read the source bestie, iykyk πŸ“– and then there's this absolutely unhinged guest list of related functions, like the whole spi-nor extended fam showed up to the party 🌈:

periodt πŸ’€ that's sixty-ish functions and yes i listed every single one, because we do not skip the boring parts in this house 🫢


okay bestie that's the page 🌟 source lives at ./drivers/mtd/spi-nor and this whole thing is dated October 2026 β€” yes, the future, because spi-nor stays booked and busy πŸ’œ mwah, go read the source, ily πŸŽ€

πŸ“¦ where this page comes from