ice_ptp_adjtime_nonatomic(9)
π ice_ptp_adjtime_nonatomic β do a non-atomic clock adjustment
okay so this is from the Kernel API Manual, section 9 (ice_ptp_adjtime_nonatomic(9)), and bestie it does exactly what it says on the tin: a clock adjustment that is not atomic. no cap. it's giving "just nudge the clock, it'll be fine" energy π°οΈβ¨
πΈ SYNOPSIS πΈ
int ice_ptp_adjtime_nonatomic (struct ptp_clock_info *info , s64 delta
);
like yes that's the whole signature, she's a simple girlie π returns an int, takes two things, we love a low-maintenance icon
π ARGUMENTS π
infoβ the driver's PTP info structure, aka the little ID card for the PTP clock so this function knows which clock it's messing with πͺͺdeltaβ offset in nanoseconds to adjust the time by, so how far we're shifting the clock, in ns, fr fr β±οΈ
π¦ SEE ALSO π¦
the kernel file lives right here, bestie:
- Kernel file
./drivers/net/ethernet/intel/ice/ice_ptp.c
and now the whole friend group, everyone's invited to the group chat π (all of these are section 9 pages):
π the pin / interrupt girlies
ice_ptp_find_pin_idx(9)ice_ptp_cfg_tx_interrupt(9)ice_set_rx_tstamp(9)ice_ptp_disable_timestamp_mode(9)ice_ptp_restore_timestamp_mode(9)
π§ clock register & timestamp extending
β tx tracker crew (there's a LOT of them, they're thorough)
ice_ptp_is_tx_tracker_up(9)ice_ptp_req_tx_single_tstamp(9)ice_ptp_complete_tx_single_tstamp(9)ice_ptp_process_tx_tstamp(9)ice_ptp_alloc_tx_tracker(9)ice_ptp_flush_tx_tracker(9)ice_ptp_mark_tx_tracker_stale(9)ice_ptp_flush_all_tx_tracker(9)ice_ptp_release_tx_tracker(9)ice_ptp_init_tx_e82x(9)ice_ptp_init_tx(9)
π cached phctime & writing registers
ice_ptp_update_cached_phctime(9)ice_ptp_reset_cached_phctime(9)ice_ptp_write_init(9)ice_ptp_write_adj(9)ice_base_incval(9)ice_ptp_check_tx_fifo(9)ice_ptp_wait_for_offsets(9)
π«Ά phy & link stuff
ice_ptp_port_phy_stop(9)ice_ptp_port_phy_restart(9)ice_ptp_link_change(9)ice_ptp_cfg_phy_interrupt(9)ice_ptp_reset_phy_timestamping(9)ice_ptp_restart_all_phy(9)ice_ptp_adjfine(9)
π₯ extts / perout squad
ice_ptp_extts_event(9)ice_ptp_cfg_extts(9)ice_ptp_disable_all_extts(9)ice_ptp_enable_all_extts(9)ice_ptp_write_perout(9)ice_ptp_cfg_perout(9)ice_ptp_disable_all_perout(9)ice_ptp_enable_all_perout(9)ice_verify_pin(9)ice_ptp_gpio_enable(9)
π clock get/set/adj trio
π crosststamp cuties
struct ice_crosststamp_cfg(9)struct ice_crosststamp_ctx(9)ice_capture_crosststamp(9)ice_ptp_getcrosststamp(9)
π―οΈ hwtstamp config
ice_ptp_hwtstamp_get(9)ice_ptp_set_timestamp_mode(9)ice_ptp_hwtstamp_set(9)ice_ptp_get_rx_hwts(9)
π pin config crew
π the funcs setters
ice_ptp_set_funcs_e82x(9)ice_ptp_set_funcs_e810(9)ice_ptp_set_funcs_e830(9)ice_ptp_set_caps(9)ice_ptp_create_clock(9)
π request ts & irq
πΈ reset & rebuild girlies
ice_ptp_prepare_rebuild_sec(9)ice_ptp_prepare_for_reset(9)ice_ptp_rebuild_owner(9)ice_ptp_rebuild(9)
π§ init & release (the whole lifecycle, we stan)
ice_ptp_clock_index(9)ice_ptp_init_owner(9)ice_ptp_init_work(9)ice_ptp_init_port(9)ice_ptp_init_tx_interrupt_mode(9)ice_ptp_init(9)ice_ptp_release(9)
bestie note: "non-atomic" is literally in the name, so don't come for her when she isn't atomic. that's the whole point of the girl π
and that's the page! π«Ά this one's from the kernel source living at ./drivers/net/ethernet/intel/ice, dated October 2026 β mwah, go read the other 80 pages, ily, 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