phy_set_bits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– phy_set_bits(9) β€” Kernel API Manual, bestie edition πŸ’–

🌸 NAME 🌸

okay so phy_set_bits is literally the convenience function for setting bits in a PHY register. that's the whole assignment, no cap πŸ’…

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the phy_device struct. that's the main-character struct bestie 🫢
  • regnum β€” register number to write. yes, the actual register number, write it down ✍️
  • val β€” bits to set. the bits!!! the little guys getting set!!! πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

the whole PHY cinematic universe is right here, bestie β€” Kernel file ./include/linux/phy.h plus all these exact refs, no skipping:


πŸ’– that's the whole page, bestie β€” sourced from ./include/linux, dated October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from