psp_tee_process_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so welcome to the psp_tee_process_cmd(9) page in the Kernel API Manual, bestie. This one is all about psp_tee_process_cmd β€” process command in Trusted Execution Environment, aka TEE. πŸ‘‘

✨ SYNOPSIS ✨

int psp_tee_process_cmd (enum tee_cmd_id cmd_id , void *buf , size_t len
, u32 *status );

🫢 ARGUMENTS 🫢

  • cmd_id β€” the TEE command ID, typed as enum tee_cmd_id. This is the command you're sending in. πŸ’Œ
  • buf β€” command buffer for TEE processing. On success, it gets updated with the response. So yeah, it comes back changed β€” main character energy. ✨
  • len β€” length of the command buffer in bytes. Gotta know how much buffer we're working with. πŸ“
  • status β€” on success, this holds the TEE command execution status. It's giving "receipts from the TEE." 🧾

🌸 DESCRIPTION 🌸

So this function submits a command to the Trusted OS for processing in the TEE environment, then it waits for a response or until the command times out. That's the whole vibe: send the command, wait for the answer, or hit the timeout. ⏳

πŸ”₯ RETURN πŸ”₯

Return values, bestie β€” memorize these:

  • 0 β€” TEE successfully processed the command. Slay. βœ…
  • -ENODEV β€” PSP device not available. Not the moment. 😭
  • -EINVAL β€” invalid input. Check yourself before you wreck yourself. πŸ™ˆ
  • -ETIMEDOUT β€” TEE command timed out. It literally took too long. πŸ’€
  • -EBUSY β€” PSP device is not responsive. It's not answering the group chat. πŸ“΅

πŸ¦‹ SEE ALSO πŸ¦‹


🌸 source/version: ./include/linux Β· date: October 2026 Β· page: psp_tee_process_cmd(9) β€” that's the whole page, bestie, go forth and slay. πŸ’…

πŸ“¦ where this page comes from