ssam_device_set_drvdata(9)
π ssam_device_set_drvdata β the Kernel API Manual page bestie, let's GO
okay so real talk, we're in the Kernel API Manual today and the function we're hyping up is ssam_device_set_drvdata. That's the whole name. It's giving "short and sweet and does exactly one thing" energy and honestly? iconic. π
β¨ NAME β¨
ssam_device_set_drvdata β Set driver-data of SSAM client device. That's it. That's the job. She's a setter, she sets, she slays. π
πΈ SYNOPSIS πΈ
void ssam_device_set_drvdata (struct ssam_device *sdev , void *data );
look at her. returns void β no notes, no drama, no "did it work?" follow-up questions. she just does it. periodt. β¨
π¦ ARGUMENTS π¦
sdevβ The device to set the driver-data of. Like, this is the SSAM client device you're attaching stuff to, bestie. She's the main character here. πdataβ The data to set the device's driver-data pointer to. you hand her avoid *and she points the driver-data at it, no questions asked. it's just a pointer handoff, lowkey the simplest kind of transaction fr fr. π«Ά
ngl this page is tiny, which is honestly a flex. sometimes a function is just one clean job and that's the vibe check passed. π§
π SEE ALSO π
this is the part where the manpage goes full group-chat-adds-everyone energy, and we love her for it. buckle up. π
Kernel file ./include/linux/surface_aggregator/device.h enum β then the whole squad:
ssam_device_domain(9)enum ssam_virtual_tc(9)struct ssam_device_uid(9)SSAM_DEVICE(9)SSAM_VDEV(9)SSAM_SDEV(9)struct ssam_device(9)struct ssam_device_driver(9)is_ssam_device(9)to_ssam_device(9)to_ssam_device_driver(9)ssam_device_mark_hot_removed(9)ssam_device_is_hot_removed(9)ssam_device_get(9)ssam_device_put(9)ssam_device_get_drvdata(9)ssam_device_driver_register(9)module_ssam_device_driver(9)ssam_register_clients(9)ssam_device_register_clients(9)SSAM_DEFINE_SYNC_REQUEST_CL_N(9)SSAM_DEFINE_SYNC_REQUEST_CL_W(9)SSAM_DEFINE_SYNC_REQUEST_CL_R(9)SSAM_DEFINE_SYNC_REQUEST_CL_WR(9)ssam_device_notifier_register(9)ssam_device_notifier_unregister(9)
like, every single one of them. no gatekeeping in this house. π
also lowkey important: ssam_device_get_drvdata(9) is right there in the list β that's the getter to this setter, her other half, the matching set. iykyk. π¦
π signed, sealed, delivered π
this page lives at ./include/linux/surface_aggreg... (yes the path gets cut off, that's just how the footer rolls, don't @ me π), it's dated October 2026, and it answers to the name ssam_device_set_drvdata(9). and that's the whole manpage, bestie β short, sweet, and literally perfect for what it is. mwah. πβ¨π
π¦ 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