__phy_hwtstamp_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __phy_hwtstamp_get πŸ’…βœ¨

okay bestie, so this is the kernel API manual page for __phy_hwtstamp_get (section 9 of the manual, iykyk) β€” and it is literally the function you call when you want to know what hardware timestamping setup your PHY is currently rocking. no cap. πŸŽ€


🌸 NAME 🌸

__phy_hwtstamp_get β€” Get hardware timestamping configuration from PHY πŸ’–

like... it gets the hwtstamp config. from the PHY. that's the whole gig. iconic behavior fr fr.


✨ SYNOPSIS ✨

int __phy_hwtstamp_get (struct phy_device *phydev , struct
kernel_hwtstamp_config *config );

she takes two pointers and returns an int, periodt. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the PHY device structure. yes, the actual PHY. the physical-layer bestie in question. πŸ’…
  • config β€” structure holding the timestamping configuration. this is where the tea gets stored. πŸ“

πŸ’œ DESCRIPTION πŸ’œ

Query the PHY device for its current hardware timestamping configuration. πŸ•΅οΈβ€β™€οΈβœ¨

that's it, that's the vibe β€” you ask the PHY "hey bestie what's your hwtstamp situation rn" and it tells you, via config. very demure, very read-only. πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/phy/phy.c, plus this whole group-chat of functions β€” every single one, no skips, no cap: πŸ‘‘

bestie the SEE ALSO list is giving entire friend group. read the whole thing, don't ghost any of them. πŸ’€πŸ’–

🌈✨ okay that's the page!! source lives under ./drivers/net/phy, dated October 2026, and this little kernel-doc moment was served to you with love. mwah πŸ’‹πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from