Lines Matching refs:rc
95 int rc = 0;
97 rc = oce_POST(sc);
98 if (rc)
99 return rc;
102 rc = oce_dma_alloc(sc, sizeof(struct oce_bmbx), &sc->bsmbx, 0);
103 if (rc) {
105 return rc;
108 rc = oce_reset_fun(sc);
109 if (rc)
113 rc = oce_mbox_init(sc);
114 if (rc)
117 rc = oce_get_fw_version(sc);
118 if (rc)
121 rc = oce_get_fw_config(sc);
122 if (rc)
126 rc = oce_read_mac_addr(sc, 0, 1, MAC_ADDRESS_TYPE_NETWORK,
128 if (rc)
132 rc = oce_mbox_check_native_mode(sc);
133 if (rc)
138 return rc;
143 return rc;
364 int rc;
396 rc = oce_if_create(sc,
400 if (rc)
401 return rc;
408 rc = oce_set_flow_control(sc, sc->flow_control);
409 if (rc)
412 rc = oce_rxf_set_promiscuous(sc, sc->promisc);
413 if (rc)
416 return rc;
420 return rc;
446 int rc;
453 rc=oce_POST(sc);
455 return rc;
467 int rc = 0;
469 rc = oce_get_link_status(sc, &link);
470 if (rc)
484 rc = oce_start_mq(sc->mq);
497 return rc;
553 int rc = 0;
573 rc = oce_update_multicast(sc, &dma);
575 return rc;