Home
last modified time | relevance | path

Searched refs:cpu_ptr (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c58 mqd_mem_obj->cpu_ptr = dev->dqm->hiq_sdma_mqd.cpu_ptr; in allocate_hiq_mqd()
83 mqd_mem_obj->cpu_ptr = (uint32_t *)((uint64_t) in allocate_sdma_mqd()
84 dev->dqm->hiq_sdma_mqd.cpu_ptr + offset); in allocate_sdma_mqd()
Dkfd_kernel_queue.c90 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize()
100 kq->eop_kernel_addr = kq->eop_mem->cpu_ptr; in kq_initialize()
111 kq->rptr_kernel = kq->rptr_mem->cpu_ptr; in kq_initialize()
120 kq->wptr_kernel = kq->wptr_mem->cpu_ptr; in kq_initialize()
172 kq->fence_kernel_address = kq->fence_mem_obj->cpu_ptr; in kq_initialize()
Dkfd_mqd_manager_v9.c115 (void *)&(mqd_mem_obj->cpu_ptr), true); in allocate_mqd()
137 m = (struct v9_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd()
354 m = (struct v9_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma()
Dkfd_packet_manager.c109 *(void **)rl_buffer = pm->ib_buffer_obj->cpu_ptr; in pm_allocate_runlist_ib()
431 pm->ib_buffer_obj->cpu_ptr, pm->ib_size_bytes, false); in pm_debugfs_runlist()
Dkfd_mqd_manager_cik.c94 m = (struct cik_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd()
147 m = (struct cik_sdma_rlc_registers *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma()
Dkfd_mqd_manager_v10.c94 m = (struct v10_compute_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd()
299 m = (struct v10_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma()
Dkfd_dbgdev.c122 rm_state = (uint64_t *) mem_obj->cpu_ptr; in dbgdev_diq_submit_ib()
373 packet_buff_uint = mem_obj->cpu_ptr; in dbgdev_address_watch_diq()
644 packet_buff_uint = mem_obj->cpu_ptr; in dbgdev_wave_control_diq()
Dkfd_mqd_manager_vi.c97 m = (struct vi_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd()
324 m = (struct vi_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma()
Dkfd_device.c1151 (*mem_obj)->cpu_ptr = kfd_gtt_sa_calc_cpu_addr( in kfd_gtt_sa_allocate()
1157 (uint64_t *) (*mem_obj)->gpu_addr, (*mem_obj)->cpu_ptr); in kfd_gtt_sa_allocate()
Dkfd_priv.h212 uint32_t *cpu_ptr; member
Dkfd_device_queue_manager.c1184 dqm->fence_addr = (uint64_t *)dqm->fence_mem->cpu_ptr; in start_cpsch()
1830 (void *)&(mem_obj->cpu_ptr), false); in allocate_hiq_sdma_mqd()
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dlan743x_main.c1758 void *cpu_ptr = NULL; in lan743x_tx_ring_init() local
1781 cpu_ptr = dma_alloc_coherent(&tx->adapter->pdev->dev, in lan743x_tx_ring_init()
1783 if (!cpu_ptr) { in lan743x_tx_ring_init()
1789 tx->ring_cpu_ptr = (struct lan743x_tx_descriptor *)cpu_ptr; in lan743x_tx_ring_init()
1792 cpu_ptr = kcalloc(tx->ring_size, sizeof(*tx->buffer_info), GFP_KERNEL); in lan743x_tx_ring_init()
1793 if (!cpu_ptr) { in lan743x_tx_ring_init()
1797 tx->buffer_info = (struct lan743x_tx_buffer_info *)cpu_ptr; in lan743x_tx_ring_init()
1799 cpu_ptr = dma_alloc_coherent(&tx->adapter->pdev->dev, in lan743x_tx_ring_init()
1802 if (!cpu_ptr) { in lan743x_tx_ring_init()
1807 tx->head_cpu_ptr = cpu_ptr; in lan743x_tx_ring_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c67 &sa_manager->gpu_addr, &sa_manager->cpu_ptr); in amdgpu_sa_bo_manager_init()
73 memset(sa_manager->cpu_ptr, 0, sa_manager->size); in amdgpu_sa_bo_manager_init()
98 amdgpu_bo_free_kernel(&sa_manager->bo, &sa_manager->gpu_addr, &sa_manager->cpu_ptr); in amdgpu_sa_bo_manager_fini()
Damdgpu_amdkfd.c243 void **cpu_ptr, bool cp_mqd_gfx9) in amdgpu_amdkfd_alloc_gtt_mem() argument
297 *cpu_ptr = cpu_ptr_tmp; in amdgpu_amdkfd_alloc_gtt_mem()
Damdgpu_object.h314 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
Damdgpu_amdkfd.h185 void **cpu_ptr, bool mqd_gfx9);
Damdgpu.h400 void *cpu_ptr; member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_object.h185 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
Dradeon_sa.c118 r = radeon_bo_kmap(sa_manager->bo, &sa_manager->cpu_ptr); in radeon_sa_bo_manager_start()
Dradeon.h555 void *cpu_ptr; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c147 void *cpu_ptr = NULL; in pp_reserve_vram_for_smu() local
155 &cpu_ptr)) { in pp_reserve_vram_for_smu()
162 lower_32_bits((unsigned long)cpu_ptr), in pp_reserve_vram_for_smu()
163 upper_32_bits((unsigned long)cpu_ptr), in pp_reserve_vram_for_smu()