idpf_ptp_upd...ched_phctime(9)
π
idpf_ptp_update_cached_phctime β Kernel API Manual realness β¨
okay so bestie, welcome to the idpf_ptp_upd...ched_phctime(9) page π yes the name is a whole mouthful, the kernel API manual really said "let's abbreviate it and hope for the best" π anyway she's iconic, let's get into it.
πΈ NAME πΈ
idpf_ptp_update_cached_phctime β Update the cached PHC time values β°β¨
π SYNOPSIS π
int idpf_ptp_update_cached_phctime (struct idpf_adapter *adapter );
like, that's the whole signature. short king. π
π¦ ARGUMENTS π¦
adapterβ Driver specific private structure π«Ά that's the driver's own little private stash of data, no cap.
β¨ DESCRIPTION β¨
okay so what she does: this function updates the system time values that are cached inside the adapter structure and in the Rx queues π« like she's going around refreshing everybody's cached clock, very generous of her, main character energy fr.
β οΈ big one, bestie: this function must be called periodically so the cached value is never more than 2 seconds old. not two minutes, not "whenever you remember" β 2 seconds. periodt. ππ
π₯ RETURN π₯
0on success π slay-errnootherwise π (the classic kernel "something went sideways, check your errno" vibe)
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_ptp.cπ idpf_ptp_get_access(9)idpf_ptp_get_features_access(9)idpf_ptp_enable_shtime(9)idpf_ptp_read_src_clk_reg_direct(9)idpf_ptp_read_src_clk_reg_mailbox(9)idpf_ptp_read_src_clk_reg(9)idpf_ptp_get_sync_device_time_direct(9)idpf_ptp_get_sync_device_time_mailbox(9)idpf_ptp_get_sync_device_time(9)idpf_ptp_get_crosststamp(9)idpf_ptp_gettimex64(9)idpf_ptp_update_phctime_rxq_grp(9)idpf_ptp_settime64(9)idpf_ptp_adjtime_nonatomic(9)idpf_ptp_adjtime(9)idpf_ptp_adjfine(9)idpf_ptp_verify_pin(9)idpf_ptp_gpio_enable(9)idpf_ptp_tstamp_extend_32b_to_64b(9)idpf_ptp_extend_ts(9)idpf_ptp_request_ts(9)idpf_ptp_set_rx_tstamp(9)idpf_ptp_set_timestamp_mode(9)idpf_tstamp_task(9)idpf_ptp_do_aux_work(9)idpf_ptp_set_caps(9)idpf_ptp_create_clock(9)idpf_ptp_release_vport_tstamp(9)idpf_ptp_release_tstamp(9)idpf_ptp_get_txq_tstamp_capability(9)idpf_ptp_init(9)idpf_ptp_release(9)
like, that's the whole friend group right there π«π go read them too, iykyk.
mwah π that's the page! sourced from ./drivers/net/ethernet/intel/idpf, dated October 2026 β she's serving kernel API manual realness and honestly? obsessed. πβπ
π¦ 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