src/dpdk/drivers/net/igc/base/igc_api.c
s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data)
{
	if (hw->phy.ops.write_reg)
		return hw->phy.ops.write_reg(hw, offset, data);

	return IGC_SUCCESS;
}
/**
 *  igc_write_phy_reg - Writes PHY register
 *  @hw: pointer to the HW structure
 *  @offset: the register to write
 *  @data: the value to write.
 *
 *  Writes the PHY register at offset with the value in data.
 *  This is a function pointer entry point called by drivers.
 **/
Writes PHY register
@hw: pointer to the HW structure
@offset: the register to write
@data: the value to write.

Writes the PHY register at offset with the value in data.
This is a function pointer entry point called by drivers.
Writes PHY register @hw : pointer to the HW structure @offset : the register to write @data : the value to write . Writes the PHY register at offset with the value in data . This is a function pointer entry point called by drivers .
s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data)
{
	if (hw->phy.ops.write_reg)
		return hw->phy.ops.write_reg(hw, offset, data);
	return IGC_SUCCESS;
}
s32 igc_write_phy_reg ( struct igc_hw * hw , u32 offset , u16 data ) { if ( hw -> phy . ops . write_reg ) return hw -> phy . ops . write_reg ( hw , offset , data ) ; return IGC_SUCCESS ; }
igc_write_phy_reg - Writes PHY register
  @hw: pointer to the HW structure
  @offset: the register to write
  @data: the value to write.
igc_write_phy_reg - Writes PHY register @hw : pointer to the HW structure @offset : the register to write @data : the value to write .