ice_write_q...p_reg_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_write_quad_ptp_reg_eth56g β€” like, the PHY quad register writer ✨

okay bestie, buckle up β€” this is a page from the Kernel API Manual, section 9, and it's all about one very specific little function: ice_write_quad_ptp_reg_eth56g. Say that name three times fast, I dare you. 🫢


🌸 NAME 🌸

ice_write_quad_ptp_reg_eth56g β€” writes a PHY quad register. that's it, that's the whole vibe. one job, done slay. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_write_quad_ptp_reg_eth56g (struct ice_hw *hw , u8 port , u32
offset , u32 val );

no cap, that's the whole signature. four args, one int coming back at you. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. the main character of the whole driver, honestly. πŸ‘‘
  • port β€” Port number. which port are we talking to? be specific, bestie. 🌈
  • offset β€” PHY register offset. where in the register map we're poking around. πŸ”₯
  • val β€” Value to write. the actual payload, the moment of truth, the reason we're all here. πŸ’–

⭐ RETURN ⭐

  • 0 β€” success! we ate. πŸŽ‰
  • EIO β€” invalid port number or resource type. not me getting a bad port number 😭
  • other β€” failed to write to PHY. it's giving "the hardware said no" πŸ’€
lowkey important: that last bucket is literally just "other", so like… if it's not 0 and it's not EIO, assume the PHY write didn't go through, k? don't come for me, that's what the manpage says. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives right here, bestie, go read it, it's giving source of truth:

./drivers/net/ethernet/intel/ice/ice_ptp_hw.c

and now the iconic part β€” the whole friend group, every single one of them, no one left behind:

like, that's the whole extended universe right there. iykyk. 🧚


okay that's the page!! source lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed as ice_write_q...p_reg_eth56g(9) in the Kernel API Manual β€” go forth and write your quad PTP registers, queen. πŸ’–πŸ‘‘βœ¨

πŸ“¦ where this page comes from