Lines Matching refs:rc
213 efx_rc_t rc;
222 rc = ENOMEM;
301 rc = ENOTSUP;
323 EFSYS_PROBE1(fail1, efx_rc_t, rc);
325 return (rc);
334 efx_rc_t rc;
363 if ((rc = enop->eno_probe(enp)) != 0)
366 if ((rc = efx_phy_probe(enp)) != 0)
379 EFSYS_PROBE1(fail1, efx_rc_t, rc);
381 return (rc);
390 efx_rc_t rc;
396 if ((rc = enop->eno_set_drv_limits(enp, edlp)) != 0)
403 EFSYS_PROBE1(fail1, efx_rc_t, rc);
405 return (rc);
416 efx_rc_t rc;
423 rc = ENOTSUP;
426 if ((rc = (enop->eno_get_bar_region)(enp,
437 EFSYS_PROBE1(fail1, efx_rc_t, rc);
439 return (rc);
451 efx_rc_t rc;
460 if ((rc = (enop->eno_get_vi_pool)(enp, &vi_count)) != 0)
476 EFSYS_PROBE1(fail1, efx_rc_t, rc);
478 return (rc);
486 efx_rc_t rc;
492 rc = EINVAL;
496 if ((rc = enop->eno_init(enp)) != 0)
506 EFSYS_PROBE1(fail1, efx_rc_t, rc);
508 return (rc);
582 efx_rc_t rc;
603 rc = EINVAL;
607 if ((rc = enop->eno_reset(enp)) != 0)
615 EFSYS_PROBE1(fail1, efx_rc_t, rc);
617 return (rc);
636 efx_rc_t rc;
639 rc = EINVAL;
658 rc = efx_mcdi_version(enp, mc_fw_version, NULL, NULL);
659 if (rc != 0)
662 rc = efx_mcdi_get_capabilities(enp, NULL,
666 if (rc == 0) {
668 } else if (rc == ENOTSUP) {
686 EFSYS_PROBE1(fail1, efx_rc_t, rc);
688 return (rc);
730 efx_rc_t rc;
736 if ((rc = enop->eno_register_test(enp)) != 0)
742 EFSYS_PROBE1(fail1, efx_rc_t, rc);
744 return (rc);
864 efx_rc_t rc;
875 rc = req.emr_rc;
882 rc = EMSGSIZE;
963 EFSYS_PROBE1(fail1, efx_rc_t, rc);
965 return (rc);
978 efx_rc_t rc;
982 rc = EINVAL;
1000 rc = EINVAL;
1012 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1014 return (rc);
1024 efx_rc_t rc;
1027 rc = efx_mcdi_get_nic_global(enp,
1029 if (rc != 0)
1044 rc = EINVAL;
1054 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1056 return (rc);
1064 efx_rc_t rc;
1072 rc = EINVAL;
1076 rc = efx_mcdi_set_nic_global(enp,
1078 if (rc != 0)
1087 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1089 return (rc);
1104 efx_rc_t rc;
1119 rc = efx_nic_calculate_pcie_link_bandwidth(pcie_link_width,
1121 if (rc != 0)
1139 EFSYS_PROBE1(fail1, efx_rc_t, rc);
1141 return (rc);