Lines Matching refs:retcode
191 int retcode = 0; in i810_map_buffer() local
209 retcode = (signed int)buf_priv->virtual; in i810_map_buffer()
217 return retcode; in i810_map_buffer()
223 int retcode = 0; in i810_unmap_buffer() local
229 retcode = do_munmap(current->mm, in i810_unmap_buffer()
237 return retcode; in i810_unmap_buffer()
246 int retcode = 0; in i810_dma_get_buffer() local
250 retcode = -ENOMEM; in i810_dma_get_buffer()
251 DRM_DEBUG("retcode=%d\n", retcode); in i810_dma_get_buffer()
252 return retcode; in i810_dma_get_buffer()
255 retcode = i810_map_buffer(buf, filp); in i810_dma_get_buffer()
256 if(retcode) { in i810_dma_get_buffer()
258 DRM_DEBUG("mapbuf failed, retcode %d\n", retcode); in i810_dma_get_buffer()
259 return retcode; in i810_dma_get_buffer()
268 return retcode; in i810_dma_get_buffer()
485 int retcode = 0; in i810_dma_init() local
495 retcode = i810_dma_initialize(dev, dev_priv, &init); in i810_dma_init()
498 retcode = i810_dma_cleanup(dev); in i810_dma_init()
501 retcode = -EINVAL; in i810_dma_init()
505 return retcode; in i810_dma_init()
899 int retcode; in i810_irq_install() local
941 if ((retcode = request_irq(dev->irq, in i810_irq_install()
949 return retcode; in i810_irq_install()
998 int retcode; in i810_control() local
1007 if ((retcode = i810_irq_install(dev, ctl.irq))) in i810_control()
1008 return retcode; in i810_control()
1011 if ((retcode = i810_irq_uninstall(dev))) in i810_control()
1012 return retcode; in i810_control()
1358 int retcode = 0; in i810_getbuf() local
1376 retcode = i810_dma_get_buffer(dev, &d, filp); in i810_getbuf()
1379 current->pid, retcode, d.granted); in i810_getbuf()
1385 return retcode; in i810_getbuf()