STRUCT ADIN_CLAUSE45_MMD_MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct adin_clause45_mmd_map β€” like, the NAME section but make it cute ✨

okay so bestie, this is the whole vibe: struct adin_clause45_mmd_map is the little lookup buddy that maps Clause 45 registers over to Clause 22. That's it, that's the whole thing. It's giving translator-extraordinaire and honestly? iconic. πŸ¦‹

This page lives in the Kernel API Manual (iykyk) β€” say hi to your new hyperfixation.


✨ SYNOPSIS ✨

struct adin_clause45_mmd_map {
    int devad;
    u16 cl45_regnum;
    u16 adin_regnum;
};

three fields, no drama, no cap. πŸ“‹


πŸŽ€ Members πŸŽ€

  • devad β€” the device address, the one you use when you go do a Clause 45 access. it's an int, yeah, don't ask, that's what it is. πŸ’…
  • cl45_regnum β€” the register address as defined by Clause 45. a u16. that's the "before" of the glow-up. ✨
  • adin_regnum β€” the equivalent register address, except this one you can actually reach via Clause 22. a u16 too. that's the "after". πŸ”₯
fr fr the whole point of this struct is: cl45_regnum in, adin_regnum out. the mapping is the moment. πŸ’–

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/phy/adin.c
  • struct adin_cfg_reg_map(9)
  • struct adin_priv(9)

go read those too bestie, they're lowkey obsessed with each other. 🫢


🌸 okay that's the page!! huge shoutout to the source under ./drivers/net/phy, dated October 2026 β€” mwah, ty for your service, we stan a documented kernel struct. πŸ’œπŸ‘‘

struct adin_...se45_mmd_map(9) out. πŸ’…

πŸ“¦ where this page comes from