STRUCT ADIN_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hiii bestie, welcome to the struct adin_priv(9) page in the Kernel API Manual ✨ This is all about struct adin_priv β€” literally the ADIN PHY driver private data. Tiny struct, very main-character energy πŸŽ€


✨ SYNOPSIS ✨

       struct adin_priv {
           unsigned int            tx_level_2v4_able:1;
           unsigned int            tx_level_2v4:1;
           unsigned int            tx_level_prop_present:1;
        };

Okay so it's three lil' one-bit flags, and they are absolutely doing the most for this driver 🫢


🌸 Members 🌸

  • tx_level_2v4_able β€” set if the PHY supports 2.4V TX levels (10BASE-T1L) πŸ’… it's giving "can it tho?" energy.
  • tx_level_2v4 β€” set if the PHY requests 2.4V TX levels (10BASE-T1L) πŸ‘‘ now it's giving "okay but does it actually want it?" energy.
  • tx_level_prop_present β€” set if the TX level is specified in DT 🌟 that's the vibe check for whether the TX level showed up in DT.

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/phy/adin1100.c β€” go peek, iykyk πŸ¦‹

mwah πŸ’‹ this cutie came from ./drivers/net/phy, dated October 2026 β€” struct adin_priv(9), signing off! πŸŽ€βœ¨

πŸ“¦ where this page comes from