STRUCT SSAM_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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, see enum 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:

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