Lines Matching defs:rc
79 int rc = 0;
82 rc = efx->phy_op->test_alive(efx);
83 tests->phy_alive = rc ? -1 : 1;
86 return rc;
91 int rc = 0;
94 rc = efx->type->test_nvram(efx);
95 tests->nvram = rc ? -1 : 1;
98 return rc;
103 int rc = 0;
107 rc = efx->type->test_registers(efx);
108 tests->registers = rc ? -1 : 1;
111 return rc;
225 int rc;
231 rc = efx->phy_op->run_tests(efx, tests->phy_ext, flags);
233 return rc;
380 netdev_tx_t rc;
405 rc = efx_enqueue_skb(tx_queue, skb);
409 if (rc != NETDEV_TX_OK) {
446 int i, rc = 0;
475 rc = -ETIMEDOUT;
486 rc = -ETIMEDOUT;
496 return rc;
598 int rc = 0;
619 rc = __efx_reconfigure_port(efx);
621 if (rc) {
628 rc = efx_wait_for_link(efx);
629 if (rc) {
640 rc = efx_test_loopback(tx_queue,
642 if (rc)
654 return rc;
670 int rc_test = 0, rc_reset = 0, rc;
675 rc = efx_test_phy_alive(efx, tests);
676 if (rc && !rc_test)
677 rc_test = rc;
679 rc = efx_test_nvram(efx, tests);
680 if (rc && !rc_test)
681 rc_test = rc;
683 rc = efx_test_interrupts(efx, tests);
684 if (rc && !rc_test)
685 rc_test = rc;
688 rc = efx_test_eventq_irq(channel, tests);
689 if (rc && !rc_test)
690 rc_test = rc;
723 rc = efx_test_chip(efx, tests);
724 if (rc && !rc_test)
725 rc_test = rc;
735 rc = efx_reset_up(efx, reset_method, rc_reset == 0);
736 if (rc && !rc_reset)
737 rc_reset = rc;
746 rc = efx_test_phy(efx, tests, flags);
747 if (rc && !rc_test)
748 rc_test = rc;
750 rc = efx_test_loopbacks(efx, tests, efx->loopback_modes);
751 if (rc && !rc_test)
752 rc_test = rc;