STRUCT SSAM_EVENT_REGISTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ssam_event_registry(9) ✨

okay so bestie, welcome to the Kernel API Manual (yes, that Kernel API Manual, the 9th section, we're fancy here πŸŽ€). Today's main character is struct ssam_event_registry β€” the lil' registry specification used for enabling events. she's small, she's specific, she's iconic. let's get into it πŸ’–


✨ SYNOPSIS ✨

struct ssam_event_registry {
    u8 target_category;
    u8 target_id;
    u8 cid_enable;
    u8 cid_disable;
 };

like, four fields, all u8, no notes. minimalism ate. πŸ¦‹


🌸 Members 🌸

  • target_category β€” the target category for the event registry requests. yes bestie, category. that's her whole job πŸ’…
  • target_id β€” the target ID for the event registry requests. the ID to the category's category, if you will πŸ‘‘
  • cid_enable β€” the command ID for the event-enable request πŸ”₯
  • cid_disable β€” the command ID for the event-disable request πŸ’€

πŸ’– Description πŸ’–

so this struct describes a SAM event registry via the most minimal collection of SAM IDs possible β€” literally just the set of IDs that specify which requests to use for enabling and disabling an event. nothing extra, no bloat, she's lowkey efficient like that 🌈

and the important plot twist: the individual event that's actually being enabled or disabled is not described here, nope. that one's specified via struct ssam_event_id instead. so this struct is the how, and struct ssam_event_id is the which. iykyk 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

fr fr go read these too, they're all part of the same friend group:


that's the whole page, no cap πŸ’œ this little writeup lives in ./include/linux/surface_aggreg… (the path got cut off mid-vibe, we don't gatekeep), and it's dated October 2026 β€” so yeah, she's from the future, main character energy fr. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from