Lines Matching refs:rc

119 	int rc;
122 rc = ENODEV;
268 if ((rc = efx_phy_oui_get(sp->s_enp, &oui)) != 0)
322 rc = ENOTSUP;
332 DTRACE_PROBE1(fail1, int, rc);
334 return (rc);
341 int rc;
343 if ((rc = sfxge_start(sp, B_FALSE)) != 0)
349 DTRACE_PROBE1(fail1, int, rc);
351 return (rc);
375 int rc;
378 if ((rc = sfxge_mac_multicst_add(sp, addr)) != 0)
381 if ((rc = sfxge_mac_multicst_remove(sp, addr)) != 0)
390 DTRACE_PROBE1(fail1, int, rc);
391 return (rc);
398 int rc;
400 if ((rc = sfxge_mac_unicst_set(sp, (uint8_t *)addr)) != 0)
406 DTRACE_PROBE1(fail1, int, rc);
408 return (rc);
456 int rc;
466 rc = ENOTSUP;
485 rc = ENOTSUP;
492 DTRACE_PROBE1(fail1, int, rc);
556 int rc;
598 rc = ENOTSUP;
607 DTRACE_PROBE1(fail1, int, rc);
609 return (rc);
618 int rc = 0;
625 if ((rc = sfxge_rx_coalesce_mode_set(sp,
633 if ((rc = sfxge_rx_scale_count_set(sp, (unsigned int)val)) != 0)
640 if ((rc = sfxge_ev_moderation_set(sp, (unsigned int) val)) != 0)
659 rc = ENOTSUP;
666 DTRACE_PROBE1(fail1, int, rc);
668 return (rc);
758 int rc;
764 rc = EINVAL;
770 rc = EINVAL;
777 rc = EINVAL;
783 rc = EINVAL;
806 rc = EINVAL;
814 rc = ENOTSUP;
932 if ((rc = sfxge_gld_priv_prop_get(sp, name, size, valp)) != 0)
936 rc = ENOTSUP;
949 DTRACE_PROBE1(fail1, int, rc);
951 return (rc);
961 int rc;
982 rc = EINVAL;
988 rc = EINVAL;
994 rc = EINVAL;
1002 rc = ENOTSUP;
1013 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_AN, v8)) != 0)
1017 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_40000FDX, v8)) != 0)
1021 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_10000FDX, v8)) != 0)
1026 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_1000FDX, v8)) != 0)
1031 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_1000HDX, v8)) != 0)
1036 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_100FDX, v8)) != 0)
1041 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_100HDX, v8)) != 0)
1046 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_10FDX, v8)) != 0)
1051 if ((rc = sfxge_phy_cap_set(sp, EFX_PHY_CAP_10HDX, v8)) != 0)
1059 rc = EINVAL;
1092 rc = EINVAL;
1096 if ((rc = sfxge_mac_fcntl_set(sp, fcntl)) != 0)
1102 if ((rc = sfxge_gld_priv_prop_set(sp, name, size, valp)) != 0)
1107 rc = ENOTSUP;
1126 DTRACE_PROBE1(fail1, int, rc);
1128 return (rc);
1219 int rc;
1222 rc = ENOTSUP;
1261 if ((rc = sfxge_mac_unicst_get(sp, SFXGE_UNICST_BIA,
1279 if ((rc = mac_register(mrp, &mh)) != 0)
1303 DTRACE_PROBE1(fail1, int, rc);
1305 return (rc);
1312 int rc;
1314 if ((rc = mac_unregister(mh)) != 0)
1328 DTRACE_PROBE1(fail1, int, rc);
1330 return (rc);