ice_cpi_write_phy(9)
π 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 π
0on 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:
ice_cpi_get_dest_dev(9)ice_cpi_read_phy(9)ice_cpi_wait_req0_ack0(9)ice_cpi_wait_ack(9)ice_cpi_req0(9)ice_cpi_exec_cmd(9)ice_cpi_phy_lock(9)ice_cpi_exec(9)ice_cpi_set_cmd(9)ice_cpi_ena_dis_clk_ref(9)
this page came from ./drivers/net/ethernet/intel/ice, with the date stamp October 2026. mwah, bye bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms