ps3_system_bus_set_drvdata(9)
π 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 thestruct ps3_system_bus_device *you're attaching stuff to.dataβ the data to set π literally just avoid *, 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:datais avoid *, 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms