ice_ptp_write_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ice_ptp_write_init β€” bestie, this one sets the PHC time to a value you hand it. That's the whole vibe ✨

This little cutie lives in the Kernel API Manual, and honestly? She's giving "small function, big responsibility" πŸŽ€


🌸 SYNOPSIS 🌸

int ice_ptp_write_init (struct ice_pf *pf , struct timespec64 *ts );

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you've got a time value, right? And you want the PHC time to be that value. That's it. That's the function πŸ’…

It sets the PHC time to the specified time provided in the timespec. No cap, that's literally her whole job πŸ”₯


✨ ARGUMENTS ✨

  • pf β€” the board private structure 🫢 like, the whole board's personal business, you know?
  • ts β€” the timespec structure that holds the new time value ⏰ this is the new time, she's holding it, she's ready

πŸ’œ SEE ALSO πŸ’œ

The kernel file this diva calls home:

  • ./drivers/net/ethernet/intel/ice/ice_ptp.c

And the whole friend group πŸ‘‘ (yes, all of them, I'm not skipping a single one, we don't do that here):


ok that's the whole page bestie, go forth and set some PHC time πŸ’…πŸ«Ά

Signed, sealed, delivered with love from ./drivers/net/ethernet/intel/ice β€” October 2026 edition πŸŽ€βœ¨ slay πŸ’–

πŸ“¦ where this page comes from