idpf_ptp_set_dev_clk_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 secrets
  • time β€” the new time value ⏰ a u64, 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 πŸ”₯

  • 0 on success πŸŽ‰ slay, everything worked
  • -errno otherwise πŸ’€ yeah, something went sideways and you get the usual negated errno treatment

🌈 SEE ALSO 🌈

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 serving idpf_ptp_set_dev_clk_time(9) realness πŸ’œ that's the whole manpage bestie, 10/10, no notes, periodt πŸ’…βœ¨
πŸ“¦ where this page comes from