idpf_ptp_re..._reg_mailbox(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 when NULL is given. So if NULL shows 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:


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