genphy_c45_plca_get_status(9)
π genphy_c45_plca_get_status β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ this one's a function page, it lives in the kernel's genphy C45 fam, and no cap it's actually kind of a vibe. let's get into it π«Ά
πΈ NAME πΈ
genphy_c45_plca_get_status β literally just get PLCA status from standard registers π
that's the whole job, she's a getter, she gets.
π¦ SYNOPSIS π¦
int genphy_c45_plca_get_status (struct phy_device *phydev , struct
phy_plca_status *plca_st );
so she takes two args and hands you back an int, periodt π
π ARGUMENTS π
phydevβ the targetphy_devicestruct, aka the PHY you're clocking in at π§ this is your main character.plca_stβ the output structure where the PLCA status gets stored πΈ like, she writes into this, that's the whole point.
π₯ DESCRIPTION π₯
okay so here's the tea β β if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, then this function is the one you call to retrieve the current PLCA status information from the standard registers in MMD 31 β¨
that's the whole bit. no extra lore, she just reads MMD 31 and gives you the status. the way that's so clean of her honestly π
and yeah β that "if the PHY complies" is doing real work, bestie. if your PHY isn't down with the Open Alliance TC14 10BASE-T1S PLCA Management Registers spec, this isn't the function for you π
β SEE ALSO β
the whole friend group showed up for this one, we love a supportive squad π β kernel file ./drivers/net/phy/phy-c45.c, plus:
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_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_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, that's the whole group chat, everyone's here ππ
okay that's the page bestie, go forth and read your MMD 31 status β¨
and yeah, source = ./drivers/net/phy, dated October 2026 β that's the sign-off, mwah π π no cap, see you in the next manpage π¦
π¦ 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