Searched refs:lret (Results 1 – 5 of 5) sorted by relevance
/drivers/platform/x86/ |
D | hp_accel.c | 124 unsigned long long lret; in lis3lv02d_acpi_read() local 129 status = acpi_evaluate_integer(dev->handle, "ALRD", &args, &lret); in lis3lv02d_acpi_read() 130 *ret = lret; in lis3lv02d_acpi_read()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_gem.c | 861 long lret; in nouveau_gem_ioctl_cpu_prep() local 863 lret = reservation_object_wait_timeout_rcu(nvbo->bo.resv, write, true, 30 * HZ); in nouveau_gem_ioctl_cpu_prep() 864 if (!lret) in nouveau_gem_ioctl_cpu_prep() 866 else if (lret > 0) in nouveau_gem_ioctl_cpu_prep() 869 ret = lret; in nouveau_gem_ioctl_cpu_prep()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 572 long lret; in vmw_user_dmabuf_synccpu_grab() local 577 lret = reservation_object_wait_timeout_rcu(bo->resv, true, true, MAX_SCHEDULE_TIMEOUT); in vmw_user_dmabuf_synccpu_grab() 578 if (!lret) in vmw_user_dmabuf_synccpu_grab() 580 else if (lret < 0) in vmw_user_dmabuf_synccpu_grab() 581 return lret; in vmw_user_dmabuf_synccpu_grab()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 493 long lret; in ttm_bo_cleanup_refs_and_unlock() local 497 lret = reservation_object_wait_timeout_rcu(bo->resv, in ttm_bo_cleanup_refs_and_unlock() 502 if (lret < 0) in ttm_bo_cleanup_refs_and_unlock() 503 return lret; in ttm_bo_cleanup_refs_and_unlock() 504 else if (lret == 0) in ttm_bo_cleanup_refs_and_unlock()
|
/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 1305 enum drm_connector_status lret; in radeon_dvi_detect() local 1308 lret = encoder_funcs->detect(encoder, connector); in radeon_dvi_detect() 1309 DRM_DEBUG_KMS("load_detect %x returned: %x\n",encoder->encoder_type,lret); in radeon_dvi_detect() 1310 if (lret == connector_status_connected) in radeon_dvi_detect()
|