Home
last modified time | relevance | path

Searched refs:hw_intr (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_irq.c43 if (!dpu_kms->hw_intr || in dpu_core_irq_read()
44 !dpu_kms->hw_intr->ops.get_interrupt_status) in dpu_core_irq_read()
53 return dpu_kms->hw_intr->ops.get_interrupt_status(dpu_kms->hw_intr, in dpu_core_irq_read()
75 if (irq_idx < 0 || irq_idx >= dpu_kms->hw_intr->total_irqs) { in dpu_core_irq_register_callback()
82 irq_flags = dpu_kms->hw_intr->ops.lock(dpu_kms->hw_intr); in dpu_core_irq_register_callback()
89 int ret = dpu_kms->hw_intr->ops.enable_irq_locked( in dpu_core_irq_register_callback()
90 dpu_kms->hw_intr, in dpu_core_irq_register_callback()
96 dpu_kms->hw_intr->ops.unlock(dpu_kms->hw_intr, irq_flags); in dpu_core_irq_register_callback()
119 if (irq_idx < 0 || irq_idx >= dpu_kms->hw_intr->total_irqs) { in dpu_core_irq_unregister_callback()
126 irq_flags = dpu_kms->hw_intr->ops.lock(dpu_kms->hw_intr); in dpu_core_irq_unregister_callback()
[all …]
Ddpu_kms.c720 if (dpu_kms->hw_intr) in _dpu_kms_hw_destroy()
721 dpu_hw_intr_destroy(dpu_kms->hw_intr); in _dpu_kms_hw_destroy()
722 dpu_kms->hw_intr = NULL; in _dpu_kms_hw_destroy()
1069 dpu_kms->hw_intr = dpu_hw_intr_init(dpu_kms->mmio, dpu_kms->catalog); in dpu_kms_hw_init()
1070 if (IS_ERR_OR_NULL(dpu_kms->hw_intr)) { in dpu_kms_hw_init()
1071 rc = PTR_ERR(dpu_kms->hw_intr); in dpu_kms_hw_init()
1073 dpu_kms->hw_intr = NULL; in dpu_kms_hw_init()
Ddpu_kms.h107 struct dpu_hw_intr *hw_intr; member