STRUCT SSAM_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ssam_request(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct ssam_request, and it's literally the blueprint babe. it's giving "form you fill out before the actual message gets sent" energy. let's go 🫢


✨ NAME ✨

struct ssam_request β€” the SAM request description. that's it, that's the name, and honestly? iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole struct, bestie, no cap, every field exactly as it is:

struct ssam_request {
    u8 target_category;
    u8 target_id;
    u8 command_id;
    u8 instance_id;
    u16 flags;
    u16 length;
    const u8 *payload;
 };

look at her. seven fields. perfect posture. main character energy πŸ‘‘


πŸŽ€ Members πŸŽ€

okay so now the vibe check on every single one of these, one by one, because we do NOT skip:

  • target_category β€” the category of the request's target. for more deets, see enum ssam_ssh_tc. like, the neighbourhood the target lives in πŸ’…
  • target_id β€” the ID of the request's target. hi bestie, which one are you πŸ‘‹
  • command_id β€” the command ID of the request. what are we even asking for, fr fr
  • instance_id β€” the instance ID of the request's target. the specific lil instance, yk?
  • flags β€” flags for the request. see enum ssam_request_flags for the whole menu ✨
  • length β€” length of the request payload, in bytes. count 'em, don't guess πŸ“
  • payload β€” the request payload data. the actual snack inside the wrapper 🎁

🌸 Description 🌸

so this struct fully describes a SAM request with payload. like, completely. the whole thing. no crumbs left.

her whole purpose in life is to help you set up the actual transport struct β€” for example struct ssam_request_sync β€” and specifically its raw message data, via ssam_request_write_data. so think of ssam_request as the ✨concept✨ and the transport struct as the ✨delivery✨. she's the blueprint, not the building. iykyk πŸ’œ


🌈 SEE ALSO 🌈

buckle up bestie, this list is LONG and we are NOT cutting a single one, periodt:

like i said. every. single. one. πŸ’€ you're welcome.


quick vibe note: this whole page lives in ./include/linux/surface_aggregator/controller.h, and the footer says October 2026 β€” so yeah, she's dated, she's sourced, she's struct ssam_request(9) and she ate. no notes πŸ”₯

okay bye bestie, go write some requests, ily, mwah πŸ’‹πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from