Home
last modified time | relevance | path

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

/drivers/isdn/capi/
Dcapi.c120 unsigned userflags; member
299 if (cdev->userflags & CAPIFLAG_HIGHJACKING) in capincci_alloc_minor()
877 unsigned userflags; in capi_ioctl() local
879 if (copy_from_user(&userflags, argp, sizeof(userflags))) in capi_ioctl()
884 cdev->userflags |= userflags; in capi_ioctl()
886 cdev->userflags &= ~userflags; in capi_ioctl()
891 if (copy_to_user(argp, &cdev->userflags, in capi_ioctl()
892 sizeof(cdev->userflags))) in capi_ioctl()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c426 uint32_t userflags; member
438 int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_pin_userptr()
445 if (gtt->userflags & RADEON_GEM_USERPTR_ANONONLY) { in radeon_ttm_tt_pin_userptr()
498 int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_unpin_userptr()
511 if (!(gtt->userflags & RADEON_GEM_USERPTR_READONLY)) in radeon_ttm_tt_unpin_userptr()
712 gtt->userflags = flags; in radeon_ttm_tt_set_userptr()
794 return !!(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_is_readonly()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c819 uint32_t userflags; member
884 if (unlikely((gtt->userflags & AMDGPU_GEM_USERPTR_ANONONLY) && in amdgpu_ttm_tt_get_user_pages()
995 int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_pin_userptr()
1032 int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_unpin_userptr()
1439 gtt->userflags = flags; in amdgpu_ttm_tt_set_userptr()
1512 return !!(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_is_readonly()