STRUCT PHY_TDR_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct phy_tdr_config(9) β€” like, the Kernel API Manual, but make it make sense πŸŽ€

okay so bestie, we're in the Kernel API Manual today and the vibe is very specific: this is all about one lil struct that configures a TDR raw test. lowkey iconic, highkey niche. let's get into it ✨


🌸 NAME 🌸

struct phy_tdr_config β€” the configuration of a TDR raw test, periodt.


✨ SYNOPSIS ✨

struct phy_tdr_config {
    u32 first;
    u32 last;
    u32 step;
    s8 pair;
 };

no cap, that's the whole shape of it. four lil fields, all business 🫢


πŸ¦‹ Members πŸ¦‹

  • first β€” the distance for the first data collection point πŸ“
  • last β€” the distance for the last data collection point 🏁
  • step β€” the step between data collection points, like the spacing between them πŸ‘Ÿ
  • pair β€” a bitmap of the cable pairs to collect data for 🧡 (yes, bitmap, she's bitmasking, iykyk)

πŸ’– Description πŸ’–

so basically, this struct holds all the possible configuration parameters for a TDR cable test. it's giving "options menu" energy, honestly 🌈

the driver does not need to implement all the parameters β€” that's the slay part, no pressure β€” but it should report what is actually used. like, be honest about what you're running, bestie πŸ™ˆ

and the important little detail: all distances are in centimeters πŸ“ literally all of them. do not come in here with inches, I'm begging 😭


πŸ”₯ SEE ALSO πŸ”₯

like, that's the whole friend group right there πŸ’€ every single one of them made the list, no one got left on read 🫢


and that's the page, bestie! πŸ’œ this lil gem lives in ./include/linux, dated October 2026, and it's filed under struct phy_tdr_config(9) β€” go forth and configure your TDR raw test with main character energy πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from