e1000e_phc_settime(9)
π e1000e_phc_settime(9) β¨
okay bestie, welcome to the Kernel API Manual π β yes, the actual manual page, and yes, we're gonna get through it together. this one's from the kernel's own little corner of the docs, and it's lowkey adorable how small it is. let's go π¦
πΈ NAME πΈ
e1000e_phc_settime β set the current time on the hardware clock β°π
like, you're literally telling the hardware clock what time it is. main character energy fr fr π
β¨ SYNOPSIS β¨
int e1000e_phc_settime (struct ptp_clock_info *ptp , const struct
timespec64 *ts );
no cap, that's the whole signature. two args, one int coming back atcha π«Ά
π ARGUMENTS π
ptpβ the ptp clock structure π this is your clock's whole identity card, okay? everything it needs to know about itself lives in here.tsβ atimespecholding the new time for the cycle counter β this is the actual time you're setting, packaged up all cute and ready to go.
π₯ DESCRIPTION π₯
so what does it actually do? it resets the timecounter to use a new base value instead of the kernel wall timer value πβ¨
that's the entire vibe. new base value, not the kernel wall timer value. slay. periodt π
π SEE ALSO π
the whole friend group π take notes, iykyk:
- Kernel file
./drivers/net/ethernet/intel/e1000e/ptp.cπ e1000e_phc_adjfine(9)e1000e_phc_adjtime(9)e1000e_phc_get_syncdevicetime(9)e1000e_phc_getcrosststamp(9)e1000e_phc_gettimex(9)e1000e_phc_enable(9)e1000e_ptp_init(9)e1000e_ptp_remove(9)
literally the entire ptp family reunion, obsessed π§π«
ok that's the page!! and before you go β huge shoutout to the source, ./drivers/net/ethernet/intel/e..., dated October 2026 β that's where this beauty lives, don't lose it ππ
now go set that hardware clock, bestie. you got this π β¨
π¦ 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