phy_power_off(9)
π 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 byphy_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:
phy_create_lookup(9)phy_remove_lookup(9)phy_init(9)phy_exit(9)phy_power_on(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)
β signed off from the ./drivers/phy source corner of the Kernel API Manual, October 2026 edition. bye bestie π«Άπ
π¦ 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