Home
last modified time | relevance | path

Searched refs:userflags (Results 1 – 3 of 3) sorted by relevance

/drivers/isdn/capi/
Dcapi.c121 unsigned userflags; member
300 if (cdev->userflags & CAPIFLAG_HIGHJACKING) in capincci_alloc_minor()
878 unsigned userflags; in capi_ioctl() local
880 if (copy_from_user(&userflags, argp, sizeof(userflags))) in capi_ioctl()
885 cdev->userflags |= userflags; in capi_ioctl()
887 cdev->userflags &= ~userflags; in capi_ioctl()
892 if (copy_to_user(argp, &cdev->userflags, in capi_ioctl()
893 sizeof(cdev->userflags))) in capi_ioctl()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c333 uint32_t userflags; member
345 int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_pin_userptr()
352 if (gtt->userflags & RADEON_GEM_USERPTR_ANONONLY) { in radeon_ttm_tt_pin_userptr()
405 int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_unpin_userptr()
418 if (!(gtt->userflags & RADEON_GEM_USERPTR_READONLY)) in radeon_ttm_tt_unpin_userptr()
600 gtt->userflags = flags; in radeon_ttm_tt_set_userptr()
682 return !!(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_is_readonly()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c644 uint32_t userflags; member
688 if (unlikely((gtt->userflags & AMDGPU_GEM_USERPTR_ANONONLY) && in amdgpu_ttm_tt_get_user_pages()
763 int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_pin_userptr()
800 int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_unpin_userptr()
1194 gtt->userflags = flags; in amdgpu_ttm_tt_set_userptr()
1267 return !!(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_is_readonly()