idpf_ptp_get_dev_clk_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– idpf_ptp_get_dev_clk_time(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, we're reading kernel docs together, this is our bonding era 🫢


🌸 NAME 🌸

idpf_ptp_get_dev_clk_time β€” the lil function that sends a virtchnl get device clk time message πŸ’…


✨ SYNOPSIS ✨

int idpf_ptp_get_dev_clk_time (struct idpf_adapter *adapter , struct
idpf_ptp_dev_timers *dev_clk_time );

πŸŽ€ ARGUMENTS πŸŽ€

  • adapter β€” the driver-specific private structure, aka the driver's own lil bag of secrets πŸ‘œ
  • dev_clk_time β€” pointer to the device clock structure, and that's where the value gets set β€” so yes, she's an out-param, main character energy fr πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this sends a virtchnl get time message to get the time of the clock ⏰✨ That's the whole vibe check β€” ask the device what time its clock thinks it is.


πŸ’€ RETURN πŸ’€

0 on success, -errno otherwise β€” no cap, that's it 😭


🌈 SEE ALSO 🌈

The kernel file lives at ./drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c β€” go read her, she's iconic πŸ‘‘

and the whole friend group:


ngl, if you got here from idpf_ptp_set_dev_clk_time(9), hi bestie, you're in the right place πŸ’œ

okay that's the page!! this one's brought to you by the source directory ./drivers/net/ethernet/intel/idpf, dated October 2026, and yes she's still idpf_ptp_get_dev_clk_time(9) all the way down πŸŽ€ slay, bye πŸ’–πŸ§šπŸŒΈ

πŸ“¦ where this page comes from