phy_configure(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_configure(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the page for phy_configure(9) and it's literally the glow-up button for your PHY ✨


🌸 NAME 🌸

phy_configure β€” changes the phy parameters πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int phy_configure (struct phy *phy , union phy_configure_opts *opts );

πŸ’– ARGUMENTS πŸ’–

  • phy β€” the phy you got back from phy_get. yes, that one. the whole point 🫢
  • opts β€” the new configuration to apply. the new fit. the new lewk πŸ‘‘

✨ DESCRIPTION ✨

So like β€” this is the function you call to actually change the PHY parameters. that's the whole vibe πŸ’…

⚠️ but listen: phy_init must have been called on the phy first. no init, no configuring. rules are rules 😭

The configuration gets applied on the current phy mode β€” and if you wanna be in a different mode, you change that with phy_set_mode first. mode first, config second, always. periodt πŸ’œ


πŸ”₯ RETURN πŸ”₯

0 if successful, a negative error code otherwise πŸ™ˆ (so like, check it. please. for me. πŸ₯Ί)


πŸ’€ SEE ALSO πŸ’€

Kernel file ./drivers/phy/phy-core.c, plus the whole friend group:


and that's the page, bestie!! 🌈 source lives at ./drivers/phy, dated October 2026 β€” go configure something iconic, mwah πŸ’‹πŸ‘‘βœ¨

πŸ“¦ where this page comes from