spi_nor_parse_profile1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is spi_nor_parse_profile1(9) from the Kernel API Manual, and its whole vibe is: parse the xSPI Profile 1.0 table. iconic, specific, lowkey essential πŸ’–

✨ SYNOPSIS ✨

int spi_nor_parse_profile1 (struct spi_nor *nor , const struct
       sfdp_parameter_header *profile1_header );

πŸ’¬ ARGUMENTS πŸ’¬

  • nor β€” a pointer to a struct spi_nor, periodt 🫢
  • profile1_header β€” a pointer to the struct sfdp_parameter_header that describes the Profile 1.0 Table length and version. that header is literally carrying the length-and-version details, no cap ✨

🎁 RETURN 🎁

0 on success, -errno otherwise. slay when it's 0, and when it's not, it's giving -errno πŸ˜­πŸ’…

πŸ”— SEE ALSO πŸ”—

Kernel file: ./drivers/mtd/spi-nor/sfdp.c β€” and here's the whole related squad, bestie:


xoxo bestie πŸ’… this page is signing off from ./drivers/mtd/spi-nor, dated October 2026, and yes it's still spi_nor_parse_profile1(9) 🌈✨

πŸ“¦ where this page comes from