Lines Matching refs:rc
114 enum _ecore_status_t rc = ECORE_SUCCESS;
127 rc = OSAL_VF_SEND_MSG2PF(p_hwfn->p_dev,
134 return rc;
179 rc = ECORE_TIMEOUT;
192 return rc;
218 enum _ecore_status_t rc;
229 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
231 if (rc == ECORE_SUCCESS && resp->hdr.status != PFVF_STATUS_SUCCESS)
232 rc = ECORE_AGAIN;
234 ecore_vf_pf_req_end(p_hwfn, rc);
236 return rc;
266 return rc;
309 enum _ecore_status_t rc = ECORE_SUCCESS;
365 rc = ecore_send_msg2pf(p_hwfn,
368 if (rc != ECORE_SUCCESS)
406 rc = ECORE_INVAL;
415 rc = ECORE_INVAL;
431 rc = ECORE_INVAL;
436 rc = ECORE_AGAIN;
456 rc = OSAL_VF_UPDATE_ACQUIRE_RESC_RESP(p_hwfn, &resp->resc);
457 if (rc) {
460 rc);
461 rc = ECORE_AGAIN;
499 ecore_vf_pf_req_end(p_hwfn, rc);
501 return rc;
525 enum _ecore_status_t rc;
629 rc = ecore_vf_pf_acquire(p_hwfn);
638 if (rc == ECORE_SUCCESS &&
642 rc = _ecore_vf_pf_release(p_hwfn, false);
643 if (rc != ECORE_SUCCESS)
644 return rc;
653 rc = ecore_vf_pf_acquire(p_hwfn);
661 return rc;
781 enum _ecore_status_t rc;
812 rc = ecore_send_msg2pf(p_hwfn, &p_resp->hdr.status, sizeof(*p_resp));
814 if (rc)
820 rc = ECORE_INVAL;
825 ecore_vf_pf_req_end(p_hwfn, rc);
826 return rc;
842 enum _ecore_status_t rc;
881 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
882 if (rc)
886 rc = ECORE_INVAL;
909 ecore_vf_pf_req_end(p_hwfn, rc);
911 return rc;
921 enum _ecore_status_t rc;
938 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
939 if (rc)
943 rc = ECORE_INVAL;
948 ecore_vf_pf_req_end(p_hwfn, rc);
950 return rc;
963 enum _ecore_status_t rc;
984 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
985 if (rc)
989 rc = ECORE_INVAL;
1010 ecore_vf_pf_req_end(p_hwfn, rc);
1012 return rc;
1021 enum _ecore_status_t rc;
1037 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1038 if (rc)
1042 rc = ECORE_INVAL;
1047 ecore_vf_pf_req_end(p_hwfn, rc);
1049 return rc;
1062 enum _ecore_status_t rc;
1093 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1094 if (rc)
1098 rc = ECORE_INVAL;
1103 ecore_vf_pf_req_end(p_hwfn, rc);
1104 return rc;
1120 enum _ecore_status_t rc;
1148 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1149 if (rc)
1153 rc = ECORE_INVAL;
1158 ecore_vf_pf_req_end(p_hwfn, rc);
1160 return rc;
1167 enum _ecore_status_t rc;
1178 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1179 if (rc)
1183 rc = ECORE_INVAL;
1188 ecore_vf_pf_req_end(p_hwfn, rc);
1190 return rc;
1265 enum _ecore_status_t rc;
1466 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, resp_size);
1467 if (rc)
1471 rc = ECORE_INVAL;
1478 ecore_vf_pf_req_end(p_hwfn, rc);
1480 return rc;
1488 enum _ecore_status_t rc;
1499 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1500 if (rc)
1504 rc = ECORE_AGAIN;
1511 ecore_vf_pf_req_end(p_hwfn, rc);
1513 return rc;
1543 enum _ecore_status_t rc;
1566 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1567 if (rc)
1571 rc = ECORE_AGAIN;
1576 ecore_vf_pf_req_end(p_hwfn, rc);
1578 return rc;
1585 enum _ecore_status_t rc;
1596 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1597 if (rc)
1601 rc = ECORE_INVAL;
1606 ecore_vf_pf_req_end(p_hwfn, rc);
1608 return rc;
1618 enum _ecore_status_t rc;
1630 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1631 if (rc != ECORE_SUCCESS)
1639 ecore_vf_pf_req_end(p_hwfn, rc);
1641 return rc;
1651 enum _ecore_status_t rc;
1670 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp));
1672 if (rc != ECORE_SUCCESS)
1682 ecore_vf_pf_req_end(p_hwfn, rc);
1683 return rc;