genphy_c45_read_eee_lpa(9)
π genphy_c45_read_eee_lpa π
okay so bestie, welcome to the genphy_c45_read_eee_lpa(9) page β yeah that's a whole mouthful, it's from the Kernel API Manual and it's genuinely so much less scary than it looks, i promise π«Ά
β¨ NAME β¨
genphy_c45_read_eee_lpa β reads the advertised LP EEE link modes π
like, that's the whole vibe. it goes and fetches what the link partner is out here advertising in the EEE department. no cap.
πΈ SYNOPSIS πΈ
int genphy_c45_read_eee_lpa (struct phy_device *phydev , unsigned long
*lpa );
see? two little args and an int coming back at you. iconic behavior honestly β
π¦ ARGUMENTS π¦
phydevβ the targetphy_devicestruct π this is the phy you're snooping on, your main character.lpaβ the linkmode LP advertisement status π« this is where the answer lands, so likeβ¦ don't forget to actually use it bestie π
π₯ SEE ALSO π₯
the full squad, no one left behind, fr fr β all of these live in the kernel file ./drivers/net/phy/phy-c45.c:
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_write_eee_adv(9)genphy_c45_read_eee_adv(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)
ngl that's a long list and i'm obsessed with it π go read them, they're all in the same file and they all slay in their own way.
aaaand that's the page !! mwah π signed off from ./drivers/net/phy, dated October 2026, and yes this whole thing is the genphy_c45_read_eee_lpa(9) manual page you were looking for the entire time πβ¨
π¦ 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