Lines Matching defs:aplic
29 struct aplic { struct
37 struct aplic_irq *irqs; argument
40 static u32 aplic_read_sourcecfg(struct aplic *aplic, u32 irq) in aplic_read_sourcecfg()
57 static void aplic_write_sourcecfg(struct aplic *aplic, u32 irq, u32 val) in aplic_write_sourcecfg()
76 static u32 aplic_read_target(struct aplic *aplic, u32 irq) in aplic_read_target()
93 static void aplic_write_target(struct aplic *aplic, u32 irq, u32 val) in aplic_write_target()
111 static bool aplic_read_pending(struct aplic *aplic, u32 irq) in aplic_read_pending()
128 static void aplic_write_pending(struct aplic *aplic, u32 irq, bool pending) in aplic_write_pending()
164 static bool aplic_read_enabled(struct aplic *aplic, u32 irq) in aplic_read_enabled()
181 static void aplic_write_enabled(struct aplic *aplic, u32 irq, bool enabled) in aplic_write_enabled()
198 static bool aplic_read_input(struct aplic *aplic, u32 irq) in aplic_read_input()
248 struct aplic *aplic = kvm->arch.aia.aplic_state; in aplic_update_irq_range() local
281 struct aplic *aplic = kvm->arch.aia.aplic_state; in kvm_riscv_aia_aplic_inject() local
335 static u32 aplic_read_input_word(struct aplic *aplic, u32 word) in aplic_read_input_word()
345 static u32 aplic_read_pending_word(struct aplic *aplic, u32 word) in aplic_read_pending_word()
355 static void aplic_write_pending_word(struct aplic *aplic, u32 word, in aplic_write_pending_word()
366 static u32 aplic_read_enabled_word(struct aplic *aplic, u32 word) in aplic_read_enabled_word()
376 static void aplic_write_enabled_word(struct aplic *aplic, u32 word, in aplic_write_enabled_word()
390 struct aplic *aplic = kvm->arch.aia.aplic_state; in aplic_mmio_read_offset() local
455 struct aplic *aplic = kvm->arch.aia.aplic_state; in aplic_mmio_write_offset() local
575 struct aplic *aplic; in kvm_riscv_aia_aplic_init() local
631 struct aplic *aplic = kvm->arch.aia.aplic_state; in kvm_riscv_aia_aplic_cleanup() local