Lines Matching refs:rc
84 int rc = 0;
90 rc = oce_wait_ready(sc);
91 if (rc) {
95 return rc;
115 rc = oce_mbox_dispatch(sc, 2);
117 return rc;
191 int rc;
200 rc = oce_mbox_wait(sc, tmo_sec);
201 if (rc == 0) {
209 rc = oce_mbox_wait(sc, tmo_sec);
211 if (rc == 0) {
214 rc = oce_mbox_wait(sc, tmo_sec);
220 return rc;
373 int rc = 0;
391 rc = oce_mbox_dispatch(sc, tmo);
392 if (rc == 0) {
422 return rc;
569 int rc = 0;
597 rc = oce_mbox_post(sc, &mbx, NULL);
598 if (!rc)
599 rc = fwcmd->hdr.u0.rsp.status;
600 if (rc) {
603 __FUNCTION__, rc,
613 return rc;
627 int rc = 0;
645 rc = oce_mbox_post(sc, &mbx, NULL);
646 if (!rc)
647 rc = fwcmd->hdr.u0.rsp.status;
648 if (rc)
651 __FUNCTION__, rc,
653 return rc;
674 int rc = 0;
702 rc = oce_mbox_post(sc, &mbx, NULL);
703 if (!rc)
704 rc = fwcmd->hdr.u0.rsp.status;
705 if (rc)
708 __FUNCTION__, rc,
718 return rc;
734 int rc;
755 rc = oce_mbox_post(sc, &mbx, NULL);
756 if (!rc)
757 rc = fwcmd->hdr.u0.rsp.status;
758 if (rc)
761 __FUNCTION__, rc,
763 return rc;
784 int i = 0, j = 0, rc = 0;
797 rc = ENXIO;
802 if (rc == 0)
805 return rc;
818 int rc;
854 rc = oce_rss_itbl_init(sc, fwcmd);
855 if (rc == 0) {
860 rc = oce_mbox_post(sc, &mbx, NULL);
861 if (!rc)
862 rc = fwcmd->hdr.u0.rsp.status;
863 if (rc)
866 __FUNCTION__, rc,
869 return rc;
888 int rc;
891 rc = oce_dma_alloc(sc, sz, &sgl, 0);
892 if (rc)
893 return rc;
909 rc = oce_set_common_iface_rx_filter(sc, &sgl);
912 return rc;
927 int rc;
948 rc = oce_mbox_post(sc, &mbx, NULL);
949 if (!rc)
950 rc = fwcmd->hdr.u0.rsp.status;
951 if (rc)
954 __FUNCTION__, rc,
956 return rc;
970 int rc = 0, version;
988 rc = oce_mbox_post(sc, &mbx, NULL);
990 if (!rc)
991 rc = fwcmd->hdr.u0.rsp.status;
992 if (rc) {
995 __FUNCTION__, rc,
1004 return rc;
1021 int rc = 0; \
1044 rc = oce_mbox_post(sc, &mbx, NULL); \
1046 if (!rc) \
1047 rc = fwcmd->hdr.u0.rsp.status; \
1048 if (rc) \
1051 __FUNCTION__, rc, \
1053 return rc; \
1073 int rc = 0;
1100 rc = oce_mbox_post(sc, &mbx, NULL);
1103 if (!rc)
1104 rc = fwcmd->hdr.u0.rsp.status;
1105 if (rc)
1108 __FUNCTION__, rc,
1110 return rc;
1126 int rc = 0;
1154 rc = oce_mbox_post(sc, &mbx, NULL);
1157 if (!rc)
1158 rc = fwcmd->hdr.u0.rsp.status;
1159 if (rc)
1162 __FUNCTION__, rc,
1164 return rc;
1180 int rc = 0;
1202 rc = oce_mbox_post(sc, &mbx, NULL);
1203 if (!rc)
1204 rc = req->hdr.u0.rsp.status;
1205 if (rc)
1208 __FUNCTION__, rc,
1210 return rc;
1225 int rc = 0;
1239 rc = oce_mbox_post(sc, &mbx, NULL);
1240 return rc;
1249 int rc = 0;
1267 rc = oce_mbox_post(sc, &mbx, NULL);
1268 if (!rc)
1269 rc = fwcmd->hdr.u0.rsp.status;
1270 if (rc) {
1273 __FUNCTION__, rc,
1279 return rc;
1287 int rc = 0;
1306 rc = oce_mbox_post(sc, &mbx, NULL);
1307 if (!rc)
1308 rc = fwcmd->hdr.u0.rsp.status;
1309 if (rc)
1312 __FUNCTION__, rc,
1314 return rc;
1322 int rc = 0;
1343 rc = oce_mbox_post(sc, &mbx, NULL);
1344 if (!rc)
1345 rc = fwcmd->hdr.u0.rsp.status;
1346 if (rc) {
1349 __FUNCTION__, rc,
1366 int rc = 0;
1387 rc = oce_mbox_post(sc, &mbx, NULL);
1388 if (!rc)
1389 rc = fwcmd->hdr.u0.rsp.status;
1390 if (rc)
1393 __FUNCTION__, rc,
1396 return rc;
1408 int rc = 0;
1431 rc = oce_mbox_post(sc, &mbx, NULL);
1432 if (!rc)
1433 rc = fwcmd->hdr.u0.rsp.status;
1434 if (rc)
1437 __FUNCTION__, rc,
1440 return rc;
1451 int rc = 0, payload_len = 0;
1478 rc = oce_mbox_post(sc, &mbx, NULL);
1479 if (!rc)
1480 rc = fwcmd->hdr.u0.rsp.status;
1481 if (rc)
1484 __FUNCTION__, rc,
1487 return rc;
1496 int rc = 0, payload_len = 0;
1526 rc = oce_mbox_post(sc, &mbx, NULL);
1527 if (!rc)
1528 rc = fwcmd->hdr.u0.rsp.status;
1529 if (rc) {
1532 __FUNCTION__, rc,
1538 return rc;
1547 int rc = 0;
1563 rc = oce_mbox_post(sc, &mbx, NULL);
1564 if (!rc)
1565 rc = fwcmd->hdr.u0.rsp.status;
1566 if (rc) {
1569 __FUNCTION__, rc,
1582 return rc;
1594 int rc = 0, payload_len = 0;
1625 rc = oce_mbox_post(sc, &mbx, NULL);
1626 if (!rc)
1627 rc = fwcmd->params.rsp.status;
1628 if (rc) {
1631 __FUNCTION__, rc,
1638 return rc;
1649 int rc, num_pages = 0;
1681 rc = oce_mbox_post(sc, &mbx, NULL);
1682 if (!rc)
1683 rc = fwcmd->hdr.u0.rsp.status;
1684 if (rc) {
1687 __FUNCTION__, rc,
1694 return rc;
1704 int rc = 0, version, num_pages;
1737 rc = oce_mbox_post(sc, &mbx, NULL);
1738 if (!rc)
1739 rc = fwcmd->hdr.u0.rsp.status;
1740 if (rc) {
1743 __FUNCTION__, rc,
1753 return rc;
1763 int rc = 0;
1787 rc = oce_mbox_post(sc, &mbx, NULL);
1788 if (!rc)
1789 rc = fwcmd->hdr.u0.rsp.status;
1790 if (rc) {
1793 __FUNCTION__, rc,
1799 return rc;
1811 int rc = 0;
1864 rc = oce_mbox_post(sc, &mbx, NULL);
1865 if (!rc)
1866 rc = fwcmd->hdr.u0.rsp.status;
1867 if (rc) {
1870 __FUNCTION__, rc,
1876 return rc;
1883 int rc = 0;
1919 rc = oce_mbox_post(sc, &mbx, NULL);
1920 if (!rc)
1921 rc = fwcmd->hdr.u0.rsp.status;
1922 if (rc) {
1925 __FUNCTION__, rc,
1944 return rc;
1953 int rc = 0;
1981 rc = oce_mbox_post(sc, &mbx, NULL);
1983 if (!rc)
1984 rc = fwcmd->hdr.u0.rsp.status;
1985 if (rc)
1988 __FUNCTION__, rc,
1997 int rc = 0;
2043 rc = oce_mbox_post(sc, &mbx, NULL);
2044 if (!rc)
2045 rc = fwcmd->hdr.u0.rsp.status;
2046 if (rc) {
2049 __FUNCTION__, rc,
2066 rc = -1;
2086 return rc;
2095 int rc = 0;
2142 rc = oce_mbox_post(sc, &mbx, NULL);
2143 if (!rc)
2144 rc = fwcmd->hdr.u0.rsp.status;
2145 if (rc) {
2148 __FUNCTION__, rc,
2165 rc = -1;
2185 return rc;
2196 int rc = 0;
2210 rc = oce_mbox_post(sc, &mbx, NULL);
2211 if (!rc)
2212 rc = fwcmd->hdr.u0.rsp.status;
2213 if (rc) {
2216 __FUNCTION__, rc,
2219 return rc;
2227 return rc;
2235 int rc = 0;
2262 rc = oce_mbox_post(sc, &mbx, NULL);
2263 if (!rc)
2264 rc = fwcmd->hdr.u0.rsp.status;
2265 if (rc) {
2268 __FUNCTION__, rc,
2271 return rc;
2273 return rc;
2282 int rc = 0, num_pages = 0;
2317 rc = oce_mbox_post(sc, &mbx, NULL);
2318 if (!rc)
2319 rc = fwcmd->hdr.u0.rsp.status;
2320 if (rc) {
2323 __FUNCTION__, rc,
2331 return rc;