phy_power_on(9)
π NAME π
phy_power_on β bestie, this is the one that actually turns the phy on and gets it into proper operation mode β¨ like it's not just existing anymore, it's thriving
πΈ SYNOPSIS πΈ
int phy_power_on (struct phy *phy );
π ARGUMENTS π
phyβ the phy you got back fromphy_get, no substitutions, no randoms off the street π«Ά
π¦ DESCRIPTION π¦
okay so listen π this one must be called after phy_init β like, init first, power on second, that's the order, that's the vibe check, don't come at it backwards or it's giving chaos π
β RETURN β
0if it went off without a hitch β slay π- a negative error code otherwise β not slay, but at least it's honest π
π₯ SEE ALSO π₯
Kernel file ./drivers/phy/phy-core.c β the whole friend group lives here, go say hi π
phy_create_lookup(9)phy_remove_lookup(9)phy_init(9)phy_exit(9)phy_power_off(9)phy_calibrate(9)phy_notify_connect(9)phy_notify_disconnect(9)phy_notify_state(9)phy_configure(9)phy_validate(9)_of_phy_get(9)of_phy_get(9)of_phy_put(9)phy_put(9)devm_phy_put(9)of_phy_simple_xlate(9)phy_get(9)devm_phy_get(9)devm_phy_optional_get(9)devm_of_phy_get(9)devm_of_phy_optional_get(9)devm_of_phy_get_by_index(9)phy_create(9)devm_phy_create(9)phy_destroy(9)devm_phy_destroy(9)__of_phy_provider_register(9)__devm_of_phy_provider_register(9)of_phy_provider_unregister(9)devm_of_phy_provider_unregister(9)phy_release(9)
ngl that's a lot of siblings but they're all iconic in their own way π
and that's the whole page bestie, mwah π this came from the Kernel API Manual, lives under ./drivers/phy, and it's dated October 2026 β phy_power_on(9) out, periodt ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms