Lines Matching refs:rc
170 int rc = -EFAULT;
173 rc = msm_adsp_enable(qcam_mod);
175 rc = msm_adsp_enable(vfe_mod);
177 return rc;
183 int rc = -EFAULT;
186 rc = msm_adsp_disable(qcam_mod);
188 rc = msm_adsp_disable(vfe_mod);
190 return rc;
195 int rc = 0;
197 rc = msm_adsp_write(vfe_mod, QDSP_CMDQUEUE,
199 if (rc < 0) {
200 CDBG("%s:%d: failed rc = %d \n", __func__, __LINE__, rc);
201 return rc;
205 rc = wait_event_timeout(stopevent.wait,
209 return rc;
239 int rc = 0;
251 rc = msm_camio_enable(dev);
252 if (rc < 0)
253 return rc;
261 rc = -ENOMEM;
265 rc = msm_adsp_get("QCAMTASK", &qcam_mod, &vfe_7x_sync, NULL);
266 if (rc) {
267 rc = -EBUSY;
271 rc = msm_adsp_get("VFETASK", &vfe_mod, &vfe_7x_sync, NULL);
272 if (rc) {
273 rc = -EBUSY;
285 return rc;
295 int rc = 0;
349 return rc;
367 long rc = 0;
384 rc = -EFAULT;
394 rc = -EFAULT;
402 rc = -ENOMEM;
410 rc = -EFAULT;
433 rc = -EINVAL;
443 rc = -EFAULT;
452 rc = -ENOMEM;
460 rc = -EFAULT;
484 rc = -EINVAL;
495 rc = -EFAULT;
522 rc = -EFAULT;
538 rc = -EFAULT;
557 rc = -ENOMEM;
567 rc = -EFAULT;
598 rc = -EFAULT;
604 rc = -ENOMEM;
610 rc = -EFAULT;
624 rc = -EFAULT;
630 rc = -ENOMEM;
636 rc = -EFAULT;
648 rc = -EFAULT;
654 rc = -ENOMEM;
660 rc = -EFAULT;
679 rc = msm_adsp_write(vfe_mod, vfecmd->queue,
690 return rc;