ice_ptp_settime64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_ptp_settime64(9) β€” like, the whole entire manual, bestie

okay so this is a page from the Kernel API Manual, section 9, and it's literally all about ice_ptp_settime64. yes the name is a mouthful, no we are not changing it, it's iconic. πŸ•°οΈβœ¨


πŸŽ€ NAME πŸŽ€

ice_ptp_settime64 β€” set the time of the clock, fr fr. that's it. that's the whole job. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_ptp_settime64 (struct ptp_clock_info *info , const struct
timespec64 *ts );

like, it returns an int, takes your info and your ts, and does the thing. slay.


🌸 ARGUMENTS 🌸

  • info β€” the driver's PTP info structure. this is the main character of the argument list, it's giving "i know things about this clock" energy. πŸ‘‘
  • ts β€” a timespec64 structure that holds the new time value. this is the actual time you wanna set, bestie. πŸŽ€

✨ DESCRIPTION ✨

okay so what does it DO. it sets the device clock to the user input value. literally that simple, no cap. πŸ•°οΈ

and the cute lil detail: the conversion from timespec to ns happens in the write function β€” so like, don't stress about doing the math yourself here, it's handled downstream. πŸ˜ŒπŸ’…


πŸ”₯ SEE ALSO πŸ”₯

buckle up bestie, this list is LONG and honestly kinda ate. all these live in the kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c:

like… that's the whole friend group right there. iykyk. πŸ«ΆπŸ’œ


🌈 SIGNOFF 🌈

and that's the page!! source lives at ./drivers/net/ethernet/intel/ice, dated October 2026, and honestly? she's a star. go set some clocks bestie πŸ’…βœ¨πŸ¦‹πŸ“

πŸ“¦ where this page comes from