__phy_set_bits_mmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to the Kernel API Manual! today’s main character is __phy_set_bits_mmd(9) β€” yes, the double-underscore one, iykyk ✨

πŸ’– NAME πŸ’–

okay so the NAME tea is: this is a convenience function for setting bits in a register on MMD. that’s the whole vibe, no cap πŸ’…

✨ SYNOPSIS ✨

here’s the signature, bestie β€” copy it exactly, do not freestyle the commas:

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

πŸŽ€ ARGUMENTS πŸŽ€

the cast of characters 🫢:

  • phydev β€” the phy_device struct. that’s the device bestie, periodt.
  • devad β€” the MMD containing register to modify. yes, this one.
  • regnum β€” register number to modify. the exact register we’re poking.
  • val β€” bits to set. the bits themselves, iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

🚨 lock check, bestie: the caller must have taken the MDIO bus lock. like, this is the whole description, no cap. the caller must have taken the MDIO bus lock. πŸ™ˆ

🌈 SEE ALSO 🌈

the whole friend group, in order, no skips 🫢:


okay that’s the page, bestie πŸ’‹ source: ./include/linux; date/version tea: October 2026; and the page label is __phy_set_bits_mmd(9). mwah 🫢✨

πŸ“¦ where this page comes from