idpf_ptp_adjfine(9)
π idpf_ptp_adjfine π
okay so bestie, welcome to the Kernel API Manual β yes it's a kernel man page, yes it's about clocks, no you cannot leave yet, this one's actually cute β¨
πΈ NAME πΈ
idpf_ptp_adjfine β adjusting the clock increment rate, aka making the clock speed up or slow down just a lil bit π
β¨ SYNOPSIS β¨
int idpf_ptp_adjfine (struct ptp_clock_info *info , long scaled_ppm );
π¦ ARGUMENTS π¦
infoβ the driver's PTP info structure π like, this is the whole vibe of the PTP setup, hand it overscaled_ppmβ parts per million with a 16-bit fractional field π so it's ppm but fancy, it's got decimals, it's giving precision
π« DESCRIPTION π«
So basically: this adjusts the frequency of the clock by the indicated scaled ppm from the base frequency. that's it. that's the whole thing π«Ά nudge the clock's frequency up or down relative to where it started, and scaled_ppm tells it how much. lowkey iconic π₯
π RETURN π
0on success π slay-errnootherwise π so like, a negative errno, you know how kernel functions do
π§ SEE ALSO π§
first up, the actual source file, in case you wanna read the real thing:
Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.c
and then, the whole friend group π β the entire idpf PTP fam, no cap:
idpf_ptp_get_access(9)idpf_ptp_get_features_access(9)idpf_ptp_enable_shtime(9)idpf_ptp_read_src_clk_reg_direct(9)idpf_ptp_read_src_clk_reg_mailbox(9)idpf_ptp_read_src_clk_reg(9)idpf_ptp_get_sync_device_time_direct(9)idpf_ptp_get_sync_device_time_mailbox(9)idpf_ptp_get_sync_device_time(9)idpf_ptp_get_crosststamp(9)idpf_ptp_gettimex64(9)idpf_ptp_update_phctime_rxq_grp(9)idpf_ptp_update_cached_phctime(9)idpf_ptp_settime64(9)idpf_ptp_adjtime_nonatomic(9)idpf_ptp_adjtime(9)idpf_ptp_verify_pin(9)idpf_ptp_gpio_enable(9)idpf_ptp_tstamp_extend_32b_to_64b(9)idpf_ptp_extend_ts(9)idpf_ptp_request_ts(9)idpf_ptp_set_rx_tstamp(9)idpf_ptp_set_timestamp_mode(9)idpf_tstamp_task(9)idpf_ptp_do_aux_work(9)idpf_ptp_set_caps(9)idpf_ptp_create_clock(9)idpf_ptp_release_vport_tstamp(9)idpf_ptp_release_tstamp(9)idpf_ptp_get_txq_tstamp_capability(9)idpf_ptp_init(9)idpf_ptp_release(9)
okay that's the whole page bestie, go adjust some frequencies, drink water, and remember: scaled_ppm has a 16-bit fractional field and that's on periodt π
mwah π this one's from ./drivers/net/ethernet/intel/idpf, dated October 2026 β see u in the next man page, love u, 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