ice_ptp_prep..._time_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is ice_ptp_prep_phy_time_eth56g β€” literally Prepare PHY port with initial time ✨ β€” and the page title goes by ice_ptp_prep..._time_eth56g(9) in the Kernel API Manual. bestie, it's giving "set the PHY port clock's first time value" energy πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

int ice_ptp_prep_phy_time_eth56g (struct ice_hw *hw , u32 time );

🫢 ARGUMENTS 🫢

  • hw β€” pointer to the HW struct. like, the hardware struct pointer, periodt.
  • time β€” Time to initialize the PHY port clocks to. that's the value you're handing over.

🌸 DESCRIPTION 🌸

Program the PHY port registers with a new initial time value. The port clock will be initialized once the driver issues an ICE_PTP_INIT_TIME sync command. The time value is the upper 32 bits of the PHY timer, usually in units of nominal nanoseconds.

no cap, that's the whole vibe: you're loading in the starting time, and the port clock actually kicks off when the driver sends that ICE_PTP_INIT_TIME sync command πŸ•°οΈβœ¨


✨ RETURN ✨

  • 0 β€” success. slay. πŸ’…
  • other β€” failed to write to PHY. not the vibe 😭

πŸ¦‹ SEE ALSO πŸ¦‹

the whole reference friend group, lowkey iconic:


catch you later, bestie 🫢 this one's from ./drivers/net/ethernet/intel/ice, dated October 2026, straight out of the Kernel API Manual β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from