phy_modify_paged(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_modify_paged(9) β€” a Kernel API Manual moment

ok so bestie, welcome to the phy_modify_paged page from the Kernel API Manual ✨ this one is short but she's important, so pay attention 🫢


🌸 NAME 🌸

phy_modify_paged β€” literally the convenience function for modifying a paged register. that's it, that's the vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int phy_modify_paged (struct phy_device *phydev , int page , u32 regnum
, u16 mask , u16 set );

look at her go 😭 five args, one int coming back, iconic behavior only πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” a pointer to a struct phy_device. she's your phy bestie, you gotta hand her over πŸ’…
  • page β€” the page for the phy. yes, that page 🌈
  • regnum β€” the register number, iykyk πŸ”₯
  • mask β€” bit mask of the bits to clear. these ones are getting ✨removed✨
  • set β€” bit mask of the bits to set. these ones are getting added to the group chat πŸ’œ

⭐ DESCRIPTION ⭐

Same rules as for phy_read and phy_write. no cap, that's the whole description, she's lowkey mysterious like that πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/phy/phy-core.c β€” and honestly the whole friend group shows up here, so let's do roll call 🎀:

like, that's a whole squad and every single one of them made the list πŸ’€πŸ’–


and that's the page!! 🧚 this little cutie lives in ./drivers/net/phy, dated October 2026, brought to you by the Kernel API Manual itself β€” stay slay, go read your registers, mwah πŸ“πŸ’œ

πŸ“¦ where this page comes from