Lines Matching refs:retcode
260 int retcode; in tdfx_takedown() local
261 retcode = mtrr_del(map->mtrr, in tdfx_takedown()
264 DRM_DEBUG("mtrr_del = %d\n", retcode); in tdfx_takedown()
304 int retcode; in tdfx_init() local
317 if ((retcode = misc_register(&tdfx_misc))) { in tdfx_init()
319 return retcode; in tdfx_init()
329 if((retcode = drm_ctxbitmap_init(dev))) { in tdfx_init()
334 return retcode; in tdfx_init()
415 int retcode = 0; in tdfx_open() local
418 if (!(retcode = drm_open_helper(inode, filp, dev))) { in tdfx_open()
430 return retcode; in tdfx_open()
437 int retcode = 0; in tdfx_release() local
443 if (!(retcode = drm_release(inode, filp))) { in tdfx_release()
466 return retcode; in tdfx_release()
477 int retcode = 0; in tdfx_ioctl() local
489 retcode = -EINVAL; in tdfx_ioctl()
496 retcode = -EINVAL; in tdfx_ioctl()
499 retcode = -EACCES; in tdfx_ioctl()
501 retcode = (func)(inode, filp, cmd, arg); in tdfx_ioctl()
506 return retcode; in tdfx_ioctl()