ice_write_port_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_write_port_eth56g(9) πŸ’…

okay so bestie, welcome to the ice_write_port_eth56g(9) page from the Kernel API Manual. This one is literally about writing a PHY port register, and yes she is iconic for it. No cap. ✨


πŸŽ€ NAME πŸŽ€

ice_write_port_eth56g β€” Write a PHY port register. That's the whole vibe: it writes a PHY port register. Periodt. πŸ’–

✨ SYNOPSIS ✨

int ice_write_port_eth56g (struct ice_hw *hw , u8 port , u32 offset ,
       u32 val , enum eth56g_res_type res_type );

🌸 ARGUMENTS 🌸

okay so here's the cast of characters, and every single one matters:

  • hw β€” pointer to the HW struct.
  • port β€” Port number.
  • offset β€” PHY register offset.
  • val β€” Value to write.
  • res_type β€” resource type (register/memory).

πŸ”₯ RETURN πŸ”₯

what comes back? the tea is:

  • 0 β€” success
  • EINVAL β€” invalid port number or resource type
  • other β€” failed to write to PHY

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c

and the whole friend group is here β€” every name, no skips, fr fr:


That’s the whole page, bestie 🫢 β€” source/version is ./drivers/net/ethernet/intel/ice, dated October 2026, and the page is ice_write_port_eth56g(9). Bye πŸ’…βœ¨

πŸ“¦ where this page comes from