phy_inband_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is phy_inband_caps(9) β€” a page from the Kernel API Manual, and we’re SO glad you’re here πŸ’…βœ¨

πŸ’– NAME πŸ’–

phy_inband_caps β€” query which in-band signalling modes are supported

✨ SYNOPSIS ✨

unsigned int phy_inband_caps (struct phy_device *phydev ,
phy_interface_t interface );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” a pointer to a struct phy_device
  • interface β€” the interface mode for the PHY

πŸ¦‹ DESCRIPTION πŸ¦‹

So this one is doing the in-band vibe check. It returns zero if it is unknown what in-band signalling is supported by the PHY β€” for example, because the PHY driver doesn’t implement the method. No data, no cap. 😭

Otherwise, it returns a bit mask of the LINK_INBAND_* values from enum link_inband_signalling to describe which inband modes are supported by the PHY for this interface mode. Bit mask reveal, iconic. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/phy/phy.c β€” and honestly the whole PHY bestie group chat is here:


source/version: ./drivers/net/phy Β· date: October 2026 β€” bye bestie, go query those in-band caps πŸ’–πŸ¦‹

πŸ“¦ where this page comes from