phy_set_bits_mmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the phy_set_bits_mmd(9) page from the Kernel API Manual πŸ’–βœ¨ this one is short and sweet, and it’s giving β€œconvenience function” in the best way.

🌸 NAME 🌸

phy_set_bits_mmd β€” a convenience function for setting bits in a register on MMD. That’s the whole vibe: register on MMD, bits get set, iconic behavior, no cap πŸ’…

✨ SYNOPSIS ✨

the signature, preserved exactly because we do not play with code around here:

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

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the phy_device struct, aka the main character data structure in question 🫢
  • devad β€” the MMD containing the register you’re about to modify
  • regnum β€” the register number to modify
  • val β€” the bits to set ✨

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./include/linux/phy.h is the home base, and the related lore is all here β€” every single one, fr fr:


that’s a wrap, bestie 🫢 this page is sourced from ./include/linux, dated October 2026, and signed off with maximum sparkle πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from