Lines Matching defs:ret_val
126 s32 ret_val = IXGBE_SUCCESS;
149 ret_val = phy->ops.identify(hw);
150 if (ret_val == IXGBE_ERR_SFP_NOT_SUPPORTED)
177 return ret_val;
182 s32 ret_val = IXGBE_SUCCESS;
192 ret_val = ixgbe_get_sfp_init_sequence_offsets(hw, &list_offset,
194 if (ret_val != IXGBE_SUCCESS)
198 ret_val = hw->mac.ops.acquire_swfw_sync(hw,
200 if (ret_val != IXGBE_SUCCESS) {
201 ret_val = IXGBE_ERR_SWFW_SYNC;
222 ret_val = hw->mac.ops.prot_autoc_write(hw,
226 if (ret_val) {
228 ret_val = IXGBE_ERR_SFP_SETUP_NOT_COMPLETE;
235 return ret_val;
259 s32 ret_val;
264 ret_val = hw->mac.ops.acquire_swfw_sync(hw,
266 if (ret_val != IXGBE_SUCCESS)
288 s32 ret_val = IXGBE_SUCCESS;
299 ret_val = hw->mac.ops.acquire_swfw_sync(hw,
301 if (ret_val != IXGBE_SUCCESS)
308 ret_val = ixgbe_reset_pipeline_82599(hw);
317 return ret_val;
333 s32 ret_val;
339 ret_val = ixgbe_init_ops_generic(hw);
413 return ret_val;
2144 s32 ret_val = IXGBE_SUCCESS;
2148 ret_val = ixgbe_start_hw_generic(hw);
2149 if (ret_val != IXGBE_SUCCESS)
2157 if (ret_val == IXGBE_SUCCESS)
2158 ret_val = ixgbe_verify_fw_version_82599(hw);
2160 return ret_val;
2441 s32 ret_val = IXGBE_ERR_CONFIG;
2451 ret_val = ixgbe_read_eerd_buffer_generic(hw, offset, words,
2454 ret_val = ixgbe_read_eeprom_buffer_bit_bang_generic(hw, offset,
2458 return ret_val;
2475 s32 ret_val = IXGBE_ERR_CONFIG;
2485 ret_val = ixgbe_read_eerd_generic(hw, offset, data);
2487 ret_val = ixgbe_read_eeprom_bit_bang_generic(hw, offset, data);
2489 return ret_val;
2502 s32 ret_val;
2529 ret_val = IXGBE_ERR_RESET_FAILED;
2533 ret_val = IXGBE_SUCCESS;
2540 return ret_val;