device_get_phy_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… device_get_phy_mode(9) β€” Kernel API Manual

okay so bestie, this is the Kernel API Manual page for device_get_phy_mode(9), and it's short but iconic. Let's get into it. 🫢

🌸 NAME 🌸

device_get_phy_mode β€” Get phy mode for given device

✨ SYNOPSIS ✨

int device_get_phy_mode (struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” pointer to the given device

πŸ¦‹ DESCRIPTION πŸ¦‹

The function gets the phy interface string from the property 'phy-mode', or it's the error case. That's literally the whole vibe. No cap. πŸ’…

πŸ’– SEE ALSO πŸ’–

Kernel file: ./drivers/base/property.c.

The whole squad of references, bestie:


mwah πŸ’‹ β€” source/version ./drivers/base, date October 2026, and this page is device_get_phy_mode(9). byeee 🫢

πŸ“¦ where this page comes from