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;
404 rc = oce_if_create(sc,
408 if (rc)
409 return rc;
416 rc = oce_set_flow_control(sc, sc->flow_control);
417 if (rc)
420 rc = oce_rxf_set_promiscuous(sc, sc->promisc);
421 if (rc)
424 return rc;
428 return rc;
454 int rc;
461 rc=oce_POST(sc);
463 return rc;
475 int rc = 0;
477 rc = oce_get_link_status(sc, &link);
478 if (rc)
492 rc = oce_start_mq(sc->mq);
505 return rc;
552 int rc = 0;
586 rc = oce_update_multicast(sc, &dma);
588 return rc;