phy_get_next_update_time(9)
π phy_get_next_update_time β the Kernel API Manual page bestie edition β¨
Okay so welcome to the Kernel API Manual entry for phy_get_next_update_time(9), and honestly? This one is short and sweet and we're gonna slay it together. π
πΈ NAME πΈ
phy_get_next_update_time β it literally determines the next PHY update time. That's the whole vibe. Periodt. π
β¨ SYNOPSIS β¨
unsigned int phy_get_next_update_time (struct phy_device *phydev);
Yeah that's it. One function, one argument, no drama. π¦
π«Ά ARGUMENTS π«Ά
phydevβ pointer to thestruct phy_devicestructure. That's the phy_device we're working with, bestie, she's the main character here π
π DESCRIPTION π
So what this function does: it queries the PHY driver to get the time for the next polling event. That's it, that's the job. π
And here's the cute part β if the driver does not implement the callback? No crisis, no panic, no tears π. A default value is used instead. Built-in backup plan, we love to see it. π
π RETURN π
It returns the time for the next polling event in jiffies β±οΈ β that's the unit, don't forget it, iykyk.
π¦ SEE ALSO π¦
Bestie we are about to go on a journey β the whole PHY friend group is here. So many icons in one place, it's giving reunion tour π«Ά. Also hi, the kernel file is ./drivers/net/phy/phy.c if you wanna go read the source, which, honestly, relatable:
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_get(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_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)
And that's the whole page, bestie β go forth and poll responsibly πβ¨
This lil masterpiece lives in ./drivers/net/phy and it's dated October 2026 β so like, future-coded of it. Mwah, bye! ππ
π¦
π¦ 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