qcom_scm_qseecom_app_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

qcom_scm_qseecom_app_send β€” bestie, this is the <rainbow>"send stuff to a QSEE app and get stuff back"</rainbow> function 🫢 straight out of the Kernel API Manual ✨


🌸 SYNOPSIS 🌸

int qcom_scm_qseecom_app_send (u32 app_id , void *req , size_t req_size
, void *rsp , size_t rsp_size );

No cap, that's the whole vibe πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • app_id β€” the ID of the target app 🎯 like, which QSEE app you're sliding into.
  • req β€” the request buffer you send over to the app. Heads up: must be TZ memory ⚠️
  • req_size β€” size of the request buffer πŸ“
  • rsp β€” the response buffer, and the app writes into this one. Also must be TZ memory ⚠️
  • rsp_size β€” size of the response buffer πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• this function sends a request to the QSEE app that's associated with the given ID, then reads back that app's response. Simple as that ✨

But β€” and this is the part you cannot skip, bestie β€” the caller must provide two DMA memory regions, one for the request and one for the response 😭

Then you fill out the req region with the respective (app-specific) request data πŸ’Œ The QSEE app reads that, and hands you back its response in the rsp region. it's giving pen pal energy, honestly πŸ“

πŸ”₯ reminder: req and rsp must both be TZ memory. Don't come crying to me if you forget 😀

πŸ‘‘ RETURN πŸ‘‘

  • Zero on success πŸŽ‰ slay
  • Nonzero on failure πŸ’€ sad but that's the game

🌈 SEE ALSO 🌈

Kernel file ./drivers/firmware/qcom/qcom_scm.c struct qcom_scm_qseecom_resp(9), plus the whole friend group 😌:


and that's the whole page, bestie πŸ§šπŸ’œ this one lives over in ./drivers/firmware/qcom, dated October 2026 β€” mwah, go ship something iconic πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from