Lines Matching refs:ret_val
316 s32 ret_val;
321 ret_val = hw->eeprom.ops.read(hw, IXGBE_PBANUM0_PTR, &data);
322 if (ret_val) {
324 return (ret_val);
328 ret_val = hw->eeprom.ops.read(hw, IXGBE_PBANUM1_PTR, &data);
329 if (ret_val) {
331 return (ret_val);
1776 s32 ret_val = IXGBE_SUCCESS;
1784 ret_val = ixgbe_fc_autoneg(hw);
1785 if (ret_val == IXGBE_ERR_FLOW_CONTROL)
1837 ret_val = IXGBE_ERR_CONFIG;
1891 return (ret_val);
1904 s32 ret_val = IXGBE_ERR_FC_NOT_NEGOTIATED;
1924 ret_val = IXGBE_ERR_FLOW_CONTROL;
1932 ret_val = ixgbe_fc_autoneg_fiber(hw);
1937 ret_val = ixgbe_fc_autoneg_backplane(hw);
1943 ret_val = ixgbe_fc_autoneg_copper(hw);
1951 if (ret_val == IXGBE_SUCCESS) {
1957 return (ret_val);
1972 s32 ret_val;
1983 ret_val = IXGBE_ERR_FC_NOT_NEGOTIATED;
1990 ret_val = ixgbe_negotiate_fc(hw, pcs_anadv_reg,
1997 return (ret_val);
2010 s32 ret_val;
2021 ret_val = IXGBE_ERR_FC_NOT_NEGOTIATED;
2030 ret_val = IXGBE_ERR_FC_NOT_NEGOTIATED;
2041 ret_val = ixgbe_negotiate_fc(hw, autoc_reg,
2046 return (ret_val);
2131 s32 ret_val = IXGBE_SUCCESS;
2141 ret_val = IXGBE_ERR_INVALID_LINK_SETTINGS;
2151 ret_val = IXGBE_ERR_INVALID_LINK_SETTINGS;
2161 ret_val = IXGBE_ERR_INVALID_LINK_SETTINGS;
2255 ret_val = IXGBE_ERR_CONFIG;
2285 return (ret_val);