phy_read_mmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the phy_read_mmd page from the Kernel API Manual ✨ this one's short and sweet and honestly iconic for it β€” no cap, we love a function that knows what it is πŸ’…


🌸 NAME 🌸

phy_read_mmd β€” the convenience function for reading a register from an MMD on a given PHY 🫢 like, that's literally the whole gig, and she does it slayfully.


✨ SYNOPSIS ✨

int phy_read_mmd (struct phy_device *phydev , int devad , u32 regnum );

look at her. three args. no drama. main character energy fr fr πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the phy_device struct πŸ’œ this is your PHY babe, the whole point of the operation.
  • devad β€” the MMD you're reading from 🌸 pick your girl wisely.
  • regnum β€” the register on that MMD you wanna read πŸŽ€ the actual thing you came for.

πŸ’€ DESCRIPTION πŸ’€

Same rules as for phy_read; β€” and that's it, that's the description 😭 like she really said "go read phy_read, same vibes, bye" and honestly? Respect. The rules are the rules, periodt 🧚


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/phy/phy-core.c β€” that's where the magic lives, iykyk ✨ and then the whole friend group, because this function does not exist in a vacuum bestie:

ngl that's a whole squad πŸ’… if you're deep in drivers/net/phy you're gonna meet all of them eventually, so maybe screenshot this list πŸ“

and that's the page!! πŸŽ€ shoutout to the source, ./drivers/net/phy, and the date, October 2026 β€” timestamped and archived like the little legend she is ⭐ mwah πŸ’–

πŸ“¦ where this page comes from