/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager.c | 58 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()
|
D | kfd_kernel_queue.c | 90 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()
|
D | kfd_mqd_manager_v9.c | 115 (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()
|
D | kfd_packet_manager.c | 109 *(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()
|
D | kfd_mqd_manager_cik.c | 94 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()
|
D | kfd_mqd_manager_v10.c | 94 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()
|
D | kfd_dbgdev.c | 122 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()
|
D | kfd_mqd_manager_vi.c | 97 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()
|
D | kfd_device.c | 1151 (*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()
|
D | kfd_priv.h | 212 uint32_t *cpu_ptr; member
|
D | kfd_device_queue_manager.c | 1184 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/ |
D | lan743x_main.c | 1758 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/ |
D | amdgpu_sa.c | 67 &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()
|
D | amdgpu_amdkfd.c | 243 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()
|
D | amdgpu_object.h | 314 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
|
D | amdgpu_amdkfd.h | 185 void **cpu_ptr, bool mqd_gfx9);
|
D | amdgpu.h | 400 void *cpu_ptr; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_object.h | 185 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
|
D | radeon_sa.c | 118 r = radeon_bo_kmap(sa_manager->bo, &sa_manager->cpu_ptr); in radeon_sa_bo_manager_start()
|
D | radeon.h | 555 void *cpu_ptr; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 147 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()
|