ssam_device_...ster_clients(9)
π ssam_device_register_clients β the kernel API manual, bestie edition π
okay so real talk, this page is from the Kernel API Manual and it's literally about ssam_device_register_clients β say that five times fast, i dare you π«Ά
β¨ NAME β¨
ssam_device_register_clients β registers, like, all the client devices that are defined under the SSAM parent device you hand it. yes bestie, all of them. the whole friend group gets invited π
πΈ SYNOPSIS πΈ
int ssam_device_register_clients (struct ssam_device *sdev );
π¦ ARGUMENTS π¦
sdevβ the parent device, aka the main character π the clients get registered underneath this one.
π§ DESCRIPTION π§
so here's the vibe: this function registers all the clients that have β via firmware nodes β been defined as children of the given (parent) device. every child firmware node gets associated with the correspondingly created child device. matching them up, no cap π
the controller that the parent device uses is the one that gets used to instantiate the new devices. like, it's not out here borrowing somebody else's controller, it uses its own. for the deets on that, go see ssam_device_add. iykyk π
ngl this is the "group chat admin adds everyone to the group" of kernel functions. iconic behavior fr fr π
β RETURN β
- returns zero on success π
- returns nonzero on failure π (not me getting a nonzero return... couldn't be me...)
π₯ SEE ALSO π₯
okay this is the longest friend list ever, buckle up bestie, nobody gets left out π«Ά
- 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)module_ssam_device_driver(9)ssam_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)
aaaand that's the page, periodt π
this masterpiece lives over at ./include/linux/surface_aggreg..., dated October 2026, and stamped with ssam_device_...ster_clients(9) at the bottom π bye bestie, go register those clients, slay π¦β¨
π¦ 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