ps3_system_bus_set_drvdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ps3_system_bus_set_drvdata πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, and yes it's lowkey iconic ✨ This one's a tiny little page from <pink>Kernel API Manual</pink> about tucking some private data into a device, and it's giving "small but mighty" energy fr fr πŸŽ€


✨ NAME ✨

ps3_system_bus_set_drvdata β€” set driver's private data for this device πŸ’–

Like, that's literally the whole job. You hand it a device and a blob of data, and it stashes that data as the driver's own private little stash. Cute, right? πŸ¦‹


🫢 SYNOPSIS 🫢

void ps3_system_bus_set_drvdata (struct ps3_system_bus_device *dev ,
void *data );

no cap, that's it β€” a void function, so it gives nothing back. It just does the thing πŸ’…


🌸 ARGUMENTS 🌸

  • dev β€” the device structure, aka the main character here πŸ‘‘ This is the struct ps3_system_bus_device * you're attaching stuff to.
  • data β€” the data to set πŸ“ literally just a void *, so it's whatever you want to hand over. Your private data. Your little secret. ngl the kernel trusts you way too much with this πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

okay so this page lives at the kernel file ./arch/powerpc/include/asm/ps3.h, and here's the whole friend group it hangs out with β€” go say hi, iykyk 🧚:

  • struct ps3_dma_region(9)
  • struct ps3_mmio_region(9)
  • ps3_mmio_region_init(9)
  • struct ps3_system_bus_device(9)
  • struct ps3_system_bus_driver(9)
  • enum ps3_lpm_rights(9)
  • enum ps3_lpm_tb_type(9)

πŸ™ˆ reminder bestie: data is a void *, so the type vibes are entirely on you β€” nobody's checking. slay responsibly πŸ’œ

and that's the whole page! πŸŽ€ source/version is <purple>./arch/powerpc/include/asm</purple>, dated <purple>October 2026</purple>, and the page itself is ps3_system_bus_set_drvdata(9) β€” bye bestie, go set some drvdata 🫢🌈⭐

πŸ“¦ where this page comes from