src/dpdk/drivers/net/igc/base/igc_api.c
s32 igc_acquire_phy(struct igc_hw *hw)
{
	if (hw->phy.ops.acquire)
		return hw->phy.ops.acquire(hw);

	return IGC_SUCCESS;
}
/**
 *  igc_acquire_phy - Generic acquire PHY
 *  @hw: pointer to the HW structure
 *
 *  Return success if silicon family does not require a semaphore when
 *  accessing the PHY.
 **/
Generic acquire PHY
@hw: pointer to the HW structure

Return success if silicon family does not require a semaphore when
accessing the PHY.
Generic acquire PHY @hw : pointer to the HW structure Return success if silicon family does not require a semaphore when accessing the PHY .
s32 igc_acquire_phy(struct igc_hw *hw)
{
	if (hw->phy.ops.acquire)
		return hw->phy.ops.acquire(hw);
	return IGC_SUCCESS;
}
s32 igc_acquire_phy ( struct igc_hw * hw ) { if ( hw -> phy . ops . acquire ) return hw -> phy . ops . acquire ( hw ) ; return IGC_SUCCESS ; }
igc_acquire_phy - Generic acquire PHY
  @hw: pointer to the HW structure
igc_acquire_phy - Generic acquire PHY @hw : pointer to the HW structure