Lines Matching refs:rc
94 int rc = 0;
96 rc = oce_POST(sc);
97 if (rc)
98 return rc;
101 rc = oce_dma_alloc(sc, sizeof(struct oce_bmbx), &sc->bsmbx, 0);
102 if (rc) {
104 return rc;
107 rc = oce_reset_fun(sc);
108 if (rc)
112 rc = oce_mbox_init(sc);
113 if (rc)
117 rc = oce_get_fw_version(sc);
118 if (rc)
122 rc = oce_get_fw_config(sc);
123 if (rc)
128 rc = oce_read_mac_addr(sc, 0, 1, MAC_ADDRESS_TYPE_NETWORK,
130 if (rc)
134 rc = oce_mbox_check_native_mode(sc);
135 if (rc)
140 return rc;
145 return rc;
377 int rc;
409 rc = oce_if_create(sc,
413 if (rc)
414 return rc;
421 rc = oce_set_flow_control(sc, sc->flow_control);
422 if (rc)
425 rc = oce_rxf_set_promiscuous(sc, sc->promisc);
426 if (rc)
429 return rc;
433 return rc;
459 int rc;
466 rc=oce_POST(sc);
468 return rc;
480 int rc = 0;
482 rc = oce_get_link_status(sc, &link);
483 if (rc)
497 rc = oce_start_mq(sc->mq);
510 return rc;
557 int rc = 0;
591 rc = oce_update_multicast(sc, &dma);
593 return rc;