Lines Matching refs:retcode
176 int retcode = 0; in gamma_do_dma() local
247 retcode = -EBUSY; in gamma_do_dma()
287 return retcode; in gamma_do_dma()
305 int retcode = 0; in gamma_dma_schedule() local
337 if (!(retcode = gamma_do_dma(dev, locked))) { in gamma_dma_schedule()
357 if (!(retcode = gamma_do_dma(dev, locked))) { in gamma_dma_schedule()
381 return retcode; in gamma_dma_schedule()
389 int retcode = 0; in gamma_dma_priority() local
426 retcode = -EINVAL; in gamma_dma_priority()
432 retcode = -EINVAL; in gamma_dma_priority()
453 retcode = -EINVAL; in gamma_dma_priority()
460 retcode = -EINVAL; in gamma_dma_priority()
482 retcode = -EINTR; in gamma_dma_priority()
520 return retcode; in gamma_dma_priority()
527 int retcode = 0; in gamma_dma_send_buffers() local
535 if ((retcode = drm_dma_enqueue(dev, d))) { in gamma_dma_send_buffers()
538 return retcode; in gamma_dma_send_buffers()
551 retcode = -EINTR; /* Can't restart */ in gamma_dma_send_buffers()
558 if (!retcode in gamma_dma_send_buffers()
564 if (retcode) { in gamma_dma_send_buffers()
576 return retcode; in gamma_dma_send_buffers()
585 int retcode = 0; in gamma_dma() local
611 retcode = gamma_dma_priority(dev, &d); in gamma_dma()
613 retcode = gamma_dma_send_buffers(dev, &d); in gamma_dma()
618 if (!retcode && d.request_count) { in gamma_dma()
619 retcode = drm_dma_get_buffers(dev, &d); in gamma_dma()
627 return retcode; in gamma_dma()
632 int retcode; in gamma_irq_install() local
665 if ((retcode = request_irq(dev->irq, in gamma_irq_install()
673 return retcode; in gamma_irq_install()
712 int retcode; in gamma_control() local
719 if ((retcode = gamma_irq_install(dev, ctl.irq))) in gamma_control()
720 return retcode; in gamma_control()
723 if ((retcode = gamma_irq_uninstall(dev))) in gamma_control()
724 return retcode; in gamma_control()