genphy_c45_pma_can_sleep(9)
π NAME
genphy_c45_pma_can_sleep β bestie, this one literally just checks if the PMA have sleep support β¨ (like, does it support snoozing or not, that's the whole vibe check ππ€)
So real talk: this is a page out of the Kernel API Manual, and it's giving "tiny function, huge friend group" energy, because look at that SEE ALSO list. π
πΈ SYNOPSIS
bool genphy_c45_pma_can_sleep (struct phy_device *phydev );
Yep. That's it. Returns a bool, takes one pointer, no cap. π«Ά
π ARGUMENTS
phydevβ the targetstruct phy_device. This is the phy you're asking about, she's the main character here π (it's the thing you're checking for sleep support, okurrr)
π¦ SEE ALSO
Okay so this is the part where I need you to stay with me, because the whole phy-c45 friend group is tagged in this post π The kernel file is ./drivers/net/phy/phy-c45.c and these are the siblings, cousins and mutuals:
genphy_c45_baset1_able(9)genphy_c45_pma_resume(9)genphy_c45_pma_suspend(9)genphy_c45_pma_baset1_setup_master_slave(9)genphy_c45_pma_setup_forced(9)genphy_c45_an_config_aneg(9)genphy_c45_an_disable_aneg(9)genphy_c45_restart_aneg(9)genphy_c45_check_and_restart_aneg(9)genphy_c45_pma_soft_reset(9)genphy_c45_an_setup_master_slave(9)genphy_c45_read_master_slave(9)genphy_c45_aneg_done(9)genphy_c45_read_link(9)genphy_c45_read_lpa(9)genphy_c45_pma_baset1_read_master_slave(9)genphy_c45_read_pma(9)genphy_c45_read_mdix(9)genphy_c45_write_eee_adv(9)genphy_c45_read_eee_adv(9)genphy_c45_read_eee_lpa(9)genphy_c45_read_eee_cap1(9)genphy_c45_read_eee_cap2(9)genphy_c45_read_eee_abilities(9)genphy_c45_an_config_eee_aneg(9)genphy_c45_pma_baset1_read_abilities(9)genphy_c45_pma_read_ext_abilities(9)genphy_c45_pma_read_abilities(9)genphy_c45_read_status(9)genphy_c45_config_aneg(9)genphy_c45_fast_retrain(9)genphy_c45_plca_get_cfg(9)genphy_c45_plca_set_cfg(9)genphy_c45_plca_get_status(9)genphy_c45_eee_is_active(9)genphy_c45_ethtool_get_eee(9)genphy_c45_ethtool_set_eee(9)oatc14_cable_test_get_result_code(9)genphy_c45_oatc14_cable_test_get_status(9)genphy_c45_oatc14_cable_test_start(9)oatc14_update_sqi_capability(9)genphy_c45_oatc14_get_sqi_max(9)genphy_c45_oatc14_get_sqi(9)
Like I said. Friend group. Invite them all to the group chat or don't, but they're all invited π«Άπ₯
ngl bestie if you're here you're probably deep in PHY driver land already, so go read the actual source β this page is just the vibe check, the code is the truth π
k bye, this page lives at ./drivers/net/phy, stamped October 2026, and it's the genphy_c45_pma_can_sleep(9) page, so now you know π
β¨
π¦ 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