idpf_ptp_adjfine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 over
  • scaled_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 πŸ‘‘

  • 0 on success πŸŽ‰ slay
  • -errno otherwise 😭 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:


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