idpf_ptp_re..._reg_mailbox(9)
π NAME π
okay so bestie, this page comes from the Kernel API Manual, and itβs about idpf_ptp_read_src_clk_reg_mailbox β Read the main timer value through mailbox. The header is all truncated like idpf_ptp_re..._reg_mailbox(9) (the middle is literally hiding), but the function name is the full one. iconic.
β¨ SYNOPSIS β¨
int idpf_ptp_read_src_clk_reg_mailbox (struct idpf_adapter *adapter ,
struct ptp_system_timestamp *sts , u64 *src_clk );
π ARGUMENTS π
adapterβ driver specific private structure. Itβs the driverβs own private little structure, lowkey essential to the whole vibe.stsβ optional parameter for holding a pair of system timestamps from the system clock. Will be ignored whenNULLis given. So ifNULLshows up, it gets ignored β not me being optional and unbothered.src_clkβ returned main timer value in nanoseconds unit. This is where the main timer value comes back, in nanoseconds, periodt.
π¦ RETURN π¦
0 on success, -errno otherwise. Zero is the success slay; -errno is the error-code plot twist.
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/intel/idpf/idpf_ptp.c
The whole friend group, no skips:
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(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_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)
xoxo, your idpf_ptp_re..._reg_mailbox(9) page π β shipped from the ./drivers/net/ethernet/intel/idpf source/version, dated October 2026. mwah π
π¦ 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