tpm_calc_ordinal_duration(9)
π tpm_calc_ordinal_duration(9) π
okay so this is from the Kernel API Manual, and it's literally about tpm_calc_ordinal_duration β calculate the maximum command duration. bestie, it's giving βhow long could this chip possibly take?β energy, and we are seated. π
β¨ NAME β¨
tpm_calc_ordinal_duration β calculate the maximum command duration. that's the whole assignment, no cap. π
π οΈ SYNOPSIS π οΈ
unsigned long tpm_calc_ordinal_duration (struct tpm_chip *chip , u32
ordinal );
π ARGUMENTS π
chipβ the TPM chip to use, bestie. π«Άordinalβ the TPM command ordinal. iconic little identifier energy. β¨
π« DESCRIPTION π«
okay so the function returns the maximum amount of time the chip could take to return the result for a particular ordinal, measured in jiffies. that's it, that's the vibe. π°οΈβ¨
no guessing, no extra lore β just the max duration for that ordinal in jiffies. periodt. π
π RETURN π
a maximal duration time for an ordinal in jiffies. yes, the unit is literally jiffies, and yes, the return type is unsigned long. slay. π
π SEE ALSO π
if you're going on a little kernel field trip, the Kernel file is ./drivers/char/tpm/tpm-interface.c, and these functions are the squad:
tpm_transmit(9)tpm_transmit_cmd(9)tpm_is_tpm2(9)tpm_pcr_read(9)tpm_pcr_extend(9)tpm_get_random(9)
mwah π β source/version vibes live under ./drivers/char/tpm, date stamp is October 2026, and this page is still tpm_calc_ordinal_duration(9) energy. bye bestie! π«Άπ
π¦ 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