spi_nor_get_map_in_use(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… spi_nor_get_map_in_use(9) πŸ’…

okay bestie, welcome to the Kernel API Manual entry for spi_nor_get_map_in_use β€” the function that literally just gets the configuration map in use. no cap, that's the whole vibe. 🫢


✨ NAME ✨

spi_nor_get_map_in_use β€” get the configuration map in use

πŸ¦‹ SYNOPSIS πŸ¦‹

const u32 * spi_nor_get_map_in_use (struct spi_nor *nor , const u32
*smpt , u8 smpt_len );

πŸ’– ARGUMENTS πŸ’–

  • nor β€” pointer to a struct spi_nor, aka the main character struct
  • smpt β€” pointer to the sector map parameter table
  • smpt_len β€” sector map parameter table length

πŸ”₯ RETURN πŸ”₯

pointer to the map in use, ERR_PTR(-errno) otherwise. that's it, that's the return. πŸ’…

🌈 SEE ALSO 🌈

the Kernel file is ./drivers/mtd/spi-nor/sfdp.c, and the whole squad is:


mwah πŸ’‹ source/version is ./drivers/mtd/spi-nor, dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from