phy_power_off(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_power_off πŸ’…

okay so bestie, this is phy_power_off(9), and yes, we are in the Kernel API Manual era now β€” lowkey iconic, highkey useful. Let's get into it ✨


✨ NAME ✨

phy_power_off β€” disable the phy. That's the assignment, no cap. πŸ’…

🌸 SYNOPSIS 🌸

int phy_power_off (struct phy *phy );

πŸŽ€ ARGUMENTS πŸŽ€

  • phy β€” the phy returned by phy_get 🫢. Like, the exact phy bestie, not a random one.

πŸ¦‹ DESCRIPTION πŸ¦‹

Must be called before phy_exit. That's the rule β€” it's giving required ordering, and we do not skip steps in this house 😀✨

πŸ’– RETURN πŸ’–

0 if successful, a negative error code otherwise. Slay when it's 0; sad little negative code when it's not πŸ˜­πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./drivers/phy/phy-core.c

the whole squad of related icons, fr fr:


β€” signed off from the ./drivers/phy source corner of the Kernel API Manual, October 2026 edition. bye bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from