STRUCT SSAM_DEVICE(9)
β¨ NAME β¨
okay bestie, welcome to struct ssam_device(9) from the Kernel API Manual π this one is literally the SSAM client device, and it's giving βtiny struct, main character energy.β no cap.
π SYNOPSIS π
here's the literal struct block, spacing and all β do not rearrange it, it's iconic exactly as-is:
struct ssam_device {
struct device dev;
struct ssam_controller *ctrl;
struct ssam_device_uid uid;
unsigned long flags;
};
π«Ά Members π«Ά
the way that these four members carry this whole struct is lowkey iconic, fr fr:
devβ the driver model representation of the device. that's its whole thing, periodt.ctrlβ the SSAM controller managing this device. main character controller vibes πuidβ the UID identifying the device. yes bestie, the identifier, that's the tea πflagsβ device state flags, seeenum ssam_device_flags. do not sleep on the flags π
π SEE ALSO π
first up, the kernel file is ./include/linux/surface_aggregator/device.h β go read it, iykyk π± then these besties are all linked up:
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_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_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)
that's the whole squad, and they all ate π
mwah π¦ β source/version: ./include/linux/surface_aggreg..., date: October 2026, page: struct ssam_device(9) β¨
π¦ 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