Lines Matching refs:ret
313 int regno, ret;
322 ret = devmap_devmem_setup(dhp, dev->devinfo, NULL,
325 if (ret != DDI_SUCCESS) {
326 DRM_ERROR("devmap_devmem_setup failed, ret=%d", ret);
338 int ret;
345 ret = devmap_umem_setup(dhp, dev->devinfo,
348 if (ret != DDI_SUCCESS) {
349 DRM_ERROR("devmap_umem_setup failed, ret=%d", ret);
361 int ret;
371 ret = devmap_umem_setup(dhp, dev->devinfo,
374 if (ret != DDI_SUCCESS) {
375 DRM_ERROR("devmap_umem_setup() failed, ret=%d", ret);
387 int ret;
397 ret = devmap_umem_setup(dhp, dev->devinfo,
400 if (ret != DDI_SUCCESS) {
414 int ret;
423 ret = gfxp_devmap_umem_setup(dhp, dev->devinfo, callbackops,
426 if (ret != DDI_SUCCESS) {
427 DRM_ERROR("gfxp_devmap_umem_setup failed, ret=%d", ret);
443 int ret;
495 ret = idr_get_new_above(&minor->clone_idr, NULL, 0, &clone_id);
496 if (ret)
504 ret = drm_open(minor, clone_id, flag, credp);
505 if (ret) {
507 return (-ret);
512 return (-ret);
524 int ret = 0;
545 ret = drm_release(file_priv);
546 if (ret)
547 return (-ret);
754 int ret;
756 ret = mod_install(&modlinkage);
757 if (ret)
758 return (ret);
766 int ret;
768 ret = mod_remove(&modlinkage);
769 if (ret)
770 return (ret);