Lines Matching refs:rc
52 efx_rc_t rc;
63 rc = req.emr_rc;
68 rc = EMSGSIZE;
79 EFSYS_PROBE1(fail1, efx_rc_t, rc);
81 return (rc);
95 efx_rc_t rc;
105 if ((rc = efx_mcdi_get_board_cfg(enp, &board_type,
168 rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq);
169 if (rc != 0) {
170 if (rc != ENOTSUP)
214 EFSYS_PROBE1(fail1, efx_rc_t, rc);
216 return (rc);
226 efx_rc_t rc;
229 if ((rc = efx_mcdi_get_phy_cfg(enp)) != 0)
241 EFSYS_PROBE1(fail1, efx_rc_t, rc);
243 return (rc);
254 efx_rc_t rc;
270 rc = EIO;
276 rc = EIO;
293 rc = EIO;
299 rc = EIO;
312 EFSYS_PROBE1(fail1, efx_rc_t, rc);
314 return (rc);
326 efx_rc_t rc;
331 if ((rc = siena_nic_biu_test(enp)) != 0)
343 if ((rc = efx_mcdi_read_assertion(enp)) != 0)
347 if ((rc = efx_mcdi_exit_assertion_handler(enp)) != 0)
351 if ((rc = efx_mcdi_drv_attach(enp, B_TRUE)) != 0)
354 if ((rc = siena_board_cfg(enp)) != 0)
357 if ((rc = siena_phy_cfg(enp)) != 0)
361 if ((rc = siena_nic_reset(enp)) != 0)
363 if ((rc = siena_phy_get_link(enp, &sls)) != 0)
369 if ((rc = siena_nic_get_partn_mask(enp, &mask)) != 0)
376 if ((rc = efx_mcdi_mac_stats_clear(enp)) != 0)
381 if ((rc = efx_mcdi_get_loopback_modes(enp)) != 0)
386 if ((rc = mcdi_mon_cfg_build(enp)) != 0)
425 EFSYS_PROBE1(fail1, efx_rc_t, rc);
427 return (rc);
435 efx_rc_t rc;
440 if ((rc = efx_mcdi_read_assertion(enp)) != 0)
442 if ((rc = efx_mcdi_exit_assertion_handler(enp)) != 0)
460 rc = req.emr_rc;
471 EFSYS_PROBE1(fail1, efx_rc_t, rc);
510 efx_rc_t rc;
515 if ((rc = efx_mcdi_log_ctrl(enp)) != 0)
527 if ((rc = siena_phy_reconfigure(enp)) != 0)
537 EFSYS_PROBE1(fail1, efx_rc_t, rc);
539 return (rc);
629 efx_rc_t rc;
655 rc = EIO;
670 rc = EIO;
688 EFSYS_PROBE1(fail1, efx_rc_t, rc);
693 return (rc);
708 efx_rc_t rc;
733 rc = EIO;
747 EFSYS_PROBE1(fail1, efx_rc_t, rc);
749 return (rc);
760 efx_rc_t rc;
790 if ((rc = siena_nic_test_registers(enp, __siena_registers,
794 if ((rc = siena_nic_test_tables(enp, __siena_tables,
799 if ((rc = siena_nic_test_tables(enp, __siena_tables,
804 if ((rc = siena_nic_test_tables(enp, __siena_tables,
817 EFSYS_PROBE1(fail1, efx_rc_t, rc);
819 return (rc);