adapt_cap_to_t_adapt_l0l3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– adapt_cap_to_t_adapt_l0l3(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for adapt_cap_to_t_adapt_l0l3(9) β€” it's giving "tiny math gremlin that tells you the TAdapt value," and honestly? iconic. πŸ’…


πŸŽ€ NAME πŸŽ€

adapt_cap_to_t_adapt_l0l3 β€” Calculate TAdapt_L0_L3 from adapt capability. That's the whole assignment, no cap. ✨

✨ SYNOPSIS ✨

u64 adapt_cap_to_t_adapt_l0l3 (u32 adapt_cap );

🫢 ARGUMENTS 🫢

  • adapt_cap β€” Adapt capability. That's the input, bestie; hand it over and let the function cook. πŸ“

πŸ’… DESCRIPTION πŸ’…

For PAM-4, the formula is literally right here, and yes you need to keep it exact:

For PAM-4: IF (ADAPT_range = FINE) TADAPT_L0_L3 = 2^9 x ADAPT_length
       ELSE IF (ADAPT_range = COARSE) TADAPT_L0_L3 = 2^9 x (2^ADAPT_length)

Then it returns the calculated TAdapt value in terms of Unit Intervals (UI). Periodt. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/ufs/core/ufs-txeq.c is the main character here, and these are the linked icons you should also check out, fr fr:


xoxo πŸ’‹ β€” from ./drivers/ufs/core, October 2026. slay and goodbye! 🌈

πŸ“¦ where this page comes from