tpm_crb_ffa...face_version(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tpm_crb_ffa_get_interface_version β€” bestie's guide

okay so welcome to the Kernel API Manual, girlies and gentlethems ✨ β€” today we're looking at tpm_crb_ffa_get_interface_version(9) and honestly? she's a little legend. sit down, grab a boba, let's get into it πŸ§‹


🌸 NAME 🌸

tpm_crb_ffa_get_interface_version β€” literally just gets the ABI version of the TPM service. that's it. that's the whole vibe check πŸŽ€


✨ SYNOPSIS ✨

int tpm_crb_ffa_get_interface_version (u16 *major , u16 *minor );

like, she takes two pointers and hands you back an int. no cap, that's the whole signature πŸ’–


🫢 ARGUMENTS 🫢

  • major β€” a pointer to a caller-allocated buffer that's gonna hold the major version number of the ABI. you allocate it, she fills it. team effort, iykyk πŸ’…
  • minor β€” same situation, but for the minor version number of the ABI. pointer to your caller-allocated buffer, she writes the minor version in there πŸ¦‹

🌈 DESCRIPTION 🌈

so what she actually does is return the major and minor version of the ABI of the FF-A based TPM. and like β€” why do you care? because it allows the caller to evaluate its compatibility with the version of the ABI πŸ‘‘ basically she's the friend who checks whether your outfit matches the dress code before you walk in. iconic behaviour fr fr 🌸


⭐ RETURN ⭐

  • 0 on success β€” slay, we love a clean zero πŸ’–
  • a negative error code on failure β€” 😭 that's it, that's the whole failure situation

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ’€ quick reminder: this page is filed under ./drivers/char/tpm, so if you're lost, that's the neighbourhood 🏑

and that's a wrap, bestie πŸŽ€βœ¨ this lil masterpiece lives in ./drivers/char/tpm and the date on it is October 2026 β€” so mark your calendar, screenshot it, frame it, whatever πŸ˜ŒπŸ’œ bye pookie 🫢

πŸ“¦ where this page comes from