cavium_ptp_settime(9)
π cavium_ptp_settime(9) π
okay so real talk, bestie β you're reading a page out of the Kernel API Manual, and it's all about cavium_ptp_settime. she's a little function with one job and she does it. let's get into it β¨
πΈ NAME πΈ
cavium_ptp_settime β Set hardware clock time. Reset adjustment π°οΈβ¨
like, she sets the hardware clock and resets the adjustment. two things. one function. main character energy fr fr π
π SYNOPSIS π
int cavium_ptp_settime (struct ptp_clock_info *ptp_info , const struct timespec64 *ts );
look at her go π«Ά returns an int, takes two pointers, zero drama.
π¦ ARGUMENTS π¦
ptp_infoβ PTP clock info π this is the clock's little info card, she needs it to know who she istsβ timespec β±οΈ the actual time value you're handing over, no cap
ngl both of these are pointers and neither of them is optional in spirit, so don't be out here passing nonsense π
β SEE ALSO β
ok so if you wanna go deeper (and you should, iykyk), the kernel file lives right here:
./drivers/net/ethernet/cavium/common/cavium_ptp.c
and these are her besties, her group chat, her ride-or-dies π:
go read all of them, you'll be obsessed π
~ cute little sign-off ~ π§
this iconic lil page comes from ./drivers/net/ethernet/cavium/... and it's dated October 2026, and yeah β it's cavium_ptp_settime(9) all the way down. slay, bye bestie π
ππ
π¦ 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