idpf_ptp_set_dev_clk_time(9)
π idpf_ptp_set_dev_clk_time(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function with big "let me just set the clock real quick" energy, and honestly? iconic.
πΈ NAME πΈ
idpf_ptp_set_dev_clk_time β it sends the virtchnl set device time message ππ like it's dropping a very official text to the hardware being like "here's the time bestie, sync up"
π SYNOPSIS π
int idpf_ptp_set_dev_clk_time (struct idpf_adapter *adapter , u64 time );
π¦ ARGUMENTS π¦
adapterβ the driver specific private structure π this is the main character struct, the one holding all the driver's secretstimeβ the new time value β° au64, so it's a whole lot of time, no decimals needed
β¨ DESCRIPTION β¨
So what it does is: send the virtchnl set time message π¨ so the clock's time actually gets set. that's it, that's the whole vibe. not me expecting some huge dramatic backstory π it just sets the clock.
π₯ RETURN π₯
0on success π slay, everything worked-errnootherwise π yeah, something went sideways and you get the usual negated errno treatment
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.cποΈ idpf_ptp_get_caps(9)idpf_ptp_get_dev_clk_time(9)idpf_ptp_get_cross_time(9)idpf_ptp_adj_dev_clk_time(9)idpf_ptp_adj_dev_clk_fine(9)idpf_ptp_get_vport_tstamps_caps(9)idpf_ptp_update_tstamp_tracker(9)idpf_ptp_get_tstamp_value(9)idpf_ptp_get_tx_tstamp_async_handler(9)idpf_ptp_get_tx_tstamp(9)
like, the whole PTP friend group fr fr π«Ά go read them too, they're all in ./drivers/net/ethernet/intel/idpf and honestly they ate π
ngl this page is from October 2026, sourced from./drivers/net/ethernet/intel/idpf, and it's servingidpf_ptp_set_dev_clk_time(9)realness π that's the whole manpage bestie, 10/10, no notes, 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