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

	return IGC_SUCCESS;
}
/**
 *  igc_read_phy_reg - Reads PHY register
 *  @hw: pointer to the HW structure
 *  @offset: the register to read
 *  @data: the buffer to store the 16-bit read.
 *
 *  Reads the PHY register and returns the value in data.
 *  This is a function pointer entry point called by drivers.
 **/
Reads PHY register
@hw: pointer to the HW structure
@offset: the register to read
@data: the buffer to store the 16-bit read.

Reads the PHY register and returns the value in data.
This is a function pointer entry point called by drivers.
Reads PHY register @hw : pointer to the HW structure @offset : the register to read @data : the buffer to store the 16 - bit read . Reads the PHY register and returns the value in data . This is a function pointer entry point called by drivers .
s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data)
{
	if (hw->phy.ops.read_reg)
		return hw->phy.ops.read_reg(hw, offset, data);
	return IGC_SUCCESS;
}
s32 igc_read_phy_reg ( struct igc_hw * hw , u32 offset , u16 * data ) { if ( hw -> phy . ops . read_reg ) return hw -> phy . ops . read_reg ( hw , offset , data ) ; return IGC_SUCCESS ; }
igc_read_phy_reg - Reads PHY register
  @hw: pointer to the HW structure
  @offset: the register to read
  @data: the buffer to store the 16-bit read.
igc_read_phy_reg - Reads PHY register @hw : pointer to the HW structure @offset : the register to read @data : the buffer to store the 16 - bit read .