__phy_hwtstamp_get(9)
β¨ __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: π
phy_print_status(9)phy_get_rate_matching(9)phy_config_interrupt(9)phy_restart_aneg(9)phy_aneg_done(9)phy_supported_speeds(9)phy_check_valid(9)phy_sanitize_settings(9)phy_mii_ioctl(9)phy_do_ioctl(9)phy_do_ioctl_running(9)__phy_hwtstamp_set(9)phy_queue_state_machine(9)phy_trigger_machine(9)phy_ethtool_get_strings(9)phy_ethtool_get_sset_count(9)phy_ethtool_get_stats(9)__phy_ethtool_get_phy_stats(9)__phy_ethtool_get_link_ext_stats(9)phy_ethtool_get_plca_cfg(9)plca_check_valid(9)phy_ethtool_set_plca_cfg(9)phy_ethtool_get_plca_status(9)phy_start_cable_test(9)phy_start_cable_test_tdr(9)phy_check_link_status(9)phy_inband_caps(9)phy_config_inband(9)_phy_start_aneg(9)phy_start_aneg(9)phy_speed_down(9)phy_speed_up(9)phy_start_machine(9)phy_stop_machine(9)phy_error(9)phy_write_barrier(9)phy_disable_interrupts(9)phy_interrupt(9)phy_enable_interrupts(9)phy_update_stats(9)phy_request_interrupt(9)phy_free_interrupt(9)phy_get_next_update_time(9)phy_state_machine(9)phy_stop(9)phy_start(9)phy_mac_interrupt(9)phy_loopback(9)phy_eee_tx_clock_stop_capable(9)phy_eee_rx_clock_stop(9)phy_init_eee(9)phy_get_eee_err(9)phy_ethtool_get_eee(9)phy_ethtool_set_eee_noneg(9)phy_ethtool_set_eee(9)phy_ethtool_set_wol(9)phy_ethtool_get_wol(9)phy_ethtool_nway_reset(9)
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
- 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