spi_mem_set_drvdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– spi_mem_set_drvdata(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for spi_mem_set_drvdata β€” it’s giving β€œattach driver private data to a SPI mem device” and honestly that’s the whole assignment. slay. ✨


🌸 NAME 🌸

spi_mem_set_drvdata β€” attach driver private data to a SPI mem device 🫢


✨ SYNOPSIS ✨

void spi_mem_set_drvdata (struct spi_mem *mem , void *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • mem β€” memory device. this is the SPI mem device getting the little data attachment moment πŸ’…
  • data β€” data to attach to the memory device. literally the data bestie, no cap πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/linux/spi/spi-mem.h
  • enum spi_mem_data_dir(9)
  • struct spi_mem_op(9)
  • struct spi_mem_dirmap_info(9)
  • struct spi_mem_dirmap_desc(9)
  • struct spi_mem(9)
  • spi_mem_get_drvdata(9)
  • struct spi_controller_mem_ops(9)
  • struct spi_controller_mem_caps(9)
  • struct spi_mem_driver(9)

and that’s the vibe check πŸ§šπŸ’œ β€” this cutie came from ./include/linux/spi with the version/date situation being October 2026, and the page is literally spi_mem_set_drvdata(9), periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from