Lines Matching refs:rc
16 int rc = 0, i;
19 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]);
20 if (rc)
21 return rc;
24 return rc;
29 int rc = 0, i;
32 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]);
33 if (rc)
34 return rc;
37 return rc;
44 int rc = 0, i;
54 rc = qed_mcp_bist_register_test(p_hwfn, p_ptt);
56 if (rc)
60 return rc;
67 int rc = 0, i;
77 rc = qed_mcp_bist_clock_test(p_hwfn, p_ptt);
79 if (rc)
83 return rc;
94 int rc;
102 rc = qed_mcp_bist_nvm_get_num_images(p_hwfn, p_ptt, &num_images);
103 if (rc || !num_images) {
105 rc = -EINVAL;
114 rc = qed_mcp_bist_nvm_get_image_att(p_hwfn, p_ptt,
116 if (rc) {
135 rc = -ENOMEM;
140 rc = qed_mcp_nvm_read(p_hwfn->cdev, image_att.nvm_start_addr,
142 if (rc) {
166 rc = -EINVAL;
184 return rc;