__phy_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __phy_read πŸ’–

okay so bestie, welcome to the Kernel API Manual page for __phy_read β€” a convenience function for reading a given PHY register, and it’s highkey iconic. πŸ’…


🌸 NAME 🌸

__phy_read β€” a convenience function for reading a given PHY register ✨

πŸŽ€ SYNOPSIS πŸŽ€

the signature is literally giving:

int __phy_read (struct phy_device *phydev , u32 regnum );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the phy_device struct 🫢
  • regnum β€” register number to read πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

bestie, listen closely: the caller must have taken the MDIO bus lock. that’s the rule, no cap. πŸ’…

the caller must have taken the MDIO bus lock. periodt. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/phy.h β€” and the whole reference friend group ate:


source/version: ./include/linux Β· date: October 2026 β€” stay hydrated and keep that MDIO bus lock energy, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from