__phy_clear_bits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __phy_clear_bits(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this is the page for __phy_clear_bits(9), and it is literally the convenience function for clearing bits in a PHY register. let's go 🫢


πŸ’– NAME πŸ’–

__phy_clear_bits β€” convenience function for clearing bits in a PHY register.

🌸 SYNOPSIS 🌸

int __phy_clear_bits (struct phy_device *phydev , u32 regnum , u16 val );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the phy_device struct. the main character struct, periodt.
  • regnum β€” register number to write.
  • val β€” bits to clear.

πŸ¦‹ DESCRIPTION πŸ¦‹

The caller must have taken the MDIO bus lock. πŸ”’

Like, for real for real: the caller must have taken the MDIO bus lock. that is the whole vibe check here, bestie β€” no cap.

✨ SEE ALSO ✨

Kernel file: ./include/linux/phy.h β€” plus the whole icon squad:


source: ./include/linux Β· version/date: October 2026 Β· page: __phy_clear_bits(9) β€” mwah, bye bestie πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from