ice_cpi_write_phy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the ice_cpi_write_phy(9) page from the Kernel API Manual, and it is literally here to do one iconic thing: Write a CPI port register. that’s the whole assignment, and it ate. πŸ’…


✨ SYNOPSIS ✨

int ice_cpi_write_phy (struct ice_hw *hw , u8 phy , u32 addr , u32 val
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. yes bestie, the hardware struct, we love a direct connection. 🫢
  • phy β€” phy index of port the CPI action is taken on. slay, very specific. ✨
  • addr β€” PHY register address. the address bestie, keep it cute. πŸŽ€
  • val β€” Value to write. that’s the value going in, no cap. πŸ’…

🌈 RETURN 🌈

  • 0 on success. we love a clean win. πŸ¦‹
  • other error codes when failed to write to PHY. and when it fails, it fails, bestie 😭

πŸ¦‹ SEE ALSO πŸ¦‹

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

go peek at these too, iykyk:


this page came from ./drivers/net/ethernet/intel/ice, with the date stamp October 2026. mwah, bye bestie πŸ’‹πŸ’–

πŸ“¦ where this page comes from