cxgb4_ptp_settime(9)
π cxgb4_ptp_settime β like, the Kernel API Manual page, bestie π
okay so first things first: this whole thing lives in the Kernel API Manual (section 9), and the star of the show is cxgb4_ptp_settime(9). she sets the current time on the hardware clock. that's the vibe. β¨
β¨ NAME β¨
cxgb4_ptp_settime β Set the current time on the hardware clock π°οΈ
πΈ SYNOPSIS πΈ
int cxgb4_ptp_settime (struct ptp_clock_info *ptp , const struct
timespec64 *ts );
like yes that's the whole signature, no cap π
π ARGUMENTS π
ptpβ the ptp clock structure. that's her. the main character π«Άtsβ atimespeccontaining the new time for the cycle counter β±οΈ
π¦ DESCRIPTION π¦
okay so what she does is: reset value to new base value instead of the kernel wall timer value. literally that. she does not care about the kernel wall timer, she's doing her own thing. iconic behavior honestly π
π₯ SEE ALSO π₯
- the kernel file, like, right here:
./drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.cπ cxgb4_ptp_is_ptp_tx(9)cxgb4_ptp_is_ptp_rx(9)cxgb4_ptp_read_hwstamp(9)cxgb4_ptprx_timestamping(9)cxgb4_ptp_adjfine(9)cxgb4_ptp_fineadjtime(9)cxgb4_ptp_adjtime(9)cxgb4_ptp_gettime(9)cxgb4_ptp_enable(9)cxgb4_ptp_init(9)cxgb4_ptp_stop(9)
bestie go read all of them fr fr, the whole friend group is there π
that's the whole page !! mwah π
sign-off time π : this one comes from the source path ./drivers/net/ethernet/chelsio... and it's dated October 2026, filed under cxgb4_ptp_settime(9). go off, october. periodt. π
π¦ 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