ice_ptp_prep..._incval_e810(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_ptp_prep_phy_incval_e810(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a lil kernel-function page and it is, lowkey, very niche and very iconic of it. buckle up πŸŽ€


✨ NAME ✨

ice_ptp_prep_phy_incval_e810 β€” literally just "Prep PHY port increment value change" πŸ’« that's the whole job. that's the assignment. she's a preparer, not a finisher, and we respect that 🫢


🌸 SYNOPSIS 🌸

int ice_ptp_prep_phy_incval_e810 (struct ice_hw *hw , u64 incval );

yes the spacing is exactly like that, do not @ me, that's how it's written πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to HW struct 🧚 your hardware-facts-in-a-struct situation.
  • incval β€” The new 40bit increment value to prepare ⭐ forty. bits. not thirty-two, not sixty-four, forty ✨

πŸ’– DESCRIPTION πŸ’–

So the whole vibe here is: you're getting the PHY port ready for a brand new increment value. Not doing it β€” prepping for it. main character energy is doing the setup and letting someone else take the bow πŸ’…

The prepping happens by programming the PHY ETH_GLTSYN_SHADJ_L and ETH_GLTSYN_SHADJ_H registers πŸŽ€ those two, in that order, them's the ones.

lowkey important bestie: this function does not finish the job. the actual change is completed by issuing an ICE_PTP_INIT_INCVAL command πŸ‘‘ so if you're sitting there wondering why nothing happened yet… yeah. you gotta issue the command. the prep alone is giving "set the table but nobody's eating" 😭

🌈 SEE ALSO 🌈

the source lives in the kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c β€” go say hi πŸ“

and now, the friend group. it's a big friend group. i'm listing literally every single one because i'm not about to leave a bestie out πŸ™ˆ

and that's the whole squad, no cap πŸ”₯ if you made it to the end of that list you get a little star ⭐


πŸŽ€ cute lil sign-off: this page comes to you from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under ice_ptp_prep..._incval_e810(9) β€” yes, the header abbreviates her name with ... and honestly? mysterious. enigmatic. she ate πŸ’…βœ¨
πŸ“¦ where this page comes from