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()
162 irqd = &aplic->irqs[irq]; in aplic_read_enabled()
178 irqd = &aplic->irqs[irq]; in aplic_write_enabled()
196 irqd = &aplic->irqs[irq]; in aplic_read_input()
231 irqd = &aplic->irqs[irq]; in aplic_update_irq_range()
260 irqd = &aplic->irqs[source]; in kvm_riscv_aia_aplic_inject()
562 /* Setup APLIC IRQs */ in kvm_riscv_aia_aplic_init()
565 aplic->irqs = kcalloc(aplic->nr_irqs, in kvm_riscv_aia_aplic_init()
566 sizeof(*aplic->irqs), GFP_KERNEL); in kvm_riscv_aia_aplic_init()
567 if (!aplic->irqs) { in kvm_riscv_aia_aplic_init()
572 raw_spin_lock_init(&aplic->irqs[i].lock); in kvm_riscv_aia_aplic_init()
597 kfree(aplic->irqs); in kvm_riscv_aia_aplic_init()
615 kfree(aplic->irqs); in kvm_riscv_aia_aplic_cleanup()