Lines Matching full:irqs
37 struct aplic_irq *irqs; member
48 irqd = &aplic->irqs[irq]; in aplic_read_sourcecfg()
64 irqd = &aplic->irqs[irq]; in aplic_write_sourcecfg()
84 irqd = &aplic->irqs[irq]; in aplic_read_target()
100 irqd = &aplic->irqs[irq]; in aplic_write_target()
119 irqd = &aplic->irqs[irq]; in aplic_read_pending()
135 irqd = &aplic->irqs[irq]; in aplic_write_pending()
173 irqd = &aplic->irqs[irq]; in aplic_read_enabled()
189 irqd = &aplic->irqs[irq]; in aplic_write_enabled()
208 irqd = &aplic->irqs[irq]; in aplic_read_input()
257 irqd = &aplic->irqs[irq]; in aplic_update_irq_range()
286 irqd = &aplic->irqs[source]; in kvm_riscv_aia_aplic_inject()
588 /* Setup APLIC IRQs */ in kvm_riscv_aia_aplic_init()
591 aplic->irqs = kcalloc(aplic->nr_irqs, in kvm_riscv_aia_aplic_init()
592 sizeof(*aplic->irqs), GFP_KERNEL); in kvm_riscv_aia_aplic_init()
593 if (!aplic->irqs) { in kvm_riscv_aia_aplic_init()
598 raw_spin_lock_init(&aplic->irqs[i].lock); in kvm_riscv_aia_aplic_init()
623 kfree(aplic->irqs); in kvm_riscv_aia_aplic_init()
641 kfree(aplic->irqs); in kvm_riscv_aia_aplic_cleanup()