Lines Matching refs:src_id
368 unsigned client_id, unsigned src_id, in amdgpu_irq_add_id() argument
374 if (src_id >= AMDGPU_MAX_IRQ_SRC_ID) in amdgpu_irq_add_id()
389 if (adev->irq.client[client_id].sources[src_id] != NULL) in amdgpu_irq_add_id()
403 adev->irq.client[client_id].sources[src_id] = source; in amdgpu_irq_add_id()
420 unsigned client_id, src_id; in amdgpu_irq_dispatch() local
432 src_id = entry.src_id; in amdgpu_irq_dispatch()
437 } else if (src_id >= AMDGPU_MAX_IRQ_SRC_ID) { in amdgpu_irq_dispatch()
438 DRM_DEBUG("Invalid src_id in IV: %d\n", src_id); in amdgpu_irq_dispatch()
441 adev->irq.virq[src_id]) { in amdgpu_irq_dispatch()
442 generic_handle_domain_irq(adev->irq.domain, src_id); in amdgpu_irq_dispatch()
446 client_id, src_id); in amdgpu_irq_dispatch()
448 } else if ((src = adev->irq.client[client_id].sources[src_id])) { in amdgpu_irq_dispatch()
456 DRM_DEBUG("Unhandled interrupt src_id: %d\n", src_id); in amdgpu_irq_dispatch()
732 unsigned amdgpu_irq_create_mapping(struct amdgpu_device *adev, unsigned src_id) in amdgpu_irq_create_mapping() argument
734 adev->irq.virq[src_id] = irq_create_mapping(adev->irq.domain, src_id); in amdgpu_irq_create_mapping()
736 return adev->irq.virq[src_id]; in amdgpu_irq_create_mapping()