idpf_ptp_rea...k_reg_direct(9)
π idpf_ptp_rea...k_reg_direct β Kernel API Manual β¨
okay so bestie, welcome to the manual page for idpf_ptp_rea...k_reg_direct(9) β yes the name is a lil truncated in the header, it's giving "ran out of room in the title bar" energy, but we move. This is Kernel API Manual territory and we're about to read a timer register directly. slay.
π NAME π
idpf_ptp_read_src_clk_reg_direct β literally just reads the main timer value, straight up, no detours. Read directly the main timer value. periodt.
β¨ SYNOPSIS β¨
u64 idpf_ptp_read_src_clk_reg_direct (struct idpf_adapter *adapter ,
struct ptp_system_timestamp *sts );
so clean, so iconic.
π¦ ARGUMENTS π¦
adapterβ the driver specific private structure π«Ά like it's the driver's own little diary of private things, we do not look inside, we just pass it along.stsβ optional parameter for holding a pair of system timestamps from the system clock. and when it'sNULL? will be ignored whenNULLis given. no notes, no drama, we simply don't acknowledge it π.
π₯ RETURN π₯
the device clock time. that's it. that's the whole vibe. u64 of pure clock energy π
π SEE ALSO π
first up, the source file itself, no cap:
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_ptp.c
and now the full bestie lineup, every single one, in order, because we do not skip entries in this house π :
idpf_ptp_get_access(9)idpf_ptp_get_features_access(9)idpf_ptp_enable_shtime(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_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)
and that's the page!! tysm for reading, ily, go read a clock register directly sometime πΈ
cute sign-off time: this lil masterpiece lives in./drivers/net/ethernet/intel/idpf, dated October 2026, and yes it's still filed underidpf_ptp_rea...k_reg_direct(9)in the header. iykyk ππ
π¦ 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