tpm_crb_ffa...face_version(9)
π 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 β
0on success β slay, we love a clean zero π- a negative error code on failure β π that's it, that's the whole failure situation
π¦ SEE ALSO π¦
- the kernel file
./drivers/char/tpm/tpm_crb_ffa.cβ go read your roots, bestie π tpm_crb_ffa_init(9)tpm_crb_ffa_start(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms