tpm_crb_ffa_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tpm_crb_ffa_init πŸŽ€

okay so bestie, welcome to the kernel API manual page for tpm_crb_ffa_init β€” section 9 of the Kernel API Manual, if you're keeping track πŸ’…


✨ NAME ✨

tpm_crb_ffa_init β€” the little function the CRB driver calls when it needs any initialization done. that's it, that's the job 🫢


🌸 SYNOPSIS 🌸

int tpm_crb_ffa_init (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” literally no arguments. nothing. zero. the void is voiding πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: this function gets called by the tpm_crb driver during that driver's own initialization. and depending on how things went down, it has thoughts 😭

  • If tpm_crb_ffa has not been probed yet, it returns -ENOENT β€” specifically to force a retry. not me being dramatic, that's the actual reason πŸ‘‘
  • If the ffa_crb driver had been probed but failed with an error, it returns -ENODEV β€” specifically to prevent further retries. periodt, we're done trying πŸ’€
ngl the original page writes that second one as "th ffa_crb driver" β€” one missing "e", iconic typo, but the driver in question is ffa_crb, no cap πŸ“

⭐ RETURN ⭐

  • 0 on success 🌈
  • a negative error code on failure 😭

πŸ”₯ SEE ALSO πŸ”₯


and that's the page, bestie 🧚 this one lives in ./drivers/char/tpm, it's from October 2026, and it's part of the Kernel API Manual. go read the other two tpm_crb_ffa pages, iykyk πŸ’œβœ¨

πŸ“¦ where this page comes from