idpf_ptp_set_timestamp_mode(9)
π idpf_ptp_set_timestamp_mode(9) β like, the Kernel API Manual page, bestie β¨
Okay so picture this: you're deep in the idpf driver, and somebody wants a specific timestamp mode. This little function is the one that actually sets the driver up for whatever timestamp mode got requested π That's the whole vibe.
πΈ NAME πΈ
idpf_ptp_set_timestamp_mode β sets up the driver for the requested timestamp mode, no cap π«Ά
β¨ SYNOPSIS β¨
int idpf_ptp_set_timestamp_mode (struct idpf_vport *vport , struct
kernel_hwtstamp_config *config );
π¦ ARGUMENTS π¦
vportβ the virtual port structure π like, this is the vport we're doing all this for.configβ the hwtstamp settings that were requested or saved β¨ (yes, either one β it says "requested or saved", and I'm not about to start guessing which one you're holding π).
π RETURN π
0 on success β iconic, we love a clean zero π
Otherwise it's -errno, so, y'know... not slaying π
π₯ SEE ALSO π₯
The kernel file this lives in, fr fr:
./drivers/net/ethernet/intel/idpf/idpf_ptp.c
And the whole friend group of related functions β say hi to all of them π:
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_update_cached_phctime(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_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)
Okay that's the whole page, bestie β mwah π This one's from ./drivers/net/ethernet/intel/idpf, dated October 2026, and it's idpf_ptp_set_timestamp_mode(9) signing off. Go set that timestamp mode, you gorgeous nerd π§ββοΈβ
π¦ 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