genphy_c45_...t_get_status(9)
πΈ genphy_c45_oatc14_cable_test_get_status(9) πΈ
okay so bestie, welcome to the Kernel API Manual entry for this absolute mouthful of a function. no cap, she's iconic, and she's here to check on an OATC14 10Base-T1S PHY cable test. periodt. π
β¨ NAME β¨
genphy_c45_oatc14_cable_test_get_status β Get status of OATC14 10Base-T1S PHY cable test.
π SYNOPSIS π
int genphy_c45_oatc14_cable_test_get_status (struct phy_device *phydev , bool *finished );
π ARGUMENTS π
phydevβ pointer to the PHY device structurefinishedβ pointer to a boolean set true if the test is complete
π¦ DESCRIPTION π¦
okay so this function retrieves the current status of the OATC14 10Base-T1S PHY cable test. it reads the OATC14 HDD register to figure out whether the test results are valid and whether the test has finished. main character energy fr fr. π
if the test is complete, the function reports the cable test result via the ethtool cable test interface using ethnl_cable_test_result, and then clears the test control bit in the PHY register to reset the test state. slay. β¨
π RETURN π
0 on success, or a negative error code on failure (e.g. register read/write error). no cap, that error code can absolutely ruin the vibe. π
π SEE ALSO π
the kernel file in question is ./drivers/net/phy/phy-c45.c, and here's the whole function squad:
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_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_start(9)oatc14_update_sqi_capability(9)genphy_c45_oatc14_get_sqi_max(9)genphy_c45_oatc14_get_sqi(9)
xoxo, your Kernel API Manual bestie π β this page comes from source path./drivers/net/phy, datedOctober 2026, and the footer title isgenphy_c45_...t_get_status(9). byeee π«Ά
π¦ 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