Lines Matching refs:ret_val
44 s32 ret_val = E1000_SUCCESS;
47 ret_val = hw->mac.ops.init_params(hw);
48 if (ret_val) {
54 ret_val = -E1000_ERR_CONFIG;
58 return (ret_val);
71 s32 ret_val = E1000_SUCCESS;
74 ret_val = hw->nvm.ops.init_params(hw);
75 if (ret_val) {
81 ret_val = -E1000_ERR_CONFIG;
85 return (ret_val);
98 s32 ret_val = E1000_SUCCESS;
101 ret_val = hw->phy.ops.init_params(hw);
102 if (ret_val) {
108 ret_val = -E1000_ERR_CONFIG;
112 return (ret_val);
128 s32 ret_val = E1000_SUCCESS;
156 ret_val = -E1000_ERR_MAC_INIT;
160 return (ret_val);
178 s32 ret_val;
181 ret_val = e1000_set_mac_type(hw);
182 if (ret_val) {
189 ret_val = -E1000_ERR_CONFIG;
214 ret_val = -E1000_ERR_CONFIG;
222 if (!(ret_val) && init_device) {
223 ret_val = e1000_init_mac_params(hw);
224 if (ret_val)
227 ret_val = e1000_init_nvm_params(hw);
228 if (ret_val)
231 ret_val = e1000_init_phy_params(hw);
232 if (ret_val)
238 return (ret_val);