idpf_ptp_get_dev_clk_time(9)
π 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:
idpf_ptp_get_caps(9)idpf_ptp_get_cross_time(9)idpf_ptp_set_dev_clk_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)
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
- 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