Home
last modified time | relevance | path

Searched refs:num_dw (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/sound/soc/intel/avs/boards/
Di2s_test.c86 const int num_dw = 2; in avs_create_dapm_widgets() local
88 dw = devm_kcalloc(dev, num_dw, sizeof(*dw), GFP_KERNEL); in avs_create_dapm_widgets()
105 *num_widgets = num_dw; in avs_create_dapm_widgets()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c190 unsigned offset, num_pages, num_dw, num_bytes; in amdgpu_ttm_map_buffer() local
229 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_ttm_map_buffer()
232 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, in amdgpu_ttm_map_buffer()
237 src_addr = num_dw * 4; in amdgpu_ttm_map_buffer()
246 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_ttm_map_buffer()
252 cpu_addr = &job->ibs[0].ptr[num_dw]; in amdgpu_ttm_map_buffer()
1405 unsigned int num_dw; in amdgpu_ttm_access_memory_sdma() local
1420 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_ttm_access_memory_sdma()
1421 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4, AMDGPU_IB_POOL_DELAYED, &job); in amdgpu_ttm_access_memory_sdma()
1434 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_ttm_access_memory_sdma()
[all …]
Damdgpu_ih.c149 unsigned int num_dw) in amdgpu_ih_ring_write() argument
154 for (i = 0; i < num_dw; ++i) in amdgpu_ih_ring_write()
Damdgpu_irq.h115 unsigned int num_dw);
Damdgpu_ih.h101 unsigned int num_dw);
Damdgpu_irq.c536 unsigned int num_dw) in amdgpu_irq_delegate() argument
538 amdgpu_ih_ring_write(&adev->irq.ih_soft, entry->iv_entry, num_dw); in amdgpu_irq_delegate()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c55 unsigned int num_dw, num_bytes; in svm_migrate_gart_map() local
65 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in svm_migrate_gart_map()
68 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, in svm_migrate_gart_map()
73 src_addr = num_dw * 4; in svm_migrate_gart_map()
81 WARN_ON(job->ibs[0].length_dw > num_dw); in svm_migrate_gart_map()
89 cpu_addr = &job->ibs[0].ptr[num_dw]; in svm_migrate_gart_map()