module_ssam_device_driver(9)
π module_ssam_device_driver(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for module_ssam_device_driver, and honestly? it's a tiny little macro with main character energy π
πΈ NAME πΈ
module_ssam_device_driver β the helper macro for SSAM device driver registration, no cap π«Ά
β¨ SYNOPSIS β¨
module_ssam_device_driver (drv );
like that's literally it, that's the whole vibe π
π ARGUMENTS π
drvβ the driver that this module is managing. that's your guy π«‘
π¦ DESCRIPTION π¦
so this is a helper macro, and what it does is register a SSAM device driver via module_init and module_exit. iconic behaviour, honestly π
β οΈ listen up though, because this part matters: this macro may only be used once per module, and it replaces those aforementioned definitions (module_initandmodule_exit, iykyk). so don't go doubling up on it, bestie π one macro per module, periodt.
π SEE ALSO π
the whole friend group π«Ά β go say hi:
- Kernel file
./include/linux/surface_aggregator/device.h enum 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_set_drvdata(9)ssam_device_driver_register(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)
k that's the whole page, you ate that π
β¨ and for the receipts: this came from ./include/linux/surface_aggreg... and it's dated October 2026 β so yeah, it's giving future icon π§β bye bestie, go register that driver responsibly ππ₯
π¦ 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