Home
last modified time | relevance | path

Searched refs:doorbell_ida (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c296 r = ida_simple_get(&kfd->doorbell_ida, 1, in kfd_alloc_process_doorbells()
316 ida_simple_remove(&kfd->doorbell_ida, doorbell_index); in kfd_free_process_doorbells()
Dkfd_device.c443 ida_init(&kfd->doorbell_ida); in kgd2kfd_probe()
691 ida_destroy(&kfd->doorbell_ida); in kgd2kfd_device_exit()
Dkfd_priv.h344 struct ida doorbell_ida; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mes.c42 int r = ida_simple_get(&adev->mes.doorbell_ida, 2, in amdgpu_mes_alloc_process_doorbells()
55 ida_simple_remove(&adev->mes.doorbell_ida, doorbell_index); in amdgpu_mes_free_process_doorbells()
162 ida_init(&adev->mes.doorbell_ida); in amdgpu_mes_init()
241 ida_destroy(&adev->mes.doorbell_ida); in amdgpu_mes_init()
255 ida_destroy(&adev->mes.doorbell_ida); in amdgpu_mes_fini()
Damdgpu_mes.h71 struct ida doorbell_ida; member