genphy_c45_write_eee_adv(9)
β¨ genphy_c45_write_eee_adv(9) β¨
okay so bestie, this one's from the Kernel API Manual and it's basically a little function that writes your advertised EEE link modes π EEE, for the uninitiated, is Energy-Efficient Ethernet β and this bad boy is the one doing the writing. she's a setter, she's a queen, she takes two arguments and she's int. periodt π
πΈ NAME πΈ
genphy_c45_write_eee_adv β write advertised EEE link modes π¦
lowkey the whole personality right there: she writes the advertised EEE link modes. that's the job. that's the vibe.
β SYNOPSIS β
int genphy_c45_write_eee_adv (struct phy_device *phydev , unsigned long
*adv );
that's it. that's the whole signature. int in, int out, two args in the middle π«Ά
π ARGUMENTS π
phydevβ literally the targetphy_devicestruct π this is the phy you're messing with, bestie, so know which one you're holding.advβ the linkmode advertisement settings β¨ this pointer is the whole point of the call β the advertisement settings go here.
π₯ SEE ALSO π₯
the friend group π and it's a big friend group, so buckle up:
genphy_c45_baset1_able(9), genphy_c45_pma_can_sleep(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_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)
oh and btw, the kernel file she lives in is ./drivers/net/phy/phy-c45.c β that's the address, iykyk π
ngl bestie, this one's a short page. but she's iconic. go read her siblings if you want the full lore π
and that's the whole thing! no cap, that's genuinely all of it π this page dropped October 2026 and she comes straight from ./drivers/net/phy β mwah, love that for her ππ§π
π¦ 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