Lines Matching refs:ret_val
42 s32 ret_val = E1000_SUCCESS;
45 ret_val = hw->mac.ops.init_params(hw);
46 if (ret_val) {
52 ret_val = -E1000_ERR_CONFIG;
56 return (ret_val);
69 s32 ret_val = E1000_SUCCESS;
72 ret_val = hw->nvm.ops.init_params(hw);
73 if (ret_val) {
79 ret_val = -E1000_ERR_CONFIG;
83 return (ret_val);
96 s32 ret_val = E1000_SUCCESS;
99 ret_val = hw->phy.ops.init_params(hw);
100 if (ret_val) {
106 ret_val = -E1000_ERR_CONFIG;
110 return (ret_val);
126 s32 ret_val = E1000_SUCCESS;
262 ret_val = -E1000_ERR_MAC_INIT;
266 return (ret_val);
284 s32 ret_val;
287 ret_val = e1000_set_mac_type(hw);
288 if (ret_val) {
295 ret_val = -E1000_ERR_CONFIG;
351 ret_val = -E1000_ERR_CONFIG;
359 if (!(ret_val) && init_device) {
360 ret_val = e1000_init_mac_params(hw);
361 if (ret_val)
364 ret_val = e1000_init_nvm_params(hw);
365 if (ret_val)
368 ret_val = e1000_init_phy_params(hw);
369 if (ret_val)
374 return (ret_val);