tpm_calc_ordinal_duration(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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