idpf_ptp_adj_dev_clk_fine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_ptp_adj_dev_clk_fine β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the idpf_ptp_adj_dev_clk_fine(9) page ✨ this is one of those kernel API manual moments and honestly it's giving "small function, big responsibilities." grab a lil snack πŸ“ and let's get into it.


🌸 NAME 🌸

idpf_ptp_adj_dev_clk_fine β€” the one that sends the virtchnl adj time message πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int idpf_ptp_adj_dev_clk_fine (struct idpf_adapter *adapter , u64 incval
);

like, that's the whole vibe. one function, two args, returns an int. no cap. πŸ’…


✨ ARGUMENTS ✨

  • adapter β€” the driver specific private structure 🫢 this is your little home base, the driver's own private struct, and you gotta pass it in.
  • incval β€” the source timer increment value per clock cycle ⏱️ literally the value per clock cycle that the source timer increments by. it's a u64, so it's a big girl number.

πŸ’– DESCRIPTION πŸ’–

So what does this icon actually do? It sends a virtchnl adj fine message to adjust the frequency of the clock by incval. that's it, that's the whole job πŸ”₯ remember: adjust the frequency of the clock, by incval. not the time, not the offset, the frequency. periodt.

The virtchnl part is the message it's sending, and it's specifically the adj fine one β€” the fine-grained one πŸŽ€


🌈 RETURN 🌈

  • 0 on success πŸŽ‰ slay.
  • -errno otherwise πŸ’€ so any negative errno value means something went sideways and you should go read the error. not me finding out the hard way πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the little friend group, all the PTP besties 🧚 and yes every single one is listed, i'm not skipping anyone:


πŸ’œ lowkey important reminder bestie: incval adjusts the clock's frequency, and the return is 0 on success or -errno otherwise. that's the whole contract, no guessing, iykyk.

and that's the page!! πŸŽ€ this lil writeup lives under ./drivers/net/ethernet/intel/idpf, and the version/date stamp on the original was October 2026, with the header/footer naming idpf_ptp_adj_dev_clk_fine(9) β€” so yeah, October 2026 idpf hive, we salute you 🫢✨ go adjust some clocks, you absolute main character. πŸ’…πŸŒŸ

πŸ“¦ where this page comes from