Searched refs:mem_obj (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1185 struct kfd_mem_obj **mem_obj) in kfd_gtt_sa_allocate() argument 1196 *mem_obj = kzalloc(sizeof(struct kfd_mem_obj), GFP_KERNEL); in kfd_gtt_sa_allocate() 1197 if (!(*mem_obj)) in kfd_gtt_sa_allocate() 1200 pr_debug("Allocated mem_obj = %p for size = %d\n", *mem_obj, size); in kfd_gtt_sa_allocate() 1219 (*mem_obj)->range_start = found; in kfd_gtt_sa_allocate() 1220 (*mem_obj)->range_end = found; in kfd_gtt_sa_allocate() 1221 (*mem_obj)->gpu_addr = kfd_gtt_sa_calc_gpu_addr( in kfd_gtt_sa_allocate() 1225 (*mem_obj)->cpu_ptr = kfd_gtt_sa_calc_cpu_addr( in kfd_gtt_sa_allocate() 1231 (uint64_t *) (*mem_obj)->gpu_addr, (*mem_obj)->cpu_ptr); in kfd_gtt_sa_allocate() 1243 (*mem_obj)->range_end = in kfd_gtt_sa_allocate() [all …]
|
D | kfd_priv.h | 1096 struct kfd_mem_obj **mem_obj); 1098 int kfd_gtt_sa_free(struct kfd_node *node, struct kfd_mem_obj *mem_obj);
|
D | kfd_device_queue_manager.c | 2467 struct kfd_mem_obj *mem_obj = &dqm->hiq_sdma_mqd; in allocate_hiq_sdma_mqd() local 2475 &(mem_obj->gtt_mem), &(mem_obj->gpu_addr), in allocate_hiq_sdma_mqd() 2476 (void *)&(mem_obj->cpu_ptr), false); in allocate_hiq_sdma_mqd()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.c | 267 void **mem_obj, uint64_t *gpu_addr, in amdgpu_amdkfd_alloc_gtt_mem() argument 320 *mem_obj = bo; in amdgpu_amdkfd_alloc_gtt_mem() 338 void amdgpu_amdkfd_free_gtt_mem(struct amdgpu_device *adev, void *mem_obj) in amdgpu_amdkfd_free_gtt_mem() argument 340 struct amdgpu_bo *bo = (struct amdgpu_bo *) mem_obj; in amdgpu_amdkfd_free_gtt_mem() 350 void **mem_obj) in amdgpu_amdkfd_alloc_gws() argument 374 *mem_obj = bo; in amdgpu_amdkfd_alloc_gws() 378 void amdgpu_amdkfd_free_gws(struct amdgpu_device *adev, void *mem_obj) in amdgpu_amdkfd_free_gws() argument 380 struct amdgpu_bo *bo = (struct amdgpu_bo *)mem_obj; in amdgpu_amdkfd_free_gws()
|
D | amdgpu_amdkfd.h | 222 void **mem_obj, uint64_t *gpu_addr, 224 void amdgpu_amdkfd_free_gtt_mem(struct amdgpu_device *adev, void *mem_obj); 226 void **mem_obj); 227 void amdgpu_amdkfd_free_gws(struct amdgpu_device *adev, void *mem_obj);
|
/linux-6.6.21/drivers/infiniband/sw/siw/ |
D | siw_mem.c | 89 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj, in siw_mr_add_mem() argument 100 mem->mem_obj = mem_obj; in siw_mr_add_mem() 146 if (!mem->is_mw && mem->mem_obj) { in siw_free_mem()
|
D | siw_mem.h | 22 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj,
|
D | siw_qp_rx.c | 488 if (mem_p->mem_obj == NULL) in siw_proc_send() 601 if (mem->mem_obj == NULL) in siw_proc_write() 853 if (mem_p->mem_obj == NULL) in siw_proc_rresp()
|
D | siw_qp_tx.c | 57 if (!mem->mem_obj) { in siw_try_1seg() 475 is_kva = mem->mem_obj == NULL ? 1 : 0; in siw_tx_hdt()
|
D | siw.h | 160 void *mem_obj; member
|