Lines Matching refs:rc
209 int rc;
211 rc = wait_for_completion_interruptible(&hcu_dev->irq_done);
212 if (rc)
218 rc = -EIO;
225 return rc;
249 int rc;
259 rc = ocs_hcu_wait_busy(hcu_dev);
260 if (rc)
261 return rc;
311 int rc;
322 rc = ocs_hcu_wait_busy(hcu_dev);
323 if (rc)
324 return rc;
345 int rc;
352 rc = ocs_hcu_wait_busy(hcu_dev);
353 if (rc)
354 return rc;
448 int rc;
482 rc = ocs_hcu_wait_and_disable_irq(hcu_dev);
483 if (rc)
484 return rc;
611 int rc;
617 rc = ocs_hcu_hw_cfg(hcu_dev, ctx->algo, false);
618 if (rc)
619 return rc;
626 rc = ocs_hcu_ll_dma_start(hcu_dev, dma_list, false);
627 if (rc)
628 return rc;
649 int rc;
655 rc = ocs_hcu_hw_cfg(hcu_dev, ctx->algo, false);
656 if (rc)
657 return rc;
664 rc = ocs_hcu_ll_dma_start(hcu_dev, dma_list, true);
665 if (rc)
666 return rc;
685 int rc;
691 rc = ocs_hcu_hw_cfg(hcu_dev, ctx->algo, false);
692 if (rc)
693 return rc;
707 rc = ocs_hcu_wait_and_disable_irq(hcu_dev);
708 if (rc)
709 return rc;
732 int rc;
735 rc = ocs_hcu_hw_cfg(hcu_dev, algo, false);
736 if (rc)
737 return rc;
756 rc = ocs_hcu_wait_and_disable_irq(hcu_dev);
757 if (rc)
758 return rc;
782 int rc;
789 rc = ocs_hcu_hw_cfg(hcu_dev, algo, true);
790 if (rc)
791 return rc;
793 rc = ocs_hcu_write_key(hcu_dev, key, key_len);
794 if (rc)
795 return rc;
797 rc = ocs_hcu_ll_dma_start(hcu_dev, dma_list, true);
802 if (rc)
803 return rc;