Home | History | Annotate | Download | only in amdgpu

Lines Matching refs:buf_handle

205 	amdgpu_bo_handle buf_handle;
214 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
223 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_MAP);
226 r = amdgpu_bo_cpu_map(buf_handle, &msg);
245 r = amdgpu_bo_cpu_unmap(buf_handle);
249 resources[num_resources++] = buf_handle;
260 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_UNMAP);
266 r = amdgpu_bo_free(buf_handle);
275 amdgpu_bo_handle buf_handle;
292 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
301 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0,
305 r = amdgpu_bo_cpu_map(buf_handle, (void **)&ptr);
349 resources[num_resources++] = buf_handle;
399 r = amdgpu_bo_cpu_unmap(buf_handle);
402 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP);
408 r = amdgpu_bo_free(buf_handle);
415 amdgpu_bo_handle buf_handle;
424 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
433 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0,
437 r = amdgpu_bo_cpu_map(buf_handle, &msg);
444 r = amdgpu_bo_cpu_unmap(buf_handle);
448 resources[num_resources++] = buf_handle;
459 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP);
465 r = amdgpu_bo_free(buf_handle);