__phy_clear_bits_mmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __phy_clear_bits_mmd β€” the Kernel API Manual tea 🫢

okay bestie grab a boba, because we're diving into __phy_clear_bits_mmd(9) from the Kernel API Manual and honestly? it's giving "small but mighty" πŸ’–


✨ NAME ✨

__phy_clear_bits_mmd β€” the convenience function for clearing bits in a register on MMD πŸŽ€ like, it exists purely so you don't have to hand-roll the whole dance yourself, and we stan a helpful queen


🌸 SYNOPSIS 🌸

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the phy_device struct, i.e. the whole vibe of your PHY device πŸ‘‘ this is the main character you're operating on
  • devad β€” the MMD containing register to modify πŸ’« (this is where the register lives, so like, know your address bestie)
  • regnum β€” register number to modify 🎯 the exact spot you're poking
  • val β€” bits to clear 🧹 these are the ones getting yeeted out of existence. not me clearing bits. couldn't be me

πŸ’€ DESCRIPTION πŸ’€

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

fr fr, that's the whole description and it is not a suggestion. no lock, no vibes. don't skip it, bestie 😭 that's the one rule.

🌈 SEE ALSO 🌈

the extended universe, in all its glory ✨:

literally a whole friend group, iykyk πŸ’œ


that's the page bestie, no cap ✨ written out of ./include/linux, dated October 2026, and signed off with πŸ’– __phy_clear_bits_mmd(9) forever and always πŸŽ€

πŸ“¦ where this page comes from