genphy_c45_o...e_test_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME

okay so welcome to the genphy_c45_o...e_test_start(9) page from the Kernel API Manual, bestie. The function is genphy_c45_oatc14_cable_test_start β€” and it literally starts a cable test on an OATC14 10Base-T1S PHY. main character energy for cable diagnostics, no cap. πŸ’…

✨ SYNOPSIS

the signature is giving exactly this:

int genphy_c45_oatc14_cable_test_start (struct phy_device *phydev );

🫢 ARGUMENTS

  • phydev β€” a pointer to the PHY device structure, aka the thing you're poking. 🫢

πŸ’… DESCRIPTION

okay so here's the tea: this function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. First it reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP. no HDD, no cable-test party 😭

For PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test. slay ✨

πŸŽ€ RETURN

  • 0 on success β€” we love a zero βœ…
  • -EOPNOTSUPP if the PHY does not support HDD capability β€” rude but fair πŸ’€
  • A negative error code on I/O or register access failures β€” yeah, those can happen πŸ™ˆ

πŸ¦‹ SEE ALSO

Kernel file: ./drivers/net/phy/phy-c45.c

the whole SEE ALSO squad, iykyk:


okay that's the page, bestie! πŸ’– The footer source/version is ./drivers/net/phy, dated October 2026, and the footer title is genphy_c45_o...e_test_start(9). mwah, go be iconic. πŸ’…βœ¨

πŸ“¦ where this page comes from