Lines Matching defs:rc
61 int rc;
69 rc = appldata_asm(&id, fcn, (void *) buffer, myhdr->datalen);
70 if (rc <= 0)
71 return rc;
72 pr_err("Writing monitor data failed with rc=%i\n", rc);
73 if (rc == 5)
100 int rc;
112 rc = monwrite_diag(monhdr, monbuf->data,
145 int rc = 0;
150 rc = monwrite_diag(monhdr, monbuf->data,
157 rc = monwrite_diag(monhdr, monbuf->data,
163 rc = monwrite_diag(monhdr, monbuf->data,
174 return rc;
221 int rc;
230 rc = -EFAULT;
237 rc = monwrite_new_hdr(monpriv);
238 if (rc)
249 rc = -EFAULT;
256 rc = monwrite_new_data(monpriv);
257 if (rc)
269 return rc;
349 int rc;
354 rc = platform_driver_register(&monwriter_pdrv);
355 if (rc)
356 return rc;
361 rc = PTR_ERR(monwriter_pdev);
369 rc = misc_register(&mon_dev);
370 if (rc)
378 return rc;