Searched refs:lret (Results 1 – 7 of 7) sorted by relevance
/drivers/firmware/meson/ |
D | meson_sm.c | 107 u32 cmd, lret; in meson_sm_call() local 116 lret = __meson_sm_call(cmd, arg0, arg1, arg2, arg3, arg4); in meson_sm_call() 119 *ret = lret; in meson_sm_call()
|
/drivers/platform/x86/hp/ |
D | hp_accel.c | 102 unsigned long long lret; in lis3lv02d_acpi_read() local 107 status = acpi_evaluate_integer(dev->handle, "ALRD", &args, &lret); in lis3lv02d_acpi_read() 110 *ret = lret; in lis3lv02d_acpi_read()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 743 long lret; in vmw_user_bo_synccpu_grab() local 745 lret = dma_resv_wait_timeout(bo->base.resv, true, true, in vmw_user_bo_synccpu_grab() 748 if (!lret) in vmw_user_bo_synccpu_grab() 750 else if (lret < 0) in vmw_user_bo_synccpu_grab() 751 return lret; in vmw_user_bo_synccpu_grab()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_gem.c | 957 long lret; in nouveau_gem_ioctl_cpu_prep() local 965 lret = dma_resv_wait_timeout(nvbo->bo.base.resv, write, true, in nouveau_gem_ioctl_cpu_prep() 967 if (!lret) in nouveau_gem_ioctl_cpu_prep() 969 else if (lret > 0) in nouveau_gem_ioctl_cpu_prep() 972 ret = lret; in nouveau_gem_ioctl_cpu_prep()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 308 long lret; in ttm_bo_cleanup_refs() local 314 lret = dma_resv_wait_timeout(resv, true, interruptible, in ttm_bo_cleanup_refs() 317 if (lret < 0) in ttm_bo_cleanup_refs() 318 return lret; in ttm_bo_cleanup_refs() 319 else if (lret == 0) in ttm_bo_cleanup_refs()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 1105 enum drm_connector_status lret; in amdgpu_connector_dvi_detect() local 1108 lret = encoder_funcs->detect(encoder, connector); in amdgpu_connector_dvi_detect() 1109 DRM_DEBUG_KMS("load_detect %x returned: %x\n",encoder->encoder_type,lret); in amdgpu_connector_dvi_detect() 1110 if (lret == connector_status_connected) in amdgpu_connector_dvi_detect()
|
/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 1392 enum drm_connector_status lret; in radeon_dvi_detect() local 1395 lret = encoder_funcs->detect(encoder, connector); in radeon_dvi_detect() 1396 DRM_DEBUG_KMS("load_detect %x returned: %x\n",encoder->encoder_type,lret); in radeon_dvi_detect() 1397 if (lret == connector_status_connected) in radeon_dvi_detect()
|