adapt_cap_t...apt_l0l1l2l3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is the adapt_cap_t...apt_l0l1l2l3(9) page from the Kernel API Manual, and it's literally the manual page for adapt_cap_to_t_adapt_l0l1l2l3 β€” the function that calculates TAdapt_L0_L1_L2_L3 from an adapt capability. slay. πŸ’–

✨ SYNOPSIS ✨

u64 adapt_cap_to_t_adapt_l0l1l2l3 (u32 adapt_cap );

πŸŽ€ ARGUMENTS πŸŽ€

  • adapt_cap β€” the adapt capability. that's the input, bestie. 🫢

🌸 DESCRIPTION 🌸

okay so for PAM-4, the tea is:

IF (ADAPT_range_L0_L1_L2_L3 = FINE) TADAPT_L0_L1_L2_L3 = 2^15 x (ADAPT_length_L0_L1_L2_L3 + 1) ELSE IF (ADAPT_range_L0_L1_L2_L3 = COARSE) TADAPT_L0_L1_L2_L3 = 2^15 x 2^ADAPT_length_L0_L1_L2_L3

Then it returns the calculated TAdapt value in term of Unit Intervals (UI). periodt. 🌈

🌟 SEE ALSO 🌟

Kernel file ./drivers/ufs/core/ufs-txeq.c β€” go look, iykyk:

mwah πŸ’‹ β€” sign-off from ./drivers/ufs/core, dated October 2026, and it's the adapt_cap_t...apt_l0l1l2l3(9) page. periodt. πŸ‘‘

πŸ“¦ where this page comes from