src/dpdk/drivers/net/ixgbe/base/ixgbe_x540.c
s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data)
{
	s32 status = IXGBE_SUCCESS;

	DEBUGFUNC("ixgbe_read_eerd_X540");
	if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) ==
	    IXGBE_SUCCESS) {
		status = ixgbe_read_eerd_generic(hw, offset, data);
		hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM);
	} else {
		status = IXGBE_ERR_SWFW_SYNC;
	}

	return status;
}
/**
 * ixgbe_read_eerd_X540- Read EEPROM word using EERD
 * @hw: pointer to hardware structure
 * @offset: offset of  word in the EEPROM to read
 * @data: word read from the EEPROM
 *
 * Reads a 16 bit word from the EEPROM using the EERD register.
 **/
ixgbe_read_eerd_X540- Read EEPROM word using EERD
@hw: pointer to hardware structure
@offset: offset of  word in the EEPROM to read
@data: word read from the EEPROM

Reads a 16 bit word from the EEPROM using the EERD register.
ixgbe_read_eerd_X540 - Read EEPROM word using EERD @hw : pointer to hardware structure @offset : offset of word in the EEPROM to read @data : word read from the EEPROM Reads a 16 bit word from the EEPROM using the EERD register .
s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data)
{
	s32 status = IXGBE_SUCCESS;
	DEBUGFUNC("ixgbe_read_eerd_X540");
	if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) ==
	    IXGBE_SUCCESS) {
		status = ixgbe_read_eerd_generic(hw, offset, data);
		hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM);
	} else {
		status = IXGBE_ERR_SWFW_SYNC;
	}
	return status;
}
s32 ixgbe_read_eerd_X540 ( struct ixgbe_hw * hw , u16 offset , u16 * data ) { s32 status = IXGBE_SUCCESS ; DEBUGFUNC ( " " ) ; if ( hw -> mac . ops . acquire_swfw_sync ( hw , IXGBE_GSSR_EEP_SM ) == IXGBE_SUCCESS ) { status = ixgbe_read_eerd_generic ( hw , offset , data ) ; hw -> mac . ops . release_swfw_sync ( hw , IXGBE_GSSR_EEP_SM ) ; } else { status = IXGBE_ERR_SWFW_SYNC ; } return status ; }
ixgbe_read_eerd_X540- Read EEPROM word using EERD
 @hw: pointer to hardware structure
 @offset: offset of  word in the EEPROM to read
 @data: word read from the EEPROM
ixgbe_read_eerd_X540 - Read EEPROM word using EERD @hw : pointer to hardware structure @offset : offset of word in the EEPROM to read @data : word read from the EEPROM