Lines Matching full:sources
41 * For GPU interrupt sources that may be driven by another driver, IRQ domain
143 * Disable all types of interrupts from all sources.
153 if (!adev->irq.client[i].sources) in amdgpu_irq_disable_all()
157 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_disable_all()
387 * turns off interrupts from all sources (all ASICs).
394 if (!adev->irq.client[i].sources) in amdgpu_irq_fini_sw()
398 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_fini_sw()
406 kfree(adev->irq.client[i].sources); in amdgpu_irq_fini_sw()
407 adev->irq.client[i].sources = NULL; in amdgpu_irq_fini_sw()
437 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_add_id()
438 adev->irq.client[client_id].sources = in amdgpu_irq_add_id()
442 if (!adev->irq.client[client_id].sources) in amdgpu_irq_add_id()
446 if (adev->irq.client[client_id].sources[src_id] != NULL) in amdgpu_irq_add_id()
460 adev->irq.client[client_id].sources[src_id] = source; in amdgpu_irq_add_id()
501 } else if (!adev->irq.client[client_id].sources) { in amdgpu_irq_dispatch()
505 } else if ((src = adev->irq.client[client_id].sources[src_id])) { in amdgpu_irq_dispatch()
573 * amdgpu_irq_gpu_reset_resume_helper - update interrupt states on all sources
577 * Updates state of all types of interrupts on all sources on resume after
588 if (!adev->irq.client[i].sources) in amdgpu_irq_gpu_reset_resume_helper()
592 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_gpu_reset_resume_helper()
742 * Creates an IRQ domain for GPU interrupt sources
765 * Removes the IRQ domain for GPU interrupt sources