Lines Matching refs:userptr
642 uint64_t userptr; member
663 unsigned long start = gtt->userptr; in amdgpu_ttm_tt_get_user_pages()
718 if (!gtt || !gtt->userptr || !range) in amdgpu_ttm_tt_get_user_pages_done()
722 gtt->userptr, ttm->num_pages); in amdgpu_ttm_tt_get_user_pages_done()
863 if (gtt->userptr) { in amdgpu_ttm_backend_bind()
994 if (gtt->userptr) { in amdgpu_ttm_backend_unbind()
1077 if (gtt->userptr) { in amdgpu_ttm_tt_populate()
1112 if (gtt->userptr) { in amdgpu_ttm_tt_unpopulate()
1145 *user_addr = gtt->userptr; in amdgpu_ttm_tt_get_userptr()
1176 gtt->userptr = addr; in amdgpu_ttm_tt_set_userptr()
1209 unsigned long end, unsigned long *userptr) in amdgpu_ttm_tt_affect_userptr() argument
1214 if (gtt == NULL || !gtt->userptr) in amdgpu_ttm_tt_affect_userptr()
1221 if (gtt->userptr > end || gtt->userptr + size <= start) in amdgpu_ttm_tt_affect_userptr()
1224 if (userptr) in amdgpu_ttm_tt_affect_userptr()
1225 *userptr = gtt->userptr; in amdgpu_ttm_tt_affect_userptr()
1236 if (gtt == NULL || !gtt->userptr) in amdgpu_ttm_tt_is_userptr()