Lines Matching defs:ret_val

141 	int32_t ret_val;
145 ret_val = ixgbe_init_ops_X540(hw);
174 return ret_val;
621 int32_t ret_val;
626 ret_val = ixgbe_init_ops_X550(hw);
690 return ret_val;
789 int32_t ret_val;
794 ret_val = ixgbe_init_ops_X550EM(hw);
834 return ret_val;
848 int32_t ret_val;
853 ret_val = ixgbe_init_ops_X550EM(hw);
871 return ret_val;
2095 int32_t ret_val;
2143 ret_val = phy->ops.identify(hw);
2144 if (ret_val == IXGBE_ERR_SFP_NOT_SUPPORTED ||
2145 ret_val == IXGBE_ERR_PHY_ADDR_INVALID)
2146 return ret_val;
2202 return ret_val;
2445 int32_t ret_val;
2450 ret_val = ixgbe_supported_sfp_modules_X550em(hw, &setup_linear);
2456 if (ret_val == IXGBE_ERR_SFP_NOT_PRESENT)
2459 if (ret_val != IXGBE_SUCCESS)
2460 return ret_val;
2472 ret_val = hw->link.ops.write_link(hw, hw->link.addr, reg_slice,
2474 return ret_val;
2538 int32_t ret_val;
2544 ret_val = ixgbe_supported_sfp_modules_X550em(hw, &setup_linear);
2549 if (ret_val == IXGBE_ERR_SFP_NOT_PRESENT)
2552 if (ret_val != IXGBE_SUCCESS)
2553 return ret_val;
2557 ret_val = hw->mac.ops.read_iosf_sb_reg(hw,
2561 if (ret_val != IXGBE_SUCCESS)
2562 return ret_val;
2568 ret_val = hw->mac.ops.write_iosf_sb_reg(hw,
2572 if (ret_val != IXGBE_SUCCESS)
2573 return ret_val;
2576 ret_val = ixgbe_setup_sfi_x550a(hw, &speed);
2588 ret_val = hw->phy.ops.read_reg(hw, IXGBE_CS4227_EFUSE_PDF_SKU,
2591 if (ret_val != IXGBE_SUCCESS)
2592 return ret_val;
2606 ret_val = hw->phy.ops.read_reg(hw, reg_slice,
2609 if (ret_val != IXGBE_SUCCESS)
2610 return ret_val;
2619 ret_val = hw->phy.ops.write_reg(hw, reg_slice,
2623 ret_val = hw->phy.ops.read_reg(hw, reg_slice,
2626 return ret_val;
3681 int32_t ret_val = IXGBE_SUCCESS;
3690 ret_val = IXGBE_ERR_INVALID_LINK_SETTINGS;
3726 ret_val = IXGBE_ERR_CONFIG;
3734 ret_val = hw->mac.ops.read_iosf_sb_reg(hw,
3737 if (ret_val != IXGBE_SUCCESS)
3745 ret_val = hw->mac.ops.write_iosf_sb_reg(hw,
3760 return ret_val;