/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager.c | 59 mqd_mem_obj->cpu_ptr = dev->dqm->hiq_sdma_mqd.cpu_ptr; in allocate_hiq_mqd() 84 mqd_mem_obj->cpu_ptr = (uint32_t *)((uint64_t) in allocate_sdma_mqd() 85 dev->dqm->hiq_sdma_mqd.cpu_ptr + offset); in allocate_sdma_mqd()
|
D | kfd_kernel_queue.c | 91 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize() 101 kq->eop_kernel_addr = kq->eop_mem->cpu_ptr; in kq_initialize() 112 kq->rptr_kernel = kq->rptr_mem->cpu_ptr; in kq_initialize() 121 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 | 117 (void *)&(mqd_mem_obj->cpu_ptr), true); in allocate_mqd() 139 m = (struct v9_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd() 333 m = (struct v9_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd() 375 m = (struct v9_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma() 436 m = (struct v9_sdma_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd_sdma()
|
D | kfd_mqd_manager_cik.c | 96 m = (struct cik_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd() 149 m = (struct cik_sdma_rlc_registers *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma() 277 m = (struct cik_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd() 315 m = (struct cik_sdma_rlc_registers *) mqd_mem_obj->cpu_ptr; in restore_mqd_sdma()
|
D | kfd_mqd_manager_v10.c | 96 m = (struct v10_compute_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd() 274 m = (struct v10_compute_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd() 312 m = (struct v10_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma() 374 m = (struct v10_sdma_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd_sdma()
|
D | kfd_mqd_manager_vi.c | 99 m = (struct vi_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd() 309 m = (struct vi_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd() 354 m = (struct vi_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma() 414 m = (struct vi_sdma_mqd *) mqd_mem_obj->cpu_ptr; in restore_mqd_sdma()
|
D | kfd_packet_manager.c | 110 *(void **)rl_buffer = pm->ib_buffer_obj->cpu_ptr; in pm_allocate_runlist_ib() 424 pm->ib_buffer_obj->cpu_ptr, pm->ib_size_bytes, false); in pm_debugfs_runlist()
|
D | kfd_mqd_manager_v11.c | 113 m = (struct v11_compute_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd() 312 m = (struct v11_sdma_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd_sdma()
|
D | kfd_device.c | 1026 (*mem_obj)->cpu_ptr = kfd_gtt_sa_calc_cpu_addr( in kfd_gtt_sa_allocate() 1032 (uint64_t *) (*mem_obj)->gpu_addr, (*mem_obj)->cpu_ptr); in kfd_gtt_sa_allocate()
|
D | kfd_priv.h | 243 uint32_t *cpu_ptr; member
|
D | kfd_device_queue_manager.c | 1510 dqm->fence_addr = (uint64_t *)dqm->fence_mem->cpu_ptr; in start_cpsch() 2254 (void *)&(mem_obj->cpu_ptr), false); in allocate_hiq_sdma_mqd()
|
/linux-6.1.9/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 | sdma_v6_0.c | 897 volatile uint32_t *cpu_ptr = NULL; in sdma_v6_0_ring_test_ring() local 906 cpu_ptr = amdgpu_mes_ctx_get_offs_cpu_addr(ring, offset); in sdma_v6_0_ring_test_ring() 907 *cpu_ptr = tmp; in sdma_v6_0_ring_test_ring() 936 tmp = le32_to_cpu(*cpu_ptr); in sdma_v6_0_ring_test_ring() 973 volatile uint32_t *cpu_ptr = NULL; in sdma_v6_0_ring_test_ib() local 987 cpu_ptr = amdgpu_mes_ctx_get_offs_cpu_addr(ring, offset); in sdma_v6_0_ring_test_ib() 988 *cpu_ptr = tmp; in sdma_v6_0_ring_test_ib() 1032 tmp = le32_to_cpu(*cpu_ptr); in sdma_v6_0_ring_test_ib()
|
D | sdma_v5_2.c | 895 volatile uint32_t *cpu_ptr = NULL; in sdma_v5_2_ring_test_ring() local 904 cpu_ptr = amdgpu_mes_ctx_get_offs_cpu_addr(ring, offset); in sdma_v5_2_ring_test_ring() 905 *cpu_ptr = tmp; in sdma_v5_2_ring_test_ring() 934 tmp = le32_to_cpu(*cpu_ptr); in sdma_v5_2_ring_test_ring() 972 volatile uint32_t *cpu_ptr = NULL; in sdma_v5_2_ring_test_ib() local 986 cpu_ptr = amdgpu_mes_ctx_get_offs_cpu_addr(ring, offset); in sdma_v5_2_ring_test_ib() 987 *cpu_ptr = tmp; in sdma_v5_2_ring_test_ib() 1031 tmp = le32_to_cpu(*cpu_ptr); in sdma_v5_2_ring_test_ib()
|
D | sdma_v5_0.c | 1024 volatile uint32_t *cpu_ptr = NULL; in sdma_v5_0_ring_test_ring() local 1033 cpu_ptr = amdgpu_mes_ctx_get_offs_cpu_addr(ring, offset); in sdma_v5_0_ring_test_ring() 1034 *cpu_ptr = tmp; in sdma_v5_0_ring_test_ring() 1063 tmp = le32_to_cpu(*cpu_ptr); in sdma_v5_0_ring_test_ring() 1101 volatile uint32_t *cpu_ptr = NULL; in sdma_v5_0_ring_test_ib() local 1115 cpu_ptr = amdgpu_mes_ctx_get_offs_cpu_addr(ring, offset); in sdma_v5_0_ring_test_ib() 1116 *cpu_ptr = tmp; in sdma_v5_0_ring_test_ib() 1161 tmp = le32_to_cpu(*cpu_ptr); in sdma_v5_0_ring_test_ib()
|
D | amdgpu_amdkfd.c | 277 void **cpu_ptr, bool cp_mqd_gfx9) in amdgpu_amdkfd_alloc_gtt_mem() argument 331 *cpu_ptr = cpu_ptr_tmp; in amdgpu_amdkfd_alloc_gtt_mem()
|
D | amdgpu_object.h | 347 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
|
D | amdgpu_amdkfd.h | 212 void **cpu_ptr, bool mqd_gfx9);
|
D | amdgpu.h | 436 void *cpu_ptr; member
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 2226 void *cpu_ptr = NULL; in lan743x_tx_ring_init() local 2246 cpu_ptr = dma_alloc_coherent(&tx->adapter->pdev->dev, in lan743x_tx_ring_init() 2248 if (!cpu_ptr) { in lan743x_tx_ring_init() 2254 tx->ring_cpu_ptr = (struct lan743x_tx_descriptor *)cpu_ptr; in lan743x_tx_ring_init() 2257 cpu_ptr = kcalloc(tx->ring_size, sizeof(*tx->buffer_info), GFP_KERNEL); in lan743x_tx_ring_init() 2258 if (!cpu_ptr) { in lan743x_tx_ring_init() 2262 tx->buffer_info = (struct lan743x_tx_buffer_info *)cpu_ptr; in lan743x_tx_ring_init() 2264 cpu_ptr = dma_alloc_coherent(&tx->adapter->pdev->dev, in lan743x_tx_ring_init() 2267 if (!cpu_ptr) { in lan743x_tx_ring_init() 2272 tx->head_cpu_ptr = cpu_ptr; in lan743x_tx_ring_init() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 919 &da->gpu_addr, &da->cpu_ptr); in dm_helpers_allocate_gpu_mem() 931 return da->cpu_ptr; in dm_helpers_allocate_gpu_mem() 944 if (pvMem == da->cpu_ptr) { in dm_helpers_free_gpu_mem() 945 amdgpu_bo_free_kernel(&da->bo, &da->gpu_addr, &da->cpu_ptr); in dm_helpers_free_gpu_mem()
|
D | amdgpu_dm.h | 171 void *cpu_ptr; member
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_object.h | 180 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()
|
/linux-6.1.9/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()
|