ssam_request_sync_submit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ssam_request_sync_submit β€” Kernel API Manual, bestie edition ✨

okay so real talk: this little function is from the Kernel API Manual and it is the "send it and don't wait around" girlie for synchronous requests. Get into it πŸŽ€


🌸 NAME 🌸

ssam_request_sync_submit β€” bestie's whole job is: submit a synchronous request. that's it. that's the post πŸ’…


✨ SYNOPSIS ✨

int ssam_request_sync_submit (struct ssam_controller *ctrl , struct
ssam_request_sync *rqst );

🫢 ARGUMENTS 🫢

  • ctrl β€” the controller you're submitting the request to. your main character controller, basically πŸ‘‘
  • rqst β€” the request you're submitting. yes, her. the one you set up πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so you're submitting a synchronous request. sounds simple and honestly it lowkey is, but the request has to be initialized and properly set up before you come at her with this call β€” that includes the response buffer (which can be NULL if you're not expecting a response, no pressure boo) and the command message data. that's the whole vibe check. the function itself does not wait for the request to be completed, she just yeets it and moves on 🧚

ngl this part matters: if this function succeeds, you must use ssam_request_sync_wait to make sure the request has actually been completed before you touch the response data and/or free the request. do not skip this step, bestie, i'm begging 😭

on failure though? different story β€” the request may immediately be freed. go ahead, it's giving "we're done here" πŸ’€

real talk: this function may only be used if the controller is active, i.e. it has been initialized and is not suspended. if she's not awake and ready, don't come knocking 🫢


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/platform/surface/aggregator/controller.c, plus literally the entire friend group:


πŸ’œ and that's the page!! source is ./drivers/platform/surface/agg... (yes it trails off like that, iconic honestly) and it's stamped October 2026, so jot that down bestie πŸ—“οΈβœ¨ slay, you're welcome, bye πŸŽ€

πŸ“¦ where this page comes from