idpf_ptp_rea...k_reg_direct(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's NULL? will be ignored when NULL is 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 πŸ’…:


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 under idpf_ptp_rea...k_reg_direct(9) in the header. iykyk πŸ’œπŸŽ€
πŸ“¦ where this page comes from