genphy_c45_write_eee_adv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 target phy_device struct πŸ’– 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